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-110
create/login
options
RECENT
STUBS/REQUESTS
STARRED
ACTIVITY
ADD
recent in
linux
bash
linux
file
linux
szaki
Recursively chmod files only
permalink
related
edit
fork
history
bash
linux
file
linux
szaki
Recursively chmod directories only
permalink
related
edit
fork
history
bash
linux
time
timezone
linux
centos
Jahufar
Change System TimeZone (without rebooting your server)
permalink
related
edit
fork
history
bash
linux
convert
flac
mp3
aaron
Convert FLAC files in a directory to MP3
permalink
related
edit
fork
history
bash
linux
kill
process
70-162-80-33
Force-kill a process in linux
permalink
related
edit
fork
history
linux
bash
softlink
files
70-162-80-33
Create a symbolic (soft) link
permalink
related
edit
fork
bash
linux
find
70-162-80-33
Find files by extension
permalink
related
edit
fork
bash
linux
extension
files
adhall1
Change/rename file extensions
permalink
related
edit
fork
history
bash
linux
file
70-162-80-33
List open files
permalink
related
edit
fork
history
linux
bash
network
ip
70-162-80-33
Check for available devices in IP range
permalink
related
edit
fork
linux
mbr
70-162-80-33
Backup master boot record (MBR)
permalink
related
edit
fork
linux
bash
web
70-162-80-33
Mirror website with wget
permalink
related
edit
fork
bash
linux
memory
70-162-78-27
List motherboard's supported memory types and max supported size
permalink
related
edit
fork
history
linux
deb
debian
packages
ubuntu
aaron
Install .deb package from the command line
permalink
related
edit
fork
history
linux
lsof
port
processes
aaron
Find which process is bound to a port
permalink
related
edit
fork
history
1
2
next
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
linux
bash
+
shell
+
ruby
+
sh
+
ksh
+
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
+
bzip2
+
centos
+
convert
+
deb
+
debian
+
directory
+
extension
+
file
+
files
+
find
+
flac
+
gzip
+
ip
+
kill
+
linux
+
locate
+
lsof
+
mbr
+
memory
+
mp3
+
network
+
packages
+
port
+
process
+
processes
+
softlink
+
tar
+
time
+
timezone
+
ubuntu
+
web
+