Peer-reviewed code snippets that anyone can edit
follow refactory on twitter
blog
feedback
A wiki for useful code snippets
Bugs? Suggestions?
38-107-191-113
create/login
options
RECENT
STUBS/REQUESTS
STARRED
ACTIVITY
ADD
related to
Lua for Pythoners - Dictionary
public snippets
This is a community-maintained collection of reusable code snippets.
Contribute something
without logging in, or improve existing contributions. All code is dedicated to the public domain unless otherwise specified.
stats
/
top contributers
Languages
highlight
sort:
alpha
/
pop
show:
top
/
all
javascript
javascript17
+
javascript18
+
ecmascript5
+
html
+
ecmascript
+
javascript16
+
jquery
+
js
+
smalltalk
+
4d
+
actionscript
+
actionscript3
+
apl
+
assembly
+
awk
+
bash
+
bat
+
batch
+
brainfuck
+
c
+
cake
+
cakephp
+
cmd
+
cocoa
+
commonlisp
+
cpp
+
csharp
+
css
+
curl
+
delphi
+
ecmascript
+
ecmascript5
+
elisp
+
erlang
+
fortran
+
haskell
+
html
+
java
+
javascript
-
javascript16
+
javascript17
+
javascript18
+
jquery
+
js
+
ksh
+
linux
+
lisp
+
lua
+
modula-3
+
mysql
+
net
+
obj-c
+
octave
+
perl
+
php
+
php4
+
php5
+
powershell
+
propel
+
python
+
r
+
rebol
+
regexp
+
ruby
+
scheme
+
sed
+
sh
+
shell
+
smalltalk
+
svn
+
svn15
+
swing
+
symfony
+
symfony12
+
tcl
+
uikit
+
vala
+
vb
+
vb60
+
vba
+
vbscript
+
vim
+
visualbasic
+
z80
+
Keywords
highlight
sort:
alpha
/
pop
show:
top
/
all
accessors
+
ajax
+
anonymous
+
apng
+
array
+
array-generic
+
arrays
+
attributes
+
base36
+
bind
+
boolean
+
browser
+
calculator
+
check
+
checkbox
+
confirm
+
controlstructure
+
create
+
dialog
+
dom
+
e4x
+
each
+
errors
+
event
+
eventdispatcher
+
eventlistener
+
eventtarget
+
exchange
+
fibonacci
+
firebug
+
foreach
+
forms
+
frames
+
function
+
functional
+
generic
+
go
+
heat
+
href
+
htmlcollection
+
ie
+
ie8
+
ifelse
+
iffalse
+
iftrue
+
interface
+
iterator
+
jetpack
+
jquery
+
location
+
log
+
mixin
+
namespaces
+
nodelist
+
number
+
objectprototypetostring
+
objects
+
prototypal
+
prototype
+
recursion
+
redirect
+
regexp
+
regular-expression
+
runtime
+
search-pattern
+
selectall
+
selectors
+
static
+
string
+
tables
+
templating
+
textcontent
+
thread
+
times
+
to
+
tostring
+
trim
+
unwatch
+
url
+
watch
+
webworker
+
whilefalse
+
whiletrue
+
whitespace
+
xml
+
xmllist
+