One of the things I found very strange is the fact that most operations that came with iOS prior iOS 5 which revolved around UIImage didn’t take into account the orientation of the image. This meant that if you want to read a picture from the camera roll and resize it, you’d have to roll [...]
I had to backup an S3 bucket so I whiped out a small script to clone a bucket. It’s written in Python and depends on the excellent Boto library. If you are running Python < 2.7 you’ll also need the argparse library (both available also via pip). View the gist here: https://gist.github.com/1275085 Or here below:
A while back Twitter announced the Snowflake service. Snowflake is a unique ID generator that is fast and generate 64bit integer unique ids that are “roughly sortable”. That is, newer ids are bigger than older ones, up to a certain point. The service was originally written in Scala (which runs on the JVM) and has [...]
For my latest venture, MyFamilio, I needed to know if a user’s Email address is a Gmail one so that I could show the user his/her contacts from Gmail. Figuring out if the user is on Gmail is usually easy – the Email ends with @gmail.com. But what happens for all of those Google Apps [...]
I was searching an example of using Python Imaging Library (PIL) to extract the GPS data from EXIF data in images. There were various half baked examples that didn’t handle things well, so I baked something of my own combining multiple examples. You can get it here: https://gist.github.com/983821 Or see it embedded below:
I know it took me a while (sorry) but I had a couple things on my plate. At first I wanted to release a more complete integration of OAuth within ASP.NET, but that will have to wait to the next time frame I can allocate to work on this. In the meantime, there is some [...]
This is a bit of shameless promotion but I think it’s worthwhile never the less :-) One of the things I did lately on my day job (Yedda) was to integrate it with Twitter (check the integration here and add Yedda as your friend!). Yedda is all about sharing and us sharing things like code [...]
I just read on the official Linden Blog that they have completed an initial version of hosting Mono within SecondLife. What they have done is to compile the Linden Scripting Language (LSL) into Intermediate Language (IL) code and they automagically gain all the advantages of the .NET Runtime – Just In Time (JIT) compilation, advanced [...]
A reader of this blog, Nate Olson, just informed me that there is another WordPress plugin for MicroID and is written by Richard K. Miller (Thanks Nate!). Richard’s plugin adds microid on the homepage (it uses the admin’s Email for that), on each of the posts (according to the Email of the post’s creator) and [...]
Continuing my WordPress plugin frenzy and after release the MicroID WordPress plugin, I’m releasing another plugin, this time for OpenID delegation. The plugin is named “OpenID Delegate” and you can read all the details and download it from here. Q: So what’s this OpenID I’ve been hearing about? A: According to OpenID.net: OpenID is an [...]