'Code' Tag

  • UIImage in iOS 5, Orientation and Resize

    November 7, 2011

    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 [...]

  • Clone S3 Bucket Script

    October 10, 2011

    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:

  • Determine if an Email address is Gmail or Hosted Gmail (Google Apps for Your Domain)

    July 17, 2011

    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 [...]

  • Extract GPS Latitude and Longitude Data from EXIF using Python Imaging Library (PIL)

    May 20, 2011

    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:

  • OAuth C# (very) Basic Library

    October 17, 2007

    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 [...]

  • Yedda Twitter .NET / C# Library

    May 16, 2007

    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 [...]

  • Blindly go where all men has gone before

    July 17, 2005

    I ran into this post today. It mainly talks about the extremes a great deal of developers “ping-pong” between during their life times. Catching the buzz words as they fly and instead of reviewing them and taking a few pointers that can enhance their current development procedure and cycle they just completely and utterly soak [...]

Switch to our mobile site

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org