Git tricks

Posted on 19 May 2014 by jose

I've been using Git at work exclusively for a while now (like on Hackwater, we've finally moved off of Subversion), and I just want to leave a note to myself outlining some of the useful things I've come across.

Starting with git config, I like to enable color and credentials (for temporary passwordless Github auth). Also, with nearly 40 git repos, having a global ignore list is incredibly useful. I'm still trying to decide on git aliases that I like; I'll maybe do another post when I've definitively come down on those.

Drupal 6 maintenance mode missing head elements

Posted on 19 January 2012 by jose

Yesterday, I blacked out my site in protest of SOPA and PIPA. I figured the easiest way to do so was to create a quick custom theme just for the occasion, a minimalist theme inspired by BoingBoing's own SOPA Strike page. Further, I would switch my site to its offline mode, which meant I had to have a working maintenance page template.

I Dream of Android

Posted on 10 February 2011 by jose

In December of 2009, I upgraded my phone. I went from a Razr to a Cliq, which just happens to be a smartphone running Android 1.5. At the time, it was the best T-Mobile/Android offering within my budget; I also took advantage of their 0% financing/installment payment plan, which is a fantastic deal. Interest-free, I'd pay them $20 a month until the phone is paid off. With my particular plan, this option was better than a 2-year contract and its subsidized phone (I actually did the math). This netted me an awesome Android phone running Linux (yay!) with a neat slide-out keyboard.

Where have all my hackers gone?

Posted on 13 December 2007 by jose

Oh, Intarwebs! I didn't mean to abandon you! I owe you Puerto Rico pictures! And Thanksgiving pictures! See, I've just been playing with your cousin over at rpg.hackwater.com, doing some theme hacking. In fact, this week has been my best programming week so far, solving problems and applying fixes left and right. After finishing a medium project at work that had me doing some cool Drupal hacking, I turned to various small issues in my queue that had been getting no play thanks to my focus on the larger project.

Staring down the Bazooka

Posted on 30 September 2007 by jose

I've been heavily using Drupal for a couple months now, and I've finally absorbed enough to start troubleshooting the various migration issues that occurred when I went from Wordpress to what I'm playfully referring to as The Bazooka (because there's just so much you can do, and so many modules if you can't do something; it's amazing, and as I originally assessed years ago when I wanted a blogging platform, almost too powerful. Almost).

Mapper Template

Posted on 07 June 2006 by jose

I created a Page Template for the Tiga theme I'm currently using. I'm calling it Mapper, because it's the hook that will load my Google map page once I upgrade to the new API. Basically, I copied Tiga's page.php file and added an include to the PHP file that will actually load the map.

More Map Tweaks

Posted on 24 February 2006 by jose

At first, it seemed my vainglorious attempt to list my international (web site) hits would be a disaster: the access map page was not part of the Wordpress structure, and editing it was not as easy as it could have been. More importantly, even though I could greet those visitors on my Wordpress pages, which would get pushed to the main Hackwater page, the XML file listing all my hits geographically was not the easiest to read, as I wasn't doing any filtering (all my US hits were crowding out the relatively few international ones).

Back in Miami

Posted on 22 December 2005 by jose

I'm back home in Miami, having booted my parents' computer to Kubuntu to ssh into Hackwater (I'm lazy and don't want to install PuTTY). The default KDE browser, Konqueror, renders the Wordpress admin pages very poorly. I've also discovered that my site doesn't look too good on Konqueror or, on a Windows machine, at high resolution (1280x1024). The problem is that at home in Massachusetts, I can't get my resolution up that high for testing. But it looks like I've got some CSS hacking to do to get the site looking good.

Now With More Sidebar!

Posted on 10 July 2005 by jose

I've done Yet Another Site Re-design. I've added a sidebar for easier entry navigation, which played around with the way CSS floats behaved in Firefox and IE. I believe I've got most of those bugs ironed out, but now the archive navigation needs a re-write. Right now, the code is pretty messy; I'd like to go through and refactor it all. I'm tempted to completely re-write it, as the sidebar adds an interesting wrinkle: right now, the sidebar is generated from the id and subject line of the latest 10 entries. But I'd like to see if I can reduce the number of times MySQL is accessed.

Latest poll

Which do you favor?