June 2010
1 post
ipad javascript microframework →
// mini-pico-tiny convenience micro-framework, ymmvfunction $(id){ return document.getElementById(id); }function html(id, html){ $(id).innerHTML = html; }function css(id, style){ $(id).style.cssText += ';'+style; }function anim(id, transform, opacity, dur){ css(id, '-webkit-transition:-webkit-transform'+ ',opacity...
November 2009
2 posts
UnaVentanaDondePintar →
El código mínimo necesario para pintar a lo old school.
A 50 Lines-of-Code JavaScript Animation Framework:... →
October 2009
2 posts
3 tags
Simple example of using app engine to create a... →
from readme:
Example of using app engine as an email gateway to your app. Only intended as a throwaway example of the mechanisms involved. Obviously you'd probably want some approach to make it secure, and handle other parts of an email message, such as attachments. App Engine Docs: http://code.google.com/appengine/docs/python/mail/
issue tracker en menos de 50 líneas de código con... →
September 2009
2 posts
2 tags
compiladores e intérpretes en unos pocos bytes →
Ideales para un embebido :)
August 2009
1 post
1 tag
http://www.speakeasy.org/~lion/proj/scratch/ →
June 2009
1 post
2 tags
Python twitter logger addon →
Puede resultar útil para, por ejemplo, fallos críticos en una aplicación web, de forma que un critical se postee en twitter y lo leas desde un terminal móvil o similar. Merece la pena echar un ojo a la web principal del autor, sobretodo a los artículos de generators de la pycon08 (la de este año no me gustó tanto)
May 2009
5 posts
python Spreadsheet →
class SpreadSheet: _cells = {} tools = {} def __setitem__(self, key, formula): self._cells[key] = formula def getformula(self, key): return self._cells[key] def __getitem__(self, key ): return eval(self._cells[key], SpreadSheet.tools, self) >>> from math import sin, pi >>> SpreadSheet.tools.update(sin=sin, pi=pi, len=len) >>>...
2 tags
juno - a lightweight and simple python web...
Nada mejor que ver su “web hello world” particular:
from juno import * @route('/') def index(web): return 'Juno says hi' run()
juno es un framework web, muy al estilo de sinatra (otro miniframework escrito en ruby) que sopora desde el típico rounting, base de datos, templates, etc.
1 tag
Socks is an intuitive web toolkit written in JavaScript that allows you to...
– http://wiki.github.com/petejkim/socks
Muy curioso el sistema de layouts… me recuerda a swing, arg!