Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Sort
Popular
Most liked
Most recent
Time
Today
Last week
Last month
Last year
All time
Select Languages
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
ColdFusion
Command
CSS
Delphi
Django
Grunt
Gulp
HAML
HTML
iOS
Jade
Java
JavaScript
jQuery
Less
MySQL
Objective
Other
Pascal
Perl
PHP
PowerShell
Processing
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
Smarty
SQL
Swift
VHDL
XHTML
XML
Xojo
XSLT
SCSS
CoffeeScript
GLSL
Progress
Stylus
ES6
Coffee
TypeScript
X++
Haskell
SmallBASIC
JSX
SVG
Plain text
LUA
MDX
Apply
Reset
popular • Bash
Get svn remote repository URL
Bash
0
0
1072
empty trash
Bash
0
0
1116
Move Multiple Comments Between WordPress Posts
Bash
0
2
983
migrate with flyway using command line
Bash
0
0
1298
Get rid of .sass-cache from Repo
Bash
0
2
1444
Add a File Extension to a Group of Files
Bash
0
2
1185
Jumping to the Finder location in Terminal
Bash
3
3
1118
The ‘r’ is for ‘raw’
Bash
0
0
1097
Global Git ignore
Bash
0
3
1550
log last 5 commit in current svn dir
Bash
0
2
1122
Append to .bash_profile and Update
Bash
0
2
1387
BEM.
Bash
0
0
1487
Google Chrome Discover USB devices
Bash
0
1
1121
Create .html of everything with QuickLook
Bash
0
2
1103
uncommit changes on git
Bash
0
3
1380
uncommit changes on git
Bash
0
0
1066
Bash - git helper functions
Bash
0
0
1119
Bash - Create new Directory with Subdirectories
Bash
1
2
1047
cd to the path of the front Finder window
Bash
0
0
1127
Launch Sublime Text from the Mac OSX Terminal
Bash
1
3
2624