Twitter Updates
- @kennethreitz @alex_gaynor @pydanny you can get a 95% sol'n with flags to pip:--find-links & --index-url and a .sh to d/l your deps. 8 hours ago
- One of my favorite things is when big sites load without CSS. 9 hours ago
- Seems as though #Reddit is so tied to #imgur that when imgur goes down, reddit goes down too. Web architecture FAIL! 9 hours ago
- Bought new headphones. They sound so bad I'm left wondering if they intentionally crippled them to upsell more expensive models. 11 hours ago
- git bloodbath -f 4 days ago
Blogroll
- 914 electric conversion blog
- ALL ART BURNS
- Arcade Zen
- Brian’s Gallery
- Chili’s World
- Chocomonkey’s Blog
- Follow me on Quora!
- Follow me on Twitter!
- Google Blog
- Juan’s website
- Julia y Daniel
- Katja’s Blog
- Kulick’s blog
- Paul’s Time Sink
- Peter S. Conrad
- Sad Salvation
- Slacy’s Gallery
- Snake Surley
- Sprang’s Blog
- Super Karate Monkey Fist
- Third Time Dad
- Universe Hacking
- Valspark
- Zac’s Story
- Zeigen, Inc.
Tag Archives: html
Simple asynchronous form submission using jQuery
It’s not hard to submit a form asynchronously in jQuery. Here’s a little example. I put a block like this right below my form element. <script type=”text/javascript”> $(“#my_form”).submit(function() { $.ajax({ type: “POST”, url: “/path/to/post/handler/”, data: $(“#my_form”).serializeArray(), success: function() { // … Continue reading
Cleaner pattern for loops in Django templates?
I find myself typing stuff like this a lot: {% for item in list %} {% if forloop.first %}<ul>{% endif %} <li>{{ item.value }}</li> {% if forloop.last %}</ul>{% endif %} {% empty %} <p>No items in list.</p> {% endif %} … Continue reading
Help me with a CSS issue?
Hey, having issues with CSS+HTML again. I’m working with a resizable <div>, and I want to make sure that no matter what size it’s container, that I have a middle section that fills the “main” middle area of the div. … Continue reading
Can we all agree that “Programming Language” := “Turing Complete”
I’m tired of articles like this one that say things like XML essentially is a programming language that allows users to customize the underlying format of their word-processing documents It peeves me a lot when people refer to things like … Continue reading