Header

Quick Tip: Ubiquity Commands in the Wild

I recently started adding ubiquity plugins for quickly looking up documentation while I am doing development. Mozilla has compiled a great list of ubiquity commands that can assist in programming language documentation along with other categories on their wiki. In addition to those listed on that site, I have come across a few other useful ones for programming languages:

Categories:  quicktip
FRI NOV 14, 08

Quick Tip: Resources and References for Learning and Using Emacs Key Bindings

I am by no means an expert at Emacs, however, while learning LISP I have picked up a lot of neat tricks that can be done in emacs to make editing much easier and faster. Below are a few resources and references I have found that have helped me discover all sorts of key bindings I had no idea existed.

GNU Emacs Manual
Stephe's introduction and customization for GNU emacs
Emacs Commands List
A good reference split into sections by function.
emacs-keybindings-table
A very comprehensive list of emacs key-bindings, sorted alphabetically. Google the "function name" to find example usage ...
Categories:  quicktip
FRI OCT 24, 08

Quick Tip: Using Synergy to Control Multiple Computers with a Single Keyboard and Mouse

One of my good friends has been telling me about synergy for a good while now but I never took a chance to try it out. After using it for only a few minutes I must say it is incredible. Synergy allows you to control multiple computers by setting up a server and clients; mouse and keyboard commands are sent to the server and then sent out to the appropriate client, allowing a single keyboard and mouse to control multiple computers, even with multiple operating systems. You can find a more detailed description of what synergy does here.

Setting up ...

Categories:  quicktip
SAT OCT 18, 08

Quick Tip: Using Ubiquity to Change Tabs in Firefox

This quick tip is a follow up to last week's Easily Navigate Tabs in Eclipse. In addition to being able to use find-as-you-type to change tabs in Eclipse, you can also do the same in firefox using Ubiquity. Just invoke Ubiquity using the key combination you assigned and type tab and begin typing. The matching tabs will begin showing up in the Ubiquity window. I'll admit that I do not use this feature as often as in Eclipse (I tend to favor COMMAND-SHIFT-[ and COMMAND-SHIFT-] to browse tabs); however, this is a very nice feature if you know ...

Categories:  quicktip
FRI OCT 10, 08

Quick Tip: Easily Navigate Tabs in Eclipse

Often I am ridiculed because of the amount of tabs I have open in Firefox at one time. Unfortunately this habit also carries into other programs as well. Eclipse by design only gives you one row of tabs at the top (or bottom if you choose) of the editing window; as a result, not all the tabs will fit at the same time which makes it difficult to navigate with a mouse or by using COMMAND-F6 (Mac) or CTRL-F6 (Windows/Linux). Thankfully, however, there is another solution.

Pressing COMMAND-E (Mac) or CTRL-E (Windows/Linux) will bring up a menu (the ...

Categories:  quicktip
FRI OCT 3, 08

Quick Tip: Find Your IP Address When You Are Away From Home

This is the first in a series that I am calling "quick tips". This will be much easier for me to put together than some of the more lengthy articles, although I will still be writing those as time permits. Without further introduction, onto the tip:

It can be quite annoying when you are at work and you need to SSH or VNC into your home computer only to realize that the IP Address associated with your domain name has adjusted. Currently I am on a cable connection where the IP will change once every couple of months, sometimes more ...

Categories:  quicktip
FRI SEP 26, 08

Setting Div Height in Internet Explorer 6

While finishing up landonaustin.com last week I ran into an interesting rendering issue when I checked what the website looked like in Internet Explorer 6. The decorative blue bar that runs under the title and navigation was a lot thicker in IE6 than any other browser. You can see what it looked like in IE6 and what it should look like below.

IE6 Wrong

Wrong. The blue bar is as thick as the font size.

IE6 Right

Right. The blue bar is the correct height.

I was able to set the height of the div to 100px and it would change size but ...

Categories:  css, ie6
MON JUN 23, 08

Cracking Passwords Using Virtual Memory

I do not support malicious hacking, I am only explaining this method so that you know what is out there, know what to look for, and learn to protect yourself and your applications.

I have found that there are many creative ways to get around security. This is a pretty neat trick that probably will not work in most modern applications or operating systems, but it shows the creativity that can go into trying to find a loophole. The basic premise of this trick is to place the password across 2 different pages, one of which is already backed by ...

THU MAY 22, 08

Introduction to Pygments

Pygments (http://pygments.org) is a very powerful, easy to use library that can help you with syntax highlighting on your blog or other documents. I am going to quickly show you 4 different ways you can use pygments to easily add syntax highlighting to your website. Pygments can be found in most package managers:

  • Debian/Ubuntu: aptitude install python-pygments
  • Gentoo: emerge pygments
  • Darwin Ports: port install pygments
  • Easy Install: easy_install Pygments

Command Line

pygmentize is the command line tool that the pygments library provides. Here is a quick reference for common use cases:

  • Output HTML: pygmentize -f html -o ...
Categories:  django, javascript, pygments
TUE APR 22, 08

Gracefully Degrading, Bookmarkable Ajax with Django and JQuery

This article goes along with travis-weber.com, a website I recently released where one of the top priorities was that it would be completely ajaxified, like gmail. This brought with it a couple of issues such as what would happen when people came to the site and did not have javascript? How would people be able to bookmark portfolio items and other sections on the website? I want to share how I approached these issues and the solutions I came up with so that if a user has javascript disabled or a user wants to bookmark a specific page, it ...

Categories:  ajax, django, javascript, jquery
THU APR 10, 08

Welcome

Welcome to my blog!

This is the first of many posts on this website. My goal is to provide resources and tutorials for primarily web development; but being interested in many different topics, there will be a lot of other information presented as well. It is my hope that by explaining my experiences I will help you avoid making the same mistakes and enhance your knowledge of the topic discussed.

To start out, I will give a quick overview of what powers this blog. In the near future I will be going into great detail on how I implemented the ...

Categories:  django
SUN MAR 30, 08