This a visualization of the source code commit of Cloud 9 online IDE.
Virtual memory exhausted: Cannot allocate memory
I solved the problem of “virtual memory exhausted: Cannot allocate memory” by changing the user’s limits.
I ran
ulimit -n
and it is current showing as 1024. I want to increase my file limit from 1024 to 4084. So, i tried running the following command
sudo ulimit -n 2048
Installing Node.js from source
sudo apt-get install git-core curl build-essential openssl libssl-dev git clone https://github.com/joyent/node.git cd node ./configure make make install node -v v0.5.0-pre
Changing GIMP UI to english
In windows, you should be able to change the languge of gtk+ to english by adding a new environment variable ‘lang’ with a value of ‘c’.
( right-click on My Computer -> properties -> Advanced -> Environment Variables )
Counting all files in a directory (and subdirectories)
I found a useful CLI command to count the number of files in my directory.
ls -Ra1 /usr|grep -v /|grep -vx ""|grep -vx ".*"|wc -l
Update EEE PC BIOS
Tu update or flash you bios follow these steps
- Get the latest bios for your model from http://support.asus.com/download/download.aspx
- Rename the file to 1005P.ROM
- Format your USB storage device fat16.
- Put 1005P.ROM on the USB storage device.
- Shut down the netbook.
- Turn the netbook back on.
- Hold down alt, and press f2 repeatedly.
- The ASUS ezflash utility should come up. Allow it to do its work.
SVN undo the add operation
If you use SVN to commit your work and get the error “is scheduled for addition, but is missing” when committing to the repository, then problem is that the file is scheduled for the add operation but somehow it has been deleted and SVN couldn’t send it to the repository because the file no longer exist.
To make the commit works, all you need to do is undo the add operation
svn revert myfile
Hope this helps!
10 Dead Simple Gmail Tips, Tricks & Shortcuts
I liked very much a post on mashable dealing with Gmail tips.
I liked this tip:
Add Emphasis in Chat
Gmail’s instant messaging Chat function is one of the more basic options around, but there are a few bits of formatting you can use to add nuance to your online communication.
To bold a word, asterisk it like this: *Mashable*
To add italics, just underscore before and after the word like this: _Mashable_
And to strike a word through, add hyphens before and after like so: -Mashable-
and this tip:
Create Variations of Your E-mail Address
Although technically you only have one Gmail address, you can create as many variations of it as you wish to help manage your incoming mail.
You can do this by adding a word after your name with a plus sign (if the site you’re entering the address into allows it). So, yourname+newsletters@gmail.com, yourname+shopping@gmail.com, and so on.
This alias system then comes into its own if you also set up filters to direct those messages where you want them. For example, they could skip the inbox and be archived, have a label applied, be forwarded to another account, and so on.
To set up a filter, go to “Settings,” hit the “Filters” tab, select “Create New Filter” and follow the simple steps from there.
The original post can be found here.
