Fork me on GitHub

computers

Category Archives: Computers

So, who likes that new Y! nav bar on Flickr?

Yeah, that’s what I thought. There’s a lot going on in the Flickr interface as it is. Adding a garish purple Yahoo! bar across the top just sends my eyes in to fits. So here’s a bit of CSS that’ll hide nav bar in its current incarnation: body.with-eyebrow #eyebrow { display: none; } body.with-eyebrow { […]

July 13, 2013 | Computers | No comments

A few handy git aliases

I finally got fed up with some repetitive Git tasks and decided to make a few aliases in my .gitconfig file. Here are the commands, they all assume that they’re run from a valid git repo: Push your current branch to your upstream repository How often do you repeat the git command to push your […]

May 16, 2013 | *nix, Computers | 1 comment

MacPorts, Homebrew and Mountain Lion

The inevitable happened today. Mountain Lion was installed in a couple of different places. Unfortunately one of those places was at work and on a development machine before we had a chance to test out Mountain Lion compatability. Predictably, issues arose. Not surprisingly, at least to me, Homebrew has the biggest issue, and an issue […]

July 26, 2012 | *nix, Computers | 8 comments

WordPress TextMate Bundle: Better late than never edition (aka: 3.3)

FINALLY! WordPress 3.3 support is up for the TextMate Bundle. This is pretty much an update to the function definitions to add in new functions that were added in WordPress 3.3. I’ve been out of the WordPress loop for a little while now and I’m not up to speed to what some of the new […]

January 26, 2012 | Plugins, TextMate, WordPress | No comments

WordPress Bundle now works with The TextMate 2 Alpha

The WordPress TextMate bundle now works just fine with the TextMate 2 Alpha. It was easier than I thought it would be. It boiled down to some environment variables changing a little bit. No biggie. So, there it is. TextMate 2 Alpha support. If you notice anything weird please open a Support Ticket on GitHub. […]

January 6, 2012 | TextMate, WordPress | 1 comment

TextMate 2 and the WordPress Bundle

We’re all excited to see that TextMate 2 Alpha has been released. It was a long wait but by the looks of the Alpha it appears that the wait wasn’t wasted. There’s plenty to be happy about with the Alpha. I’ve been doing some cursory testing with the WordPress Bundle and so far it appears […]

December 13, 2011 | Plugins, TextMate, WordPress | No comments

Steve Jobs, 1955-2011

There’s plenty more folks out there that can be more poignant and eloquent towards eulogizing Steve Jobs so I’m going to leave that with them. Without an Apple computer company backed by Steve there’s a good chance that I wouldn’t be doing what I’m doing, where I’m doing it, and would have missed out on […]

October 6, 2011 | Computers, Life | No comments

New WP Salts command in the WordPress TextMate bundle

I just merged a pull request from Simon Wheatley in to the WordPress TextMate Bundle that adds the command wpsalts to generate the Security Keys for the WP Config file. The command uses the WordPress.org secret-key Service. Very handy. Thanks Simon!

September 14, 2011 | TextMate, WordPress | 1 comment

curl’ing a URL in TextMate

Ok, sorry, I can’t let all the BBEdit users think that they’ve discovered something new In case you’ve noticed the amazement lately on blogs and twitter where BBEdit users have discovered a way to open a curl’d url in BBEdit to view its source you may be wondering “how do I do this in TextMate”? […]

August 18, 2011 | TextMate | 1 comment

WordPress TextMate bundle updated for WordPress 3.2

So, WordPress 3.2 has been out for a little while now and I’ve just gotten around to updating the bundle. My apologies, I’ve just been super swamped with a new job in a new city. But that’s some whining for another post. After much fiddling, the updated WordPress TextMate Bundle is here and it has […]

July 11, 2011 | PHP Scripting, TextMate, WordPress | 1 comment

man Files as PDF, revisited.

I’ve posted before on converting man files to PDF for easier reading and forgot to post this update. The code is much terser, reminds you when you’ve invoked it without a parameter, and doesn’t leave turds that it has to clean up. #! /bin/bash mpg=$1 if [ ! $mpg ]; then echo “Enter a man […]

May 24, 2011 | *nix, Computers | No comments

Bash snippet to remove a line from a file

A while back I was working on a project that involved spooling up and shutting down a lot of Amazon EC2 instances while testing and I was constantly running in to an issue where my ~/.ssh/known_hosts file was out of sync with the server that I was connecting to. Despite how simple it is, I […]

