Twitter search

Operator Finds tweets… twitter search containing both “twitter” and “search”. This is the default operator. “happy hour“ containing the exact phrase “happy hour”. love OR hate containing either “love” or “hate” (or both). beer -root containing “beer” but not “root”. #haiku containing the hashtag “haiku”. from:alexiskold sent from person “alexiskold”. to:techcrunch sent to person “techcrunch”. [...]

WordPress template (category)

Some saved wordpress snippets for catagories, always check for latest version pre WP3 List order by category (category name and descendant id) List sub categories (category name and descendant id) Display per category (category name) display list Display per category with if else Test 1 Test 2 Test 3 Test nothing if category

VOB to FLV

A useful line of code to convert VOB files to FLV in Linux mencoder inputfile.VOB -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=150 -ofps 25 -oac mp3lame -lameopts abr:br=32 -srate 22050 -vf scale=720 -o outputfile.flv The “flv” format files can only support 8000, 22050 and 44100 I believe for the available -srate. Found via http://wiki.soslug.org/wiki/vob_to_flv

Git FAQ

Update local copy from github.com git fetch origin Update your local branch with origin/master, then replay your changes git rebase origin/master Overwrite local files git checkout . Commit changes git commit -m “First import” Send your commits to github.com git push origin On Ubuntu use GCT for commits sudo apt-get install commit-tool On OSX GITX [...]

Install PhpGedView 4.1.2

Install from Ubuntu repository sudo apt-get install phpgedview Configure PhpGedView with MySQL sudo gedit /etc/phpgedview/config.php $DBTYPE = “mysql”; $DBHOST = “localhost”; $DBUSER = “phpgedview_my_family”; $DBPASS = “password_for_dbuser”; $DBNAME = “phpgedview_my_family”; Setup virtual host sudo gedit /etc/apache2/apache2.conf Alias /gedview /usr/share/phpgedview/www Options FollowSymLinks AllowOverride Limit Options FileInfo DirectoryIndex index.php Restart Apache sudo /etc/init.d/apache2 restart Ubuntu 8.04 repository [...]