How to install and configure grunt on mac Osx
This post is intended to assist folks who are trying to install and work with grunt on mac osx
Install Node.js and npm with Homebrew First, install Homebrew by typing in the following command ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Then, type in brew update to ensure your Homebrew is up to date.
brew update Run
brew doctor to make sure your system is all good.
Follow any other recommendations from brew doctor.
Raphael-js-tutorial-part-II
This is second part of the tutorial about getting started with Raphael.js. To see this first part go here.
Writing Text with Raphael Some code first ;)
var canvas = Raphael(0, 0, 250, 250 ); var t1 = canvas.text(50, 50, "Some text Goes here"); var t2 = canvas.text(60,90,"First line \n Second Line \n Third line"); var t3 = canvas.text(214, 140, "1079").attr({"text-anchor":"middle",'font-size':16,"font-family":"arial","fill":"#fff"}); In the above examples canvas.text will create a simple text element at 50,50.
Signing android release apk from the command line (via ant)
This post is probably out too late ,as almost all IDE’s these days (which support android development) ,probably have an Integrated release signing or debug signing utility/wizard built in, but if somebody is using an old IDE or perhaps want to integrate release in a CI(continues integration) environment , this tutorial might come in handy.
Basically one has to sign an apk either with a debug key (which is generally present in your .
Raphael JS Tutorial - Part I
Raphael.JS is a SVG/VML library which helps you to create quick vector shapes and images. Its very small and compact (only 86kb),easy to use,well documented and works in all browsers and yes even IE. Here is a list of all major browsers this library works on: Chrome 5.0+ Firefox 3.0+, Safari 3.0+, Opera 9.5+ and Internet Explorer 6.0+
,finally its distributed under MIT license. In this tutorial ,I intend to introduce basics of this library and help you get started.
Avoid console errors in browsers that lack a console
I love JavaScript and code a lot in it .Since I code, I also encounter problems and bugs from time to time and therefore need a Debugger and a debug mechanism to view whats going on.
In good old days when I learned this language, I used JavaScript’s inbuilt alert mechanism to view the value of a variable or a property of an object. This was a terrible mechanism, calling alert was blocking, one had to press OK to continue and if you had to take a look inside an array then well it was emotionally an overwhelming task is all I would say here.