learning-ruby-expert-advice-for-advanced-developers-2b3293f58e

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:…

Terminal-1

Save Terminal from Process Completed in Mac OSX

What’s happening One day, when I opened up terminal as usual, it showed [Process completed] and just terminated. I could not type any thing, run any scripts and work on my project. Even worse, this made me unable to install programs into my computer because many installations need to run shell scripts. Okay, I searched…

caffeine

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…

Detecting browsers of iPhone, iPod, iPad, Android and BlackBerry with JavaScript and PHP

To begin with, we need to understand that in the HTTP protocol, browser send its identity called user agent to the server to request the wanted webpage. Every browser has its only unique user agent value, and therefore we can check that value to identify the user browser. So, first we have to take a…

Show completions and quick help tips in Xcode

I know it is troublesome, tedious, or just like hell. Apple has his own way to do a common task. Very often, we need to use the autocompletion in IDE to assist coding so we do not need to memorize the billions of function names. In Eclipse, everything is automatic. A list of function names linked together…

Merge 2 unrelated branches in Bazaar

To merge 2 entirely unrelated branches or projects, we need to specify 0 as first revision in revision range. Turn on terminal (in Mac) or cmd (in Windows) and get to your project folder. Merge with the following shell script. merge -r0..-1 means to merge from revision 0 to the latest revision. [sourcecode language=”shell”] bzr…

Mbox Mail for Mac on Lion Fix, works with Apple Mail 5

Step 1: Download my fix file here: Download Link (Link Updated) Step 2: Turn OFF Mbox Mail for Mac. (If you don’t have the menu bar icon, go to “System Preference”) Step 3: Open the downloaded file and drag “mBoxMail” to “mBoxMail Folder” Step 4: Turn ON Mbox Mail for Mac

Mbox Mail for Mac works on Lion with Apple Mail 5

After days struggling with the new Mail 5, there has been a breakthrough. I finally fix the problem and Apple Mail 5 is now working with the Mbox Mail for Mac. As there is still some more work to do to pack the programs, as a support i hope somebody could make me some donation.…

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…

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. =]