TB notes

This is the site where I, Tyler Bletsch, write stuff that I want to refer to later. You can refer to it, as well, I guess. Unless it's in the Secret Stage.

Articles

Computer crap

Linux crap

Windows crap

Old crap I'll never look at again

Misc info

You want a good Italian place in Bostom? LoConte's on Salem St. in the North End.

ubuntu: have firefox use thunderbird for mail: goto about:config, new string key "network.protocol-handler.app.mailto" → "/usr/bin/mozilla-thunderbird" ("/usr/bin/thunderbird" for Ubuntu 7.10)

if ubuntu's packages get busted, "dpkg –configure -a"

to auto-switch between wireless and wired connection on Windows, this thing seems to work well enough: http://www.wirelessautoswitch.com/About.aspx

Firefox and Thunderbird skin

Firefox 5 and now Thunderbird 5 like to have their menu and toolbars be the Windows titlebar color for some goddamn reason, and it looks like crap. To fix, you want the "just grey" persona – It should work for both Firefox and Thunderbird.

Makefile stuff

To write suffix-based rules in Makefiles:

.src.dest:
<commands>

If the suffixes in question aren't in the set of built in ones (as given by "make -p -f /dev/null | grep SUFFIXES"), you can add them with rules of the form:

.SUFFIXES : .a .b

Using awk

Basic syntax:

awk <search pattern> {<program actions>}

Examples:

svn st | awk '/^\?/ {print $2}'          # print names of unknown svn files
ps -A | awk '{print $1}'                 # print all pids

Have explorer open to "My Computer" instead of dumb crap

Change shortcut to:

explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

From here.

Service management in Debian/Ubuntu

update-rc.d sucks. Use rcconf instead:

$ sudo apt-get install rcconf
$ sudo rcconf

Show 'Sender' in Thunderbird

In certain environments (including MS Exchange), when a message is forwarded, the special "Sender" field indicates the actual person who clicked "send", while the "From" field shows the originator of the message. This is confusing in Thunderbird, which doesn't show "Sender" by default, so forwarded email looks like it came from the originator of the message. To show the "Sender", set the following custom settings:

mailnews.customHeaders = Sender
mailnews.headers.extraExpandedHeaders = Sender

'clear' for cygwin

There's probably a package that provides this, but I just use:

echo -ne '\e[H\e[2J'

Links

simple, small, effective FAT/NTFS file recovery: "Restoration" - http://www.snapfiles.com/get/restoration.html

Everything you need to know about cryptography in 1 hour

 
start.txt · Last modified: 2012/01/27 09:42 by tkbletsc
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki