The standard terminal in Cygwin is not very good. It can’t be made wider, you can’t select text normally using the mouse without first accessing the context menu and selecting ‘mark’, the default font is thick and ugly, etc. When you are used to the Mac OS X Terminal the Cygwin console is not fun.
Here’s the solution: puttycyg. It’s a modification of putty which allows it to act as a cygwin terminal in addition to the normal ssh and telnet functionality. Very cool!
Found it through this blog post. Thank you Andreas Hochsteger!
I just discovered this handy command in OS X:
pbcopy. It lets you pipe the output of a command right into the clipboard (or the ‘pasteboard’) so you can paste it into some non terminal application next. A convenient way to avoid having to scroll up and select the text in the terminal by hand.
cat myfile.txt | pbcopy
My lifelong friend Kristján just put up a new blog musing about tech and music. I bet it’ll be interesting so check it out here!
Just some quick notes on signing Windows executables using a Mac. First, get Mono:
I used version 2.4. Next, take a look at Mozilla’s code signing guide and work around the problems you run into using Zillabit Notes on Mono Authenticode.
It boils down to something like this:
- Open your Thawte issued .SPC file in Windows using certmgr (just double click it).
- Expand the certificate view in the left pane and click on Certificates.
- The components of your SPC file will be displayed, normally consisting of your company certificate and then some signer root certificates.
- For each of the certificates, go to
Action / All Tasks / Export... and export the certificate as a DER .cer file.
- Bring the exported files to your Mac and join them with
cert2spc cert1.cer cert2.cer cert3.cer my_fixed_certificate.spc
- Use the newly generated SPC file to sign your code:
signcode -spc my_fixed_certificate.spc -v my_private_certificate_key.pvk -a sha1 -$ commercial -n MyProductName -i http://www.mycompany.com -t http://timestamp.verisign.com/scripts/timstamp.dll MyProgram.exe
- Verify by trying to run the executable in Windows.
A final note: don’t try to verify the signing using mono’s chktrust command. At least for me it always tells me the exe doesn’t have a signature.
Recently Spotify has been running an advertisement about a new feature allowing you to search for music by record label. That seems about as useful as searching for music by street name or color. Who cares what label produced a certain record? Labels don’t make music. In fact labels don’t make anything at all, they just put money on the table – they are an increasingly irrelevant fragment of the past when a recording studio was something fancy and printing a record cost involved a huge factory instead of an on demand print with shipping at $4.95.
And since we are using Spotify, printing CDs is even less relevant. Why would I care about a record label? A better related music feature or a better genre based radio feature would be a much better expenditure of time.