Use apt-cd for ubuntu cd or dvd repositories

Exactly what I was looking for. Instructions for using an Ubuntu CD/DVD disc as the source for aptitude repositories. I needed it because I don’t have a network connection for my new Ubuntu box right now.

Use apt-cdrom

Simple JSON library for Google App Engine

Taking notes on useful Google App Engine tutorials and articles…

Trying to figure out where JSON or simplejson exists in Google App Engine. The answer is in Using AJAX to enable RPC requests.

from django.utils import simplejson

in the Articles section.

Download and convert YouTube FLV flash video to MPG/AVI

If you’re interested in converting FLV flash videos into more common and portable formats, this is for you. For whatever reason, I couldn’t get ffmpegX (Mac OS X GUI for ffmpeg) to convert an FLV because it would fail with a bunch of errors.

Convert .FLV files into MPEG:

ffmpeg -i flashvideo.flv -ab 64 -ar 22050 -b 800 -s 320x240 video.mpg

You can tweak the switches (i.e. -ab, -ar, -b, -s) to optimize the file size that gets produced. Lower numbers create smaller files but less quality.

I only use the MPEG way method because I haven’t figured out how to install xVid or DivX codecs onto my Mac machine.

Reference How to download and convert YouTube video to MPG/AVI in Ubuntu?