klenwell information services : SpecialCocktailNapkin

Revision [916]

This is an old revision of SpecialCocktailNapkin made by KlenwellAdmin on 2008-06-02 15:19:54.

online cocktail napkin

links and notes for later organization
CocktailNapkin2007 2007 Cocktail Napkin

a pythonic tribute to xkcd:
# php: print x = ( isset($C[$k]) ) ? $C[$k] : ( isset($D[$k]) ? $D[$k] : 'default');  
xkcd = lambda x,k,c,d: (({k:False},d,c)[int(''.join([str((int(k in t))) for t in [c,d]]),2)])[k] or x

C = {'a':1, 'b':2}
D = {'needle':'got it!', 'a':23}
C1 = D
D1 = C
X = 'default'
K = 'needle'

print xkcd(X,K,C,D)
print xkcd(X,'missing',C,D)
print xkcd(X,K,C1,D1)

more django: modelforms forms
rent or buy: http://www.nytimes.com/2008/05/28/business/28leonhardt.html calculator
google ajaxlibs (/.)
pointers (to the point)
500 Fonts all at once
leave it to Jesus 666
django forms django newforms django form validation django form tests (examples) django forms wizard
scripps 05.23: 1 2 3
http://code.google.com/p/google-app-engine-samples/wiki/GoogleAppEngineSamples djangoforms model keys
lots of data (courtesy of my alma mater)
querying gapp
sessions: datastore class appcaching
words for groups of animals
klenwell @ google app engine links to good gapp tips
php debug
Project Alia
free as in beer beer
no plastic surgery!
on fonts: fontstruct the prophecy
stupid lambda tricks: in_dict_list = lambda dic, k, v: v in [d[k] for d in dic]
steampunk == tomorrowland 1998
google app engine scaling with gae a review python in gae gApp on ubuntu gApp example code
komodo js api
AI Winter is over
http://www.gnu.org/software/diction/ http://www.link.cs.cmu.edu/link/ overview tests wikipedia
pidgin (nice home page)
the sitcom (./) | Berners-Lee on Web
shoutcast streams see also vlc
/. life lessons: if arrested...
John McCain ad hominem
HTML entities
Simon-Ehrlich Wager Krugman
removing a file from a python repo without deleting use hg rm -A (e.g. hg rm -A dir/*)
oc baby names
komodo edit saving preference file
igoogle API
Yahoo Analytics (IndexTools)
cakephp cache benchmark

# cron.d file
# to activate, link to /etc/cron.d: ln -s <path>/fname.cron /etc/cron.d/link_name

# +---------------- minute (0 - 59)
# |  +------------- hour (0 - 23)
# |  |  +---------- day of month (1 - 31)
# |  |  |  +------- month (1 - 12)
# |  |  |  |  +---- day of week (0 - 6) (Sunday=0 or 7)
# |  |  |  |  |
# M  H DM MO DW        USER       SCRIPT

the commodities bubble
oss binary blobs
emacs: customize manual tour


    # decapitate parent

    # fork #2
        pid = os.fork()
        if pid > 0:
            print "pid: %d" % pid
    except OSError, e:
        print >>sys.stderr, "fork #2 failed: %d (%s)" % (e.errno, e.strerror)
    # A Mighty Daemon has been spawned.  Hail Satan!

    # Get pointer to "/dev/null"
    if (hasattr(os, "devnull")):
        REDIRECT_TO = os.devnull
        REDIRECT_TO = "/dev/null"

simple text summarizer simple search engine
ny times: wall st. sleaze some guy who wrote a program to write 200,000 books
cakephp: shared core setup app-indy lib plugins
<a href="http://mushpup.org/">pw</a>: m{d/u}l11
python encoding: nutshell unicode tutorial
python on web: modpython zope google webapp
google app engine
vim: marks and jumps
PHP PCRE Issue: cause cause bugs.php.net a solution
Moby Project Roget's
unix cheat sheet
vostro 1400
rent v. buy bloomberg mortgage calculator
Garfield - Garfield = Existential Humor
Cool Dingbats: bittbox.com
Tivo for Radio: excellent tutorial streamripper (windows or linux)
OS Flash Dev: MTASC flashdevelop.org game dev
CakePhp config: multiple apps on single site admin subdomain
SSL on Debian Apache2: ilovett.com debian-administration.org
Goodbye Cruel Word: Hello, lyx!
Fun with apache logs: set-up parsing archiving logs scp man