Tweet Existing browser CSS3 border-radius implementations bleed so much color it makes me cry. Back to PNG's
Tweet Existing browser CSS3 border-radius implementations bleed so much color it makes me cry. Back to PNG's
Tweet Lesson learned: Always check your MX records manually, dont trust your domain host, lost 5 days worth of email. Yay!
Tweet Hot weather, summer and sunshine, perfect day for some extensive HTML5 <video> research!
Tweet http://www.html5rocks.com/... looks like fun.
Tweet Digitally Suicidal? [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo *Click*
Delicious Raphaël—JavaScript Library - Raphaël is a small JavaScript library that should simplify your work with vector graphics on the web.
View on githubコナミコマンド ↑ ↑ ↓ ↓ ← → ← → B A
if ( window.addEventListener ) {
var k = [], konami = "38,38,40,40,37,39,37,39,66,65";
window.addEventListener("keydown", function(e){
k.push( e.keyCode );
if ( k.toString().indexOf( konami ) >= 0 ) window.location = "http://www.youtube.com/watch?v=GuIBj0R2ui4";
}, true);
}
Delicious Modernizr - Modernizr is a small and simple JavaScript library that helps you take advantage of emerging web technologies (CSS3, HTML 5) while still maintaining a fine level of control over older browsers that may not yet support these new technologies.
View on githubDjango Template pagination for a generic object_list view
{% if page_range|length > 1 %}
<div id="pagination">
Page
{% for range in page_range %}
{% ifequal page range %}
{{ range }}
{% else %}
<a href="?page={{ range }}">{{ range }}</a>
{% endifequal %}
{% endfor %}
{% if page_obj.has_next %}
<a href="?page={{ page_obj.next_page_number }}">Next</a>
{% endif %}
</div>
{% endif %}
Tweet Come on England! #bigcheer
Tweet PYTHON... pip install fails....PyPi seems to be down... dont panic!
I am not much for lists... but after a fresh install of OSX, I found it useful to make a list of all my previously installed TextMate bundles, so here goes.
Tweet Django 1.2 to be released tomorrow, yay!
View on githubA few things that almost always goes into my settings.py
from os.path import abspath, dirname, join as pjoin
PROJ_ROOT = abspath(dirname(__file__))
DEFAULT_EMAIL_FROM = 'abc@edf.gh'
ORDER_EMAIL_TO = 'abc@edf.gh'
MEDIA_ROOT = pjoin(PROJ_ROOT, 'media')
MEDIA_URL = '/media/'
ADMIN_MEDIA_PREFIX = '/media/admin/'
TEMPLATE_DIRS = (
pjoin(PROJ_ROOT, 'templates'),
)
try:
from local_settings import *
except ImportError:
pass
View on githubServing static media with the Django development server
if settings.DEBUG:
urlpatterns += patterns('',
(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
'document_root': settings.MEDIA_ROOT,
'show_indexes': True}
),
(r'(.*\.html)$', 'django.views.generic.simple.direct_to_template'),
)
Tweet Apple and Flash http://www.apple.com/hotnew...
A lightweight jQuery plugin for enabling collapsible lists with cookie support
Delicious Galleria – a JavaScript gallery for the fastidious. - Re-written an open-sourced under MIT, go fork it on github.
Tweet The new Facebook graph API just made last weeks work redundant.
If you've ever worked with JavaScript against services like Twitter or YouTube. You've most likely come across date/times based on the ISO 8601 standard.