Monthly Archives: January 2015
I’ve discovered the hidden treasure at superuser to change the permission of directories or files recursively in a folder. Not quite simple, but straight. To recursively give directories read & execute privileges:
Now, say you don’t know how to create Gruntfile.js manually just like I was. You’re desperately want to use Compass (grunt-contrib-compass) and Watch (grunt-contrib-watch) to develop your project. First, you have to install it in your project folder as node_modules: $ npm install grunt-contrib-compass grunt-contrib-watch That will install the Compass and Watch into node_modules directory […]
Some of you might be very disturbed by a question of how to know Node.js packages which globally installed in your Ubuntu 14.04 LTS. Such a terrible nightmare. But, the nightmare should be vanished using this simple one liner: $ npm ls -g –depth=0 That line would be similar to: $ ls /usr/lib/node_modules
How to refer NPM Local to NPM Global? If you don’t want to install the packages locally because it’s wasting hardisk space you can use the packages which have globally installed. For example, you install the sass package globally: $ sudo npm install -g grunt-contrib-sass You don’t want to do the same for your project, […]
Installing Node.js is not as difficult as a year ago. You can simply install it through your Terminal. First get the installer. And then install it with apt-get.
It was suck. I’ve spent hours to find this solution. If you want to change your Ubuntu 14.04 LTS text editor by changing /usr/share/applications/defaults.list and then you may find it doesn’t work, you can try edit the ~/.local/share/applications/mimeapps.list.