Tech

cgrep — a grep enhancement to show preceding lines

0

Solaris grep has no way to print­ing the lines sur­round­ing a match. Yet my most com­mon use of grep is to locate par­tic­u­lar strings in a log file, with the goal of look­ing at the log mes­sages pre­vi­ous to them. There is a sim­ple solu­tion for this. And also, please note, I did not write any of the code linked here. Just post­ing it to help oth­ers find it.

(more…)

Install sudo on Solaris 10 (intel, x86)

0

Instruc­tions on installing and con­fig­ur­ing sudo on Solaris 10. It is really easy.
(more…)

Google Chrome Extensions for Python <span class="amp">&</span> Django

There are some good exten­sions for Google Chrome related to Python and Django.

Python exten­sions for Chrome
Django exten­sions for Chrome

Some selec­tions:

Django Docs by jonathan.eatherly

Django Docs allows you to search the Django Doc­u­men­ta­tion right from within the popup.

Python Shell by Ben McDonald

A python shell in your browser.

PyDoc­Search (2.6 doc) by renato.ppontes

Search in Python 2.6 documentation

Paste­bin by nephthys

Eas­ily share your source code with a paste­bin service.

Synchronize Exchange/Outlook folders on Windows Mobile 6

If you are like me and use fold­ers to orga­nize your email, you prob­a­bly found these don't syn­chro­nize auto­mat­i­cally — just the inbox does. Well I finally fig­ured out how to make them syn­chro­nize. It isn't hard, just clumsy. You might find this useful.

It is prob­a­bly same pro­ce­dure on all Win­dows Mobile 6.0 phones, but don't know about 6.1.

1. Go into Out­look mail on your phone so you see your inbox mes­sages.
2. Choose Menu->Folders. You prob­a­bly see Deleted, Inbox, Out­box, Sent, and Draft fold­ers.
3. Choose Menu->Show All Fold­ers. Now you will see all the sub-folders of your inbox and other items. This menu item tog­gles between "Show All" and "Show Man­aged".
4. Choose Menu->Manage Fold­ers.
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 dead­line of the year". I put together a brief restate­ment of a basic com­put­ing law: As pos­si­ble incon­vience increases, prob­a­bil­ity of com­puter screwups approaches 1. It's a gen­eral form of the spe­cial law that states "print­ers never work when it makes a difference".

Go to Top