Tag Archives: tips

Bash: It’s the little things

Posted 27 June 2007 | By mitch | Categories: Geekery, Linux | 2 Comments

The Bash shell always amazes me. I needed to create a Maildir using the typical Maildir/cur, Maildir/new, Maildir/tmp structure and stumbled on this:

$ mkdir -m 0700 -p Maildir/{cur,new,tmp}

The -m and -p options are no-brainers, but the {cur,new,tmp} was new to me. It was easy to figure out what was going to happen… one command to [...]

Tip of the Day: Cleaning An LCD Display

Posted 23 April 2007 | By mitch | Categories: Geekery | No Comments

After cleaning my laptop’s LCD several times with Windex, a fair amount of streaking built up, making the display far less than perfect. A quick search suggested a 50/50 mix of isopropyl alcohol and distilled water was the best solution for safely, and effectively cleaning LCD displays.

After mixing a batch, and tearing up an old [...]

Tip of the Day: Secure Your Gmail

Posted 21 March 2007 | By mitch | Categories: Geekery, JavaScript | No Comments

From the “Why Didn’t I Think of That” department: GMailSecure has got to be one of the most elegantly simple, yet useful Greasemonkey scripts ever.

When I say simple, I mean one line of code:

location.href = location.href.replace(/^http:/, ‘https:’);

This script ensures your Gmail session using Firefox takes place over a secure HTTP connection providing a reasonable amount [...]

Firefox Smart Keywords for Microsoft Support and MSDN Sites

Posted 02 May 2006 | By mitch | Categories: Geekery | 4 Comments

Smart Keywords are one of my favorite Firefox features. Enter a keyword in the location bar (CTRL + L), type a couple of search terms, and voila, instant results with minimal typing.

Since my job requires frequenting the Microsoft Support and MSDN sites, I added Smart Keywords to simplify the searches. Each of the following keywords [...]

Cross-site Scripting Techniques and Prevention

Posted 18 April 2006 | By mitch | Categories: Ajax, Geekery, JavaScript, Web 2.0, Web Design | No Comments

ALA serves up a great article addressing the dangers of cross-site scripting (XSS) vulnerabilities. Author Niklas Bivald says,

Validating and sanitizing user input is no longer optional. Consider what your users really need to do, think about what characters they need to accomplish those tasks, and strip/convert as necessary to protect your community.

Part 1 provides examples [...]

Bite Size Standards

Posted 14 April 2006 | By mitch | Categories: Geekery, Web Design | No Comments

Bite Size Standards went online today, offering web development tutorials, tips, etc. In their own words:

The basic idea being that busy web designers don’t always have time to read or write lengthy tutorials but that a daily “bite” of useful information, taken or given, could be good for the soul.

Sounds promising. Hat tip to snook [...]

Back Up del.icio.us Bookmarks

Posted 11 April 2006 | By mitch | Categories: Blog Stuff, Geekery, WordPress | No Comments

Lifehacker shows you how to back up del.icio.us bookmarks on your blog. As the article points out, aside from backups, there are other benefits to doing this:

It also kills two birds with one stone: participate in the del.icio.us community AND update your blog daily with one del.icio.us post.

This is a “no-hassle” solution done completely through [...]

Great CSS Link Dump

Posted 28 March 2006 | By mitch | Categories: Asides, CSS, Geekery, Web Design | No Comments

Found this at del.icio.us… Layout-palooza. Great source for links about CSS layout, hacks, and tricks. Many familiar, many new.