Category: Computers

Changing Mac OSX SD Card Insertion Behavior

  1. Open the application “Image Capture”
  2. Your device/card will be shown in the left pane
  3. Select it if it isn’t already
  4. At the bottom left of the pane will be a drop-down labeled “Connecting this camera opens:”. (If you don’t see the drop down, click the bottom-left “triangle in a box” button which will display the menu)
  5. Choose from the drop down what application you want to automatically run when your camera/card is connected to your Mac. (If your app isn’t shown, click “Other”
  6. Close Image Capture
  7. From this point on, when you insert an SD or connect your camera, the application you chose will run by default.

XCode Command Line Tools

Need to install the XCode Command Line Tools? This is how you do it…

$ xcode-select --install

Then, follow the screen prompts.

I came across this need when attempting to compile pyOpenSSL. It needed FFI.h can I couldn’t get that without installing the command line tools.

Amazon EC2 is the coolest

I’m really digging all the functionality that Amazon EC2 offers. This blog isn’t hosted there, but I’ve been working on a virtual server there for storing and serving my images. So far, so good. Ubuntu 12.04 + Gallery + MYSQL FTW.

U.S. Federal Appeals Court Invalidates FCC Net Neutrality Rules

http://gizmodo.com/federal-court-invalidates-net-neutrality-rules-sides-w-1501028467

“This is bad news. The ruling basically opens the door for companies like Verizon and Time Warner to cut special deals with websites to serve up their content faster. It also opens up the possibility of paid access to specific sites. Imagine the worst case scenario, where you literally have to pay an extra fee to get access to the websites you like. It’s possible!”

Worst case scenario :

http://gizmodo.com/5391707/losing-net-neutrality-the-worst-case-scenario

Simple Handbrake CLI Batch File

I was looking for a simple bat file for HandBrake CLI to fascilitate the transcoding all my videos in a specific directory, but didn’t really find one online. So I wrote this one. Hopefully, someone will find a use for it.

For those not familiar with batch scripts, this particular script changes to the F: drive, changes to the directory “Movies”, and then for each file with the extension “.vob” it runs Handbrake, transcodes the video using the “AppleTV 3” preset, and then deletes the old video file.

@echo off
f:
cd \Movies
FOR %%! IN (“*.vob”) DO (
c:\handbrake\HandbrakeCLI.exe -i %%! -o %%!.mp4 –preset=^”AppleTV 3^”
del /Q %%!
)
c: