atompad.com

Apr 14

ImageOptim & LayerCake ~ photoshop toolkit

Two tools that are brilliant to add to your web toolkit.

First you have LayerCake by MacRabbit ($19.99). Just take your nicely layered PSD artwork, find the ones you want and add a .png / .jpg or .gif extension to the end of the layer name, save the PSD then drop the PSD on LayerCake. It’ll then extract those layers as the desired images.

Next you have ImageOptim (FREE) an awesome tool to compress image assets. Open ImageOptim and drag your assets onto the app then it’ll use all the tricks it can to compress them losslessly.

Apr 08

Janus : a minimal setup for VIM users -

Janus: Vim Distribution

This is a distribution of plug-ins and mappings for Vim, Gvim and MacVim.

It is designed to provide minimal working environment using the most popular plug-ins and the most common mappings.

The distribution is completely customisable using a ~/.vimrc.before and ~/.vimrc.after Vim RC files.

Customisations

Uploaded my customizations to : https://github.com/johnantoni/janus-custom

Apr 05

oldhollywood:

Tippi Hedren in publicity still for The Birds (1963, dir. Alfred Hitchcock) Photo by Philippe Halsman.
(via)

oldhollywood:

Tippi Hedren in publicity still for The Birds (1963, dir. Alfred Hitchcock) Photo by Philippe Halsman.

(via)

Mar 30

OSX GCC Installer

Mar 25

Install Emacs 24 on OSX

Install with,

brew install emacs --cocoa --use-git-head --HEAD

cp -r /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/

more here

emacs starter kit

Stop (Mis)Using Return False -

Why in most situations, you should be using e.preventDefault() instead of return false. And thoughts on where you should insert that call within the callback function (hint: as early as fits with your program logic).

(Source: uiuxwebdevdesign, via gregbabula)

Mar 17

ssh_options[:forward_agent] = true on OSX Lion

On OSX Lion you may encounter problems with doing a capistrano deploy with forward agent, giving you a status code of 32768 and a “Repository not found”

First off forward agent is disabled by default on Lion, you can enable it by editing your /etc/ssh_config file

sudo nano /etc/ssh_config

and changing

# ForwardAgent no

to

ForwardAgent yes

perform a reboot, then add your necessary keys into the keychain via

ssh-add -K ~/.ssh/mydeploykey

now you should be able to do a deploy via forward agent on OSX Lion without any problems, note some users have been able to do this without the ssh_config change and others have to.