RSS
 

Cloud9 source activity visualization 29 April 2009

01 May

This a visualization of the source code commit of Cloud 9 online IDE.

 

Virtual memory exhausted: Cannot allocate memory

28 Apr

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

 

 
No Comments

Posted in Linux

 

Installing Node.js from source

28 Apr
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
 
No Comments

Posted in Linux

 

Changing GIMP UI to english

27 Apr

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 )

 
No Comments

Posted in windows

 

Recursively chmod directories or files only

13 Jan

find . -type d -exec chmod 755 {} ;

This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only.

Similarly, the following will chmod all files only (and ignore the directories):

find . -type f -exec chmod 644 {} ;

 

 

Counting all files in a directory (and subdirectories)

16 Dec

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
 
No Comments

Posted in Ubuntu

 

Update EEE PC BIOS

07 Oct

Tu update or flash you bios follow these steps

  1. Get the latest bios for your model from http://support.asus.com/download/download.aspx
  2. Rename the file to 1005P.ROM
  3. Format your USB storage device fat16.
  4. Put 1005P.ROM on the USB storage device.
  5. Shut down the netbook.
  6. Turn the netbook back on.
  7. Hold down alt, and press f2 repeatedly.
  8. The ASUS ezflash utility should come up. Allow it to do its work.
 
No Comments

Posted in HowTo, Ubuntu

 

SVN undo the add operation

28 Sep

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!

 
1 Comment

Posted in Computer

 

10 Dead Simple Gmail Tips, Tricks & Shortcuts

25 Sep

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.

 

Ubuntu 10.10 Maverick Meerkat getting ready

15 Sep

The latest version of Ubuntu is getting ready. It is named Maverick Meerkat.


The next version of Ubuntu is coming soon

 
No Comments

Posted in Ubuntu