How to Change the Computer Name in Ubuntu

1. Open a terminal window. 2. At the input prompt you will see this structure: “` nicholas@computer-name:~$ _ “` 3. So you have to edit the hostname file: “` sudo nano /etc/hostname “` 4. When prompted, enter the administrator password and hit Enter. 5. The hostname file will open, showing the current computer name. Replace the…

Read more...

Unable to install Homebrew

Unable to install Homebrew with this? ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)” What’s happened -e:70: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 ==> This script will install: /usr/local/bin/brew /usr/local/Library/… /usr/local/share/man/man1/brew.1 Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew Password: ==> Downloading and installing Homebrew… remote: Counting objects:…

Read more...

Caffeine on Mac and Ubuntu

Caffeine has been a very useful app to instantly disable or enable the screensaver on mac. At least for me, I am using multiple computers in office and all of them except the one I am using will usually get idle. Getting into screensaver, however, is bad sometimes especially I was reading from that screen…

Read more...

Ssh with password saved

Ssh is a very convenient way to remotely command or control other devices. We use ssh to push commits to git server, to access remote server, and even to manipulate the content of our iphones and ipads. However it’s usually distributing to type your long and elusive password every time. Therefore here I would like…

Read more...

Mbox Mail for Mac works on Lion with Thurderbird

Fix Mbox Mail for Mac with Apple Mail 5, please see this post: Fix Mbox Mail for Mac on Lion, works Apple Mail 5 After the new Mac OSX Lion released, there has been a number of people finding out the Mbox Mail for Mac doesn’t work at all. But the fact is, it actually…

Read more...

Mbox Mail for Mac fixing on progress

The news is that I have successfully make Mail 5 to work with Mbox Mail for Mac. I can receive and send email with it. But it involves some tricky authentication which needs manual username and password input. I might need to do some more investigation. =]

Read more...

Ruby on Mac OSX

In Mac, Ruby is preinstalled. You can open Terminal and input the followings to view the version of Ruby installed in your Mac [sourcecode language=”bash”] ruby -v [/sourcecode] Update Ruby. You might want to update your Ruby, however there is no installer for Ruby like Windows. Instead, we can use MacPort. Step 1. Install MacPort. You can download from…

Read more...