Entries Tagged 'OS X' ↓
August 5th, 2012 — Google, OS X
You probably have noticed that many programs are not retina ready. So here’s what to do to get the most out of it for the time being.
- Chrome, the latest version 21 is Retina ready so go and download the latest Chrome version (https://www.google.com/chrome/).
- Twitter client from Twitter itself is still not retina, Tweetbot (http://tapbots.com/tweetbot_mac/) still in alpha but very stable and retina enabled
- For Firefox follow this Japanese tutorial (http://translate.google.com/translate?hl=nl&sl=ja&tl=en&u=http%3A%2F%2Fhitoriblog.com%2F%3Fp%3D9023&anno=2 ).
- For Eclipse and Eclipse based apps like Motodev, Aptana or Coldfusion Builder check the accepted answer for this question (http://apple.stackexchange.com/questions/53717/how-does-eclipse-work-on-new-retina-macbook-pros).
- Some apps are just launched in low resolution, you can change that by right-clicking the app and click “Get Info” & deselecting the check box “Open in Low Resolution“. Retinalizer, –>(http://hitoriblog.com/wp-content/uploads/2012/07/Retinalizer-0.1.zip) helps you to automate this.
- Sublime Text 2 –> The latest nightly is compatible with retina.
- Pages, Numbers & Keynote (Apple has an update out that fixes this, just check software update)
- Dropbox –> (http://dl-web.dropbox.com/u/17/Dropbox%201.5.10.dmg) this experimental build is retina compatible, note this is an experimental build.
- Lastpass for Chrome has an updated version that works on retina screens –> (https://lastpass.com)
- VLC –> (version 2.0.2 supports retina)
July 6th, 2012 — Android, OS X
If you are the lucky owner of a new MacBook Pro Retina chances are you are faced with this problem: http://oi49.tinypic.com/2im2wys.jpg (http://code.google.com/p/android/issues/detail?id=33383)
Now most post related to this problem recommend you install some software so you can use the 1400×900 resolution WITHOUT HiDPI however that also means you lose some of the benefits of the retina display.
So while looking for alternatives I came across Buildroid for VirtualBox: http://www.buildroid.org/blog/?page_id=121.
This solution is awesome, it works super fast, I mean really lightning fast as fast as the actual tablet in my case.
While most is explained rather well on the above page for Buildroid, there are some things specific to do for the Mac version.
For example the blogpost tells us to unlock the screen on the virtual android tablet via the Home key. To do this on a Mac I discovered you can use the ESC key + mouse to unlock and to go back you can just use the ESC key.
Another thing that took me a while was to get the networking part done. In the VirtualBox Preferences set a vboxnet0 up, see image below.

In the settings for the virtual machine under network setup the following:

And this one for the internet connection of the virtual tablet itself:

On the tablet you ‘ll notice an android icon with a cook’s hat click on that to get the ip-address and to set your preferred settings. For me this works best.

Then in the Terminal use “adb connect IP ADDRESS“. (see screenshot above to get the ipaddress)
What’s left is to set up an android remote device at that IPADDRESS in eclipse or motodev, should show up automatically after doing adb connect IP ADDRESS

And you are done.
April 4th, 2012 — OS X, Uncategorized
After my last blog post on Fetch & Sublime, I thought let’s give another nice hint on how to get the most out of Sublime Text 2.
Sometimes you work on Windows, sometimes on Mac or Linux or just on another computer but you still want to use the settings, themes and set of plugins everywhere. One of the easiest ways to do this is to use your DropBox account.
DropBox is basically just a regular folder on you computer that syncs to the cloud. The first 2 GB are free so if you use it to store documents you’re fine with the 2 GB. You can however buy more space if required. By inviting friends you can increase your Dropbox size (friend invite link). Trust me it’s worth it, once you have Dropbox you wonder how you could live without it all these years.
The nice thing about Dropbox is it has versioning build right in, so even if you accidentally delete a file you can get it back. Not only that you can set up shared folders to share documents between 2 or more people and even public folders to share with any internet user.
Ok but let’s go back to Sublime Text 2.
One thing you could do is store your projects on your DropBox account that way all your projects are synced across all your devices. But you could also store your settings, themes and plugins on DropBox.
How does it work?
On OS X
- First close Sublime Text 2
- In your Dropbox folder (usually it’s at “
~/Dropbox/"), add a folder called “Sublime Text 2"
- Go to your Sublime Text 2 settings (this is usually at “
~/Library/Application\ Support/Sublime\ Text\ 2/")
- Copy the following 3 folders into “
~/Dropbox/Sublime\ Text\ 2/ "
"Installed Packages"
"Packages"
"Pristine Packages"
- Rename the 3 original folders in “
~/Library/Application\ Support/Sublime\ Text\ 2/" or delete them.
- Next go back to Terminal
- From the command line type “
cd ~/Library/Application\ Support/Sublime\ Text\ 2/"
"ln -s ~/Dropbox/Sublime\ Text\ 2/Installed\ Packages ./Installed\ Packages"
"ln -s ~/Dropbox/Sublime\ Text\ 2/Packages ./Packages"
"ln -s ~/Dropbox/Sublime\ Text\ 2/Pristine\ Packages ./Pristine\ Packages"
Start Sublime Text 2 and you’ll be linked to Dropbox.
On your other devices do
"mv ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User /tmp"
"ln -s ~/Dropbox/Sublime\ Text\ 2/Packages/User ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User"
On Windows
you can probably figure out the first part but for the symlinks you can use the syntax below:
mklink /D "Installed Packages" "C:\path\to\Dropbox\appdata\sublime\Installed Packages"
mklink /D "Packages" "C:\path\to\Dropbox\apps\sublime\Packages"
mklink /D "Pristine Packages" "C:\path\to\Dropbox\apps\sublime\Pristine Packages"
On Linux
I presume the Linux setup is similar to the Mac setup but if your using Linux you probably know your way around the command line enough to figure out how to do this once you get the idea.
September 22nd, 2011 — OS X, Uncategorized
You probably have seen these buttons before as there are a few around to launch a terminal from the current directory

It’s easy to make your own Finder Application Launcher buttons. I started by adapting the one for launching TextMate. There is an excellent post from Henrik Nyh on the subject. You only need to adapt the script by replacing the word TextMate for let’s say Sublime2, TextWrangler or Espresso whichever editor you like best.
You can also change the image to your taste by following another explanation from the same guy. The best way is indeed to replace the icns file inside each script bundle with one of your own. The easiest way to do that I found is to open the icns icon with a Icon Composer ( an icon editor that is part of the Apple Developer Tools) or as alternative Hobiconer . Just open it, drop another PNG on it and save.

I have made a few png files:




And Pixelmator/Photoshop template to make others.
February 28th, 2011 — Coldfusion, OS X
Wouldn’t it be great if you could have a commandline for executing colfusion code. Well actually I discovered Oscar Arevolo already did.
CFShell-A–command-line-interface-for-CFML-engines
He even made his code directly available on RiaForge
To set it up you simple need to unzip the downloaded file into your root folder:
wwwroot (or htdocs)
|------cfshell
|----- other app
- Next open up the file cfshell.py and change the following line:
- defaultHost = ‘http://localhost:8600/cfshell’
- (this should point to folder containing cfshell.cfm, port number can be different depending on how you set up Railo)
- Now turn off debugging output in Railo admin.
- Next in Terminal do this:
- sudo chmod a+x /PATH_TO/cfshell/cfshell.py
- (where PATH_TO points to you wwwroot or htdocs)
- now create a symlink to cfshell.py with name cfshell and move that into /usr/bin (or another location your path) :
- ln -s /PATH_TO/cfshell/cfshell.py /usr/bin/cfshell
- (where PATH_TO points to you wwwroot or htdocs)
- Make sure Railo is running. Now you can do this in Terminal:
- cfshell and press <ENTER> and you’ll see this
CCFShellClient :: Version 0.3
URL: http://localhost/cfshell/
Type .help for available commands
>> .cfscript for(i=1;i<11;i++) {writeoutput("#i#,");}
1,2,3,4,5,6,7,8,9,10,
>>