February 2012
1 post
Booting OS X with Grub2
I installed Ubuntu on a Mac Mini at work and needed to get back into OS X for some testing. The default configured Grub entries wouldn’t load for OS X (hd0, part0). After looking over the net and digging through lines and lines of Grub conf I found a little blurb from another user saying they’d tried this and it worked… so if you’re beating yourself up over OS X and Grub2...
December 2011
1 post
Bash'isms (SVN+Awk+Grep+Cut+Bash one liners)
A couple bash 1 liners I threw together recently that I’ve found to come in very handy so I thought I’d share.
The back story is simple, yearly reviews, talk about what you’ve done, yadda yadda yadda. Well, I don’t remember honestly. I’ve done A LOT. That’s not going to fly in a serious meeting with “The Bobs”. So I needed a way to look over my...
July 2011
1 post
GrooveShark App (kind of) [Linux, Chrome]
I love GrooveShark, I love them so much that I looked for a stand alone app without much luck. I usually just ran it in a background Chrome instance but I just wanted to be able to click a button and have all my Groovy goodness without tabs, or address bars, etc.
It took about 10 minutes, but here it is, super simple.
Step 1: Install Google Chrome
(http://www.google.com/chrome/)
Step 2:...
May 2011
1 post
Nexus S + MIUI + Netflix = Working
You’ll need root, and you’ll need a 2.3+ ROM installed.
In
/system/build.prop
You’ll have to edit the lines.
ro.product.model=[model_name_here]
…
ro.product.manufacturer=unknow
To
ro.product.model=Nexus S
…
ro.product.manufacturer=samsung
Reboot the phone and install the Netflix app from the market or install the .apk manually from your sdcard.
For...
April 2011
1 post
Ubuntu / Debian : List software from repository
This will list packages coming from a specific repository
grep <repository_name> /var/lib/apt/lists/* | grep tar | cut -d' ' -f4 | sort -u
Example
$ grep backbox /var/lib/apt/lists/* | grep tar | cut -d' ' -f4 | sort -u
aircrack-ng_1.1-1backbox1.debian.tar.gz
autotools-dev_20100122.1backbox1.tar.gz
backbox-about_1.2.tar.gz
backbox-artwork_1.6.tar.gz
...
February 2011
1 post
7 tags
Redirect user, hide referrer
Found a nice little way to trick browsers into redirecting users without passing a long associated referrer information. Works in Chrome, IE6/7/8, and Firefox… sneaky sneaky sneaky.
For more info drop me a message in the comments.
January 2011
1 post
VTech Pre-Computer Power Pad ... I love thee.
My little cousins pulled out my VTech PreComputer Power Pad (the laptop looking version) while I was home this holiday at my Grandmothers house. I hadn’t seen the thing in years and was so happy to see it still around. I waited for them to get tired of it and sat down at the kitchen table to give it a go. It had been years and I recall one application but I couldn’t remember the...
July 2010
4 posts
4 tags
Chrome Extension : Screenshots made sexy
After browsing the Google Chrome extensions catalog I found this little gem. If you’re in the business of taking screenshots of web pages (developer, designer, sharing funny stuff online, etc.) I highly recommend giving the “Awesome Screenshot” extension an install!.
download it here (https://chrome.google.com/extensions/detail/alelhddbbhepgpmgidjdcjakblofbmce)
6 tags
Virtualbox & Windows 7 : Shared Folders
I’ve just recently installed Virtualbox on my Ubuntu machine and decided to set up a Windows 7 VM. Once everything was complete it was time to enable shared folders so I could transfer some files to and from the VM. Only 1 problem… I can’t find them?!
After a bit of looking around on the web I finally found a random user comment on a random blog that hinted at where they...
Ubuntu 10.04 Netbook Remix : Disable UNR Launcher
I installed UNR in version 9.10 and immediately disabled the netbook launcher for the classic desktop. This was easy in 9.10 thanks to a setting in the system preferences called “Desktop Mode Switcher”. It was great, it was easy… and now it’s gone.
For whatever reason in 10.04 they decided to get rid of this handy little tool. I had to purge some nautilus config files...
Quickly search your bash history using arrow keys
Add these lines to your /etc/inputrc to enable the functionality.
"\e[A": history-search-backward
"\e[B": history-search-forward
Thanks Reddit and Archwiki! (http://wiki.archlinux.org/index.php/Bash)
p.s. this functionality is included in your inputrc file by default on Ubuntu 10.4 and can be used by uncommenting the lines (41 & 42), but rather than arrows it uses Page Up and Page Down.
February 2010
2 posts
9.10 + Google Chrome + Netbook = YES!
If you haven’t tried Google Chrome on *nix yet I highly recommend it.
str_replace & Fatal error: Only variables can be...
If you’re using a simple str_replace() call in PHP and getting a strange Fatal error that doesn’t make a whole lot of sense to you I have a hunch as to why.
Fatal example:
$file_name = str_replace('findit', 'replaceit', $haystack, 1);
In PHP 5.0.5 some changes were made to how PHP handles variables, functions, and references. This broke a lot of older code but also introduced some...
January 2010
1 post
6 tags
An effective JavaScript & CSS cache busting...
Client side cache is both a friend and an enemy. As many web designers and developers have learned in the past what it saves you in bandwidth is worth more than it’s share of headaches. With that said one of it’s major headaches is old files on end users computers being used and breaking functionality. This can be felt in layout as well as code (e.g. undefined function...
November 2009
1 post
Flex Security sandbox violation
Working in Flex and/or Flash you often run into the same problem many times and forget the easy and common sense answer. Security sandbox violations for me is one of those cases.
Googling for answers is usually fruitless and starts talking about server side crossdomain.xml policy files and meta data. These are important in the long run but what about when they’re in place and you’re...
June 2009
1 post
May 2009
6 posts
have a Netbook?... want solid Linux support?...
I currently have an Asus Eee PC (1002ha) and to say the least am not an avid Windows fan. Since the day I unpackaged this puppy I have been on a quest to find the best OS I could for the lil guy. So far I’ve ran EasyPeasy and OS X (needs drivers sadly otherwise this would have never been written) and looked into running Moblin (although I must admit I never installed it). Long story short...
SharedObject.flush() the silent killer.
We launched our Video Chat Application to mostly good reviews from the user community. One of our biggest complaints/bugs was “The app doesn’t load… it just displays a blank white page after the “loading” screen goes away”. We’d tried old Flash player versions, older browsers, multiple OS’s and STILL couldn’t reliably duplicate the error. ...
AS3/Flex 3 ArrayCollection Copy/Duplication
In Flex recently I was trying to use the dataProvider of a List component in another component. It was for a Video Chat Application and it would make whispering another user easier by facilitating auto-completion on a name. Long story short the dataProvider for said list had various sorts and filters applied to it so saying list.dataProvider wasn’t an option because we needed to see the...
I'm guessing this took more than one try. →
April 2009
13 posts
I got problems…
fun when you're bored and feeling musical →
"does it look like a box!?" →
BRB - cross country road trip :D
Long story short I’m in Austin Texas right now on my way to San Francisco. Once i get there Sarah (<3) and I will be treking cross country! I’m super excited and brought my ole’ Canon 30D with me so I’ll be posting pics to http://chadillac.smugmug.com. I’ll probably also post updates here… so check back soon ;)
real friends aim right for the heart. →
more april 1st goodness... expedia to Mars. →
March 2009
10 posts
hot chick - eye brows = mediocre chick →
Those Brits... they know how to party. →
Ollie Williams reports your weather. →
If you watch Family Guy you’ll need to bookmark this page immediately.
Flex 3 textarea buffering/trimming
While working on a recent project (Flash based video chat application) we’d start to see serious performance degredation the longer the app ran. Long story short we discovered the chat rooms Textarea was the primary culprit. Since we continued to append new text the memory foot print for that single component was enough to make the whole app slow to a crawl.
We tried a few different...