Skip to content

{ Tag Archives } mac

adding a scripts folder to your path in bash

I know this is total n00b stuff but I always forget the particular so I thought I’d write it down in a blog entry. To add a custom scripts directory to your path, do the following: In your root directory, create a file called .bash_profile.sh with something like the following: if [ -f ~/.bashrc ]; [...]

Also tagged , , ,

AppleScript to resize Safari for recording a YouTube HD video

Occasionally I need to produce YouTube HD videos showing me doing something in a web browser. Up ’till now I’ve had to painfully, manually resize the browser window to 1280×720 so that the video didn’t get unnaturally shrunk or expanded by my screencast rendering software. Tonight I figured out a way to automatically resize my [...]

Also tagged , ,