Tech
cgrep — a grep enhancement to show preceding lines
0Solaris grep has no way to printing the lines surrounding a match. Yet my most common use of grep is to locate particular strings in a log file, with the goal of looking at the log messages previous to them. There is a simple solution for this. And also, please note, I did not write any of the code linked here. Just posting it to help others find it.
Install sudo on Solaris 10 (intel, x86)
0Instructions on installing and configuring sudo on Solaris 10. It is really easy.
(more…)
Google Chrome Extensions for Python <span class="amp">&</span> Django
There are some good extensions for Google Chrome related to Python and Django.
Python extensions for Chrome
Django extensions for Chrome
Some selections:
Django Docs by jonathan.eatherly
Django Docs allows you to search the Django Documentation right from within the popup.
Python Shell by Ben McDonald
A python shell in your browser.
PyDocSearch (2.6 doc) by renato.ppontes
Search in Python 2.6 documentation
Pastebin by nephthys
Easily share your source code with a pastebin service.
Synchronize Exchange/Outlook folders on Windows Mobile 6
If you are like me and use folders to organize your email, you probably found these don't synchronize automatically — just the inbox does. Well I finally figured out how to make them synchronize. It isn't hard, just clumsy. You might find this useful.
It is probably same procedure on all Windows Mobile 6.0 phones, but don't know about 6.1.
1. Go into Outlook mail on your phone so you see your inbox messages.
2. Choose Menu->Folders. You probably see Deleted, Inbox, Outbox, Sent, and Draft folders.
3. Choose Menu->Show All Folders. Now you will see all the sub-folders of your inbox and other items. This menu item toggles between "Show All" and "Show Managed".
4. Choose Menu->Manage Folders.
5. Scroll to each folder you want to sync and choose Sync on the menu. Or you can turn off Sync.
6. Choose Done
7. Choose Menu->Send/Receive. It can take a while to process all sync changes in the sub-folders
8. Now in your phone's mail you can choose Menu->Folders to switch between them.
computers suck
My friend Anne was "astounded the servers would go down the night of the 2nd biggest deadline of the year". I put together a brief restatement of a basic computing law: As possible inconvience increases, probability of computer screwups approaches 1. It's a general form of the special law that states "printers never work when it makes a difference".