May 5, 2011 | Computers | No comments

Beware MAMP’s default Caching Settings

MAMP is a wonderful thing. It allows for quick setup of a LAMP stack just about anywhere. This makes it great for testing. However, the folks who manage MAMP are focusing MAMP’s default settings towards production use, not development use. This means that XCache is turned on by default and that means that there is […]

March 14, 2011 | Computers, Web Design & Development | 3 comments

Why the AppleTV needs to support more video formats

Because no matter which computer I convert formats on this will happen a few times in each conversion.

January 29, 2011 | Computers | No comments

View man files as PDF

Sometimes viewing man pages on the command line is less than convenient. Ok, its always inconvenient. But there’s a better way: convert the man page to pdf and view it with Preview. Add this to a file, I named mine manv, put it in a safe place (I keep a /bin folder in my home […]

January 18, 2011 | Computers | 1 comment

WordPress TextMate Bundle Updated

WordPress 3.1 RC is here, so I figure its time enough to issue an update my [recently neglected, sorry 'bout that, its been busy] WordPress TextMate Bundle. All function definitions have been updated to the 3.1 RC code base. There is a tag for the 3.0 branch as it sat this afternoon. No new features […]

December 27, 2010 | PHP Scripting, Plugins, TextMate, WordPress | 1 comment

One more place to pollute the interwebs

about.me/shawnparker The only other thing it needs is a big sucking sound when you load the page…

December 2, 2010 | Computers | No comments

AppleScript to Detect Displays on Snow Leopard

One of the things about having a laptop and continually connecting and disconnecting from an external display is having to tell the system to detect the external (and sometimes the internal) display so that both displays are running. Simply detecting displays doesn’t seem to be an easily scriptable system event. I finally got an AppleScript […]

October 6, 2010 | Computers | 4 comments

WordPress TextMate Bundle Updated

I just updated the WordPress TexMate Bundle with some new features. Cron/Scheduled Events I’ve never really worked with the built in Cron in WordPress but have heard others talk about how much of a pain it is. After recently reading a Sitepoint.com article on scheduling events I was able to get the jist of it. […]

July 22, 2010 | Plugins, TextMate | 1 comment

Firefox view-source tab-width

Rejoice! There’s a way to set the tab with of the view-source window in Firefox. In March of this year Mozilla finally added an about:config option to control the tab-width in Firefox. I’m on Firefox 3.6.6 and it works like so: Enter about:config in the url bar. Filter the list (using the search box at […]

July 15, 2010 | Computers | 2 comments

WordPress TextMate Bundle is ready for WordPress 3.0

Today marks the release of WordPress 3.0 and with this release the WordPress TextMate Bundle is ready for it. The bundle had been updated to support the new features in WordPress 3.0 including, but not limited to: custom post types, featured images, and WordPress MU integration. The menu has been rearranged a little bit and […]

June 17, 2010 | Plugins, TextMate, Web Design & Development | 1 comment

Open a file’s parent folder as a Project in TextMate

So, I can’t count how many times I’ve opened a single file for editing in TextMate and then realized that I need to do more than just edit that one file. And most of the time the other files that I need to edit are in the same folder as the file that I’m currently […]

May 27, 2010 | TextMate | No comments

Add Bash syntax highlighting to Coda

Just a quick tip here. Panic’s web-focused IDE Coda uses SubEthaEdit’s rendering engine. Coda uses an OLDER version of SubEthaEdit’s rendering engine. So if you want to add syntax highlighting modes to Coda they have to be older versions. I wanted to add the Bash syntax mode from SubEthaEdit to Coda, but had to go […]

| Computers | 9 comments

Enable Etherpad to send email via GMail

By default Etherpad wants a local mail server to send email. We didn’t want to muck around with the security details of hosting a mail server so we decided to use our catch all GMail account to send email. The only problem was that Etherpad wasn’t set up to do TLS authentication when sending email. […]

March 15, 2010 | Computers | 1 comment

Blinking question mark on OS X Boot? Don’t panic just yet.

My MacBook Pro has been acting up again lately. Crashes, stalls, and overall wacky goodness. Yesterday I pulled it out of my bag after getting home and although I had put it to sleep, and confirmed that it was asleep before packing it away, it had crashed on the way home. When I restarted it […]

February 3, 2010 | Computers | 20 comments