21
Aug 10

how many times can i

how many times can i type “ls [enter] clear [enter]“?


03
Mar 10

Enable “Legacy Codecs” in OS X 10.6 “Snow Leopard”

This took some digging so here it is:

$ qtdefaults write LegacyCodecsEnabled yes

30
Jul 09

Gmail Notifier for iPhone

I purchased an iphone 3GS recently and I wasn’t happy with connecting to my gmail thru smtp because I didn’t get the full gmail experience (archiving, starring, etc.) So I started using the really nice gmail mobile interface with safari and I’ve got a fancy bookmark with a shortcut from my home screen and it’s great. What I’m missing is notifications when I get new emails. Of course I could enable regular imap mail again just so that I get notifications and then manage my mail using Safari (and that’s probably what I’ll end up doing) but it would be sweet to have a gmail notifier for my iPhone.

I did some searching and one possible solution was to use Gmail notifier for mac with growl and prowl to push notifications to the iPhone. The obvious downsides being that one, you need to have your mac running and connected to the internet to receive email notifications, and two, it’s absurd.

Not to mention Gmail notifier for the mac is sucky. It only checks for new mail every 10 minutes and whenever I leave an unread message in my inbox, I get Growl notifications about the same emails every time it checks. I feel like it used to be much nicer. I don’t know what happened.


20
Jul 09

Salmon steaks in creamy dill sauce

2 Salmon steaks/filet 1/3 lb each
salt
peper
3 tbs butter
¾ cut light cream
2 tbs dill weed, minced
3 tbs dry white wine
1 tbs lemon juice

  1. Sprinkle fish with salt and peper
  2. Sear fish on both sides in hot butter. Reduce heat.
  3. Pour cream over fish. Simmer, covered, for 10 minutes, or until fish flakes.
  4. Remove fish to a serving platter and keep warm; reserve pan.
  5. Add dill, wine, and lemon juice to pan. Bring to a boil and cook until reduced by half.
  6. Pour sauce over fish and serve two.

14
Jul 09

Updating Avid Media Composer to v3.1.3

Download the update.

From the readme:

(Macintosh Only) If you are upgrading from a previous version of the Macintosh editing application, remove the Stereo Mixer.dpm and Surround Mixer.dpm plug-ins from the following location: Macintosh HD/Library/Application Support/Digidesign/Plug-Ins

If you do not remove these files, you might experience problems with the AudioSuite Tool.


18
Oct 08

Opening an Avid bin without taking the lock

To open an Avid bin without taking the lock:

  • Alt+double-click (Windows) or Option+double-click (Macintosh) the bin in the Project window.

06
Oct 08

Importing and Exporting MySQL Databases

I wanted to move a wordpress website from one computer to another. Normally I would go to phpmyadmin assuming that would be easier than looking up the commands in the mysql documentation, but this time I was resolved to figure it out.. after realizing that installing and configuring phpmyadmin on two machines was going to be a bigger pain in the butt, I decided to do some research and I was pleasantly surprized.

Creating the database:

$ mysql -u adminusername -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5340 to server version: 3.23.54

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> CREATE DATABASE databasename;
Query OK, 1 row affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON databasename.* TO "wordpressusername"@"hostname"
-> IDENTIFIED BY "password";
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)
mysql> EXIT
Bye
$

Exporting a database to a .sql file:

$ mysqldump -u USER -p DBNAME > dump.sql

Importing a .sql file into a database is easy as:

$ mysql -u USER -p DBNAME < dump.sql

Easy.


04
Sep 08

Chew and Spew – September 2008

Instinct “Romance”

Nike body weapon

Macy’s

Crane Olympics

Harley “Black Sheep”

Adidas “Sleep Runner”


08
Aug 08

Chew and Spew – August 2008

Dexter

Dexter

Burger King “special” commercial


08
Jul 08

Compiling qt-faststart on Linux

gcc -D_LARGEFILE_SOURCE qt-faststart.c -o qt-faststart