I had a need for switching back and forth between two different values in a hidden input field. I couldn’t find any decent plugins to achieve this, so I wrote a little jQuery plugin to handle this.
Download here. Using it is dead simple, just pass in the two values you want to toggle between.
[javascript]$("#element").toggleValue("true","false"); [/javascript]
Iran and New Media
Three things really stand out about the current Iranian conflict. 1. User generated content is easily able to slip through any blocks that the government puts in place over traditional media. Journalists were locked in hotels in the dark, while a protester sitting on a balcony can snap pictures and post on Flickr/YouTube/Twitter/Blogs. 2. Instead of new media sources being used to highlight...
DC Open311 API – Ruby Gem
Background: The DC government is exposing an API for their 311 call center, to allow application developers to build open source tools to make it easier for citizens to submit issues. As part of it, they and iStrategyLabs have launched a second Apps for Democracy contest. The creative juices are flowing, and I have a few ideas I plan on implementing. But first things first… in order to make...
Developer Day DC
Last weekend, a few dozen developers gathered together at Viget’s beautiful offices in Reston to… talk nerdy. Out of all the conferences I’ve been to, it was one of the best. It was directly honed on developers, and all talks were targeted as such. That meant no talks about marketing, gov 2.0, branding, public relations, blogging, twitter, or anything else social media/PR, etc...
Learning ImageMagick with Run DMC
Wait — what? Every PHP Web Developer, or any other kind of web developer, has, at one point, butted heads with ImageMagick, or its inferior nemesis, GD. We’ve tussled with setup and installation, debugged scripts, and stolen code, but rarely do we look to it for anything beyond generating a thumbnail or resizing an image. Armed with nothing more than the native manual, I started...
Christmas Day 2008
Like last year, I woke up at 5 AM to work at a soup kitchen in DC. It’s always fun to drive around DC afterwards, as the streets are empty.
I’ve got a Tumblr
I’ve realized that I’ve been running a Tumblr miniblog for months, and haven’t actually publicized it.
While I prefer to use this blog to “write stuff” I do find a good amount of cool stuff as I’m online, and collect it all on Tumblr.
Check it out!21stcenturydigitalboy.com
The name is after a song by Bad Religion:
While Detroit Slept
Tom Friedman has a great op-ed in the NY Times regarding the auto bailout. He raises a good point which I believe can apply to entrepreneurship… As I think about our bailing out Detroit, I can’t help but reflect on what, in my view, is the most important rule of business in today’s integrated and digitized global market, where knowledge and innovation tools are so widely...
Volunteer on December 25th
What do Jews usually do on Christmas Day? Movies. Chinese Food. Add on Community Service as well. Last year I participated in the DCJCC’s December 25th Day of Service, and am planning to do it again this year. The earliest slot, 6 AM, is a lot of fun, and the streets of DC are empty! Even if you are observing the holiday, you can be back before everyone else wakes up. I signed up for...
Obama Widget, Version 0
I had an idea for a widget, and felt like brushing up on my Flash and Actionscript skills.
Here is a very very rough Version 0, with Clearspring already set up!
I have to work a lot more on the style of course. I’m also thinking that these narrow dimensions just arent cutting it.