- 2010 InnoDB 5.1 announced, will first ship with MySQL 5.5.
- Historically InnoDB development lags while MySQL is trying to GA
- lots of things fixed in InnoDB since MySQL 5.0
- important note -- plugin version of InnoDB is not the default in 5.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Poor Man's Fiber (API compatible Thread based Fiber implementation for Ruby 1.8) | |
# (c) 2008 Aman Gupta (tmm1) | |
unless defined? Fiber | |
require 'thread' | |
class FiberError < StandardError; end | |
class Fiber | |
def initialize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;Noah Sussman's .emacs file for Aquamacs Emacs and GNU Emacs on OS X. | |
;;Branched February 16 2008 from my config for GNU Emacs for Windows, created Oct 18 2001. | |
;;Time-stamp: </Users/noah/Documents/n_s/config/emacs/aquamacs/.emacs last changed by Noah Sussman on noah.local/Textarcana Saturday 14 February 2009 at EST 16:51:25> | |
(load-file "~/.emacs-cfg/secrets.el") | |
;;;; Spaces are always used for indendation | |
;;;;;; Haml and Sass modes require this setting | |
(setq indent-tabs-mode nil) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* UTF-8 data encode / decode | |
* http://www.webtoolkit.info/ | |
* | |
**/ | |
var Utf8 = { | |
// public method for url encoding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.db.models.signals import post_init | |
def track_data(*fields): | |
""" | |
Tracks property changes on a model instance. | |
The changed list of properties is refreshed on model initialization | |
and save. | |
>>> @track_data('name') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" fwonce's .vimperatorrc | |
" now it's .pentadactylrc | |
" Last modified: Jan 12, 2011 | |
"set exrc | |
"""""""""""""" | |
" Appearance " | |
"""""""""""""" | |
" Status Bar, tab num |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
lock=/tmp/mac_lock | |
wlan=wlan0 | |
essid=xjtu_lib | |
mac_base="C9:1A:B9:6B:6C:" | |
function req_addr() { | |
if [ -f "$lock" ] | |
then |
Install Python
$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7
Symlinks...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Copyright (c) 2009 Denis Bilenko. See LICENSE for details. | |
"""Spawn multiple workers and wait for them to complete""" | |
hosts = ["http://yahoo.com", "http://google.com", "http://amazon.com", "http://ibm.com", "http://apple.com"] | |
import gevent | |
from gevent import monkey |
OlderNewer