Archive for the 'bit bucket' Category

Why I closed my facebook account

Posted by dre on August 9th, 2010

I’m writing this so I have something to link to, so I don’t have to keep answering the question over and over. Starting yesterday, I began to receive emails from various facebook friends, wherein they warned me that perhaps my fb account had been hacked. It seems my fb friends were getting invites for a [...]

Somniac and a UI scripting quickie

Posted by dre on August 4th, 2010

Just about every time I want an AppleScript to wait a second or two during script execution, I instinctively insert a “sleep x” statement, where x is some small number of seconds. Every time, I’m surprised when I test the script and my computer promptly… goes to sleep. The command to use is delay, not [...]

GNU screen and white space, holy crap

Posted by dre on July 27th, 2010

GNU screen has been a key player in my workflow for a long time, and I’ve been putting up with a strange and very much undesired screen behavior for just about that long. I don’t fully understand the problem, but at least now I have a fix. The problem is that when in screen, some [...]

SSL Passphrase in Mac OS X Server

Posted by dre on July 8th, 2010

Here’s a one-liner (spread across two lines for the 80 column internet) for mining Mac OS  X Server’s SSL passphrase out of Keychain: security dump-keychain -d /Library/Keychains/System.keychain | \ grep ‘”svce”<blob>=”Mac OS X Server certificate management”‘ -A 3 | tail -n 1 Typically this is most useful right before you say something like the following, [...]

CalendarServer on Ubuntu 10.0.4 Desktop

Posted by dre on June 23rd, 2010

“Why should I read this silly article when I can just install the CalendarServer .deb?!”, you might be thinking. That’s easy. That deb is release 1.2, which is like a million years old or something. Lots of great stuff has been added since then, such as shared calendars and the integration of the formerly separate [...]

Automator: Variable stacking

Posted by dre on February 12th, 2010

Shortly after discovering the existence of variables as real drag-n-droppable objects in Applescript Studio, I ran smack into a big limitation: the linear flow of an Automator workflow does not seem to allow for storing and recalling multiple values at once. Fortunately I was mistaken, as I discovered by accident while examining the ‘results’ view [...]

php 5.3: short_open_tag default has changed!

Posted by dre on September 24th, 2009

Snow Leopard Server includes an upgrade of PHP to version 5.3. This version has a changed default for the “short_open_tag” option as compared to the version that shipped in Leopard server. The difference is that short_open_tag is now disabled by default, which means that the following will not work: <? phpinfo(); ?> The problem is [...]

Instamapper

Posted by dre on September 20th, 2008

Instamapper is kinda nifty. Upload GPS coords from a mobile device to a web service, plot them on google maps. Simple and fun! Here’s my bike ride home from coffee:   They have an iPhone app called GPS Tracker that pushes the coordinates up. Link Summaryhttp://instamapper.comhttp://www.dreness.com/blog/wp-content/uploads/2008/09/instamapper.pngGPS Tracker, mobile app for instamapper.com web service

Apache AddType directives for AAC audio

Posted by dre on June 3rd, 2006

AddType audio/x-m4a m4a AddType audio/x-m4b m4b

Feeding back…

Posted by dre on May 28th, 2006

Here is a copy of the modified wucoco theme I’m using. Nuked the calendar Moved 100 pixels of width from the right column to the left Added a ‘pre’ css element assertion Fixed a small problem with the title middle image (the edges aren’t quite dark enough green Fixed a spacing problem in the metadata [...]

$Greetings

Posted by dre on May 27th, 2006

please stand by Why not try a couple long lines first. One big problem I had while trying to figure out this layout is exactly how to deal with preformatted text. Since I intend to be pasting lots of code snips and whatnot, I wanted to get this right… The trickiest part is what to [...]