art blog(derogatory)
YOU ARE THE REASON
"I'm Dorothy Gale from Kansas"
taylor price
we're not kids anymore.
Sade Olutola
Keni

Product Placement

shark vs the universe
hello vonnie
almost home
Misplaced Lens Cap

JVL
Claire Keane
🪼
tumblr dot com
2025 on Tumblr: Trends That Defined the Year
$LAYYYTER
Not today Justin
No title available
seen from United States
seen from Türkiye
seen from Brazil
seen from United States
seen from United States

seen from Malaysia
seen from United States

seen from Chile

seen from United States
seen from United States
seen from Australia
seen from Colombia

seen from Singapore

seen from Australia

seen from Malaysia

seen from United Kingdom
seen from United States

seen from Malaysia

seen from Portugal

seen from China
@frommindimportcode
Javascript Prototype Pattern with Default Options
Ever wanted to write a javascript 'class' and have some defaults that were override-able? This is fairly easy to do using jQuery. There's a great little function called extend. There are some great examples in the jQuery docs but all you really need to know to get started with it is that the first parameter it accepts is the pre-defined defaults that you'll specify in your 'class.' The second parameter is where the extend function will source the values to override your pre-defined defaults. Here's a basic example, it follows the prototype pattern.
https://gist.github.com/4254777
Obviously there is no real functionality in this class but it demonstrates the extend function pretty well.
Yahoo GeoPlanet (WOEID) Example in Python
I wrote a small function that someone might find useful. It just simply passes a string to Yahoo's GeoPlanet service and returns the WOEID and location name. It relies on the request library and pulls the app id from Django settings, but that can obviously be easily adjusted.
This little snippet will be useful for finding the correct value to pass Twitter for their location based API calls.
https://gist.github.com/4115787
Backbone.js and Django-Tastypie Autocomplete Example with jQuery Mobile
Recently I was working on a small application to manage my daily expenses. Like most people, I'm a creature of habit and go to the same places every day. So with the expense tracking came the idea that I could remember tags I had previously used for my purchses. There really aren't a good solutions for doing this with jQuery mobile besides this. Which is fine, but it seems much more fitting to use Backbone.js. I was already using it on other parts of the application so here is what I came up with:
https://gist.github.com/4028975
I'm sure it's very overkill but it just finds 'Tags' that start with the provided input. It's a very basic example but it worked really well for what I was trying to accomplish. This solution also takes advantage of backbone-tastypie.
Stripe.js: Displaying Credit Card Type Image
I recently worked on a project with a friend and we decided to use Stripe for payments. I had always seen those neat little payment forms that display a card type image after you enter your credit card and I thought it would be a nice touch. The project ended up going nowhere because it always exist (what doesn't these days?) Regardless, hopefully someone else will enjoy this code and find it useful. Documentation for the Stripe functions used, and others, can be found here.
https://gist.github.com/4021764