Category: Computers

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: