Articles

Cannon EOS Rebel XS in Ubuntu

Published On: 2011-10-05

Category: Jargon Jabberwocky

All I needed to do to get my camera to work in Ubuntu 10.10 was install gphoto2. apt-get install gphoto2 Then it mounted like a normal drive.

Mass resize images using the command line in Linux

Published On: 2011-10-04

Category: Jargon Jabberwocky

Just do: mogrify -resize 1024 *.jpg Where 1024 is the maximum width or height you'd like. Warning mogrify will overwrite your files. If you don't seem to have mogrify try installing ImageMagick apt-get install imagemagick

Hide information_schema in PhpMyAdmin

Published On: 2011-09-29

Category: Jargon Jabberwocky

There's this pesky database called information schema lying around. You can hide this database from PhpMyAdmin by modifying your config.inc.php (located in /etc/phpmyadmin on my system) to add the following: $cfg['servers'][$i]['hide_db'] = 'information_schema'...

Php Parsing Script

Published On: 2011-09-17

Category: Jargon Jabberwocky

I was looking for a way to see how fast the parse time of my pages was. Came up with this code. Please note this only works for > php5. Put this at the beginning of your pages: <?php $starttime...

MySQL Case Sensitive Searching

Published On: 2011-09-08

Category: Jargon Jabberwocky

By default MySQL and other engines search using a case insensitive method. You can tell MySQL to do a case sensitive search by changing the COLLATION of the field your searching. SELECT * FROM `table` WHERE `field` COLLATE latin1_general_cs...

Ghostscript PDF to Jpeg

Published On: 2011-09-07

Category: Jargon Jabberwocky

gs -dNOPAUSE -dBATCH -sDEVICE=jpeg -r144 -sOutputFile=Page-%03d.jpg File.pdf

Set nano to stop word wrap

Published On: 2011-09-01

Category: Jargon Jabberwocky

vi vs emacs? I choose nano. But one annoying thing is that nano wraps text by default. To fix this create a file called .nanorc in your home directory. In it put the line: ~/.nanorc set nowrap Next time you...

*nix Delete Files Matching Text

Published On: 2011-08-28

Category: Jargon Jabberwocky

To delete files matching a certain pattern or text string try the following command: grep -l '' *.txt | xargs rm

Whoops

Published On: 2011-08-26

Category: News

A funny advert I saw in Gmail. I guess someone didn't have their copy ready.

The Domain Name: An Address for Your Website

Published On: 2011-06-29

Category: News

What's a domain name? Why do I need one? A domain name is like an address for your website. You use it to advertise your business's location on the web. Some popular ones you might have heard of are facebook...

Win98 Password Lost? No Problem.

Published On: 2011-06-29

Category: Jargon Jabberwocky

A hilarious animated gif of a method to exploit win98.

Santa Comes to Town: Coder's Style

Published On: 2011-06-29

Category: Jargon Jabberwocky

better !pout !cry better watchout lpr why santa claus < north pole > town cat /etc/passwd > list ncheck list ncheck list cat list | grep naughty > nogiftlist cat list | grep nice > giftlist santa claus < north pole > town who | grep sleeping who | grep...

Funny Asimov Robots.txt

Published On: 2011-06-29

Category: Jargon Jabberwocky

Found this over at Last.fm. For those of you who don't know robots.txt is a webfile we place on the server to tell friendly robots which files they should include in search engines and which ones they shouldn't...

LinkedIn Ads For Your Website

Published On: 2011-06-22

Category: News

I started up a small ad campaign with LinkedIn a few days ago. LinkedIn ads display an image, headline, and a 75 character description that leads to a link of your choosing. You can further limit the ads by geography, company...

Unpaid Texas Sales Collector

Published On: 2011-05-18

Category: News

Today I joined forces with the state of Texas and became an unpaid sales tax collector. I'm to charge the standard tax rate on all my goods and services. Luckily all my clients are businesses which are tax-exempt.

I'm officially FallsGeek

Published On: 2011-05-17

Category: News

Well it's official today. I'm able to legally do business as FallsGeek. I'm set up as a sole proprietorship. In all my costs were $16 and I'm legal until 2021. Not too hard to get legit in the USA.