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
NPM - Run Custom Node Script with Arguments
Bash
0
3
1767
Node - Start node server from command line
Bash
0
3
1354
NodeJS - Write to file
Bash
0
13
1628
Basic Commands
Bash
0
9
1073
Ubuntu: block external incoming ip address
Bash
0
8
1966
Ubuntu: Unblock external ip address
Bash
0
9
2073
LAMP Ubuntu AWS Install from Bash Shell
Bash
0
4
1844
Aliases - Making Ubuntu Commands Easy
Bash
0
1
1104
Apache AWS Ubuntu Install Script in Shell
Bash
0
1
1149
PHP AWS Ubuntu Install Script in Shell
Bash
0
1
1077
MySQL AWS Ubuntu Install Script in Shell
Bash
0
1
1187
Search malicious code on the website
Bash
1
7
1366
Start the FTP Server in OS X
Bash
0
9
1443
Javascript: no-jquery cross-browser event handler accepting arguments
Bash
0
8
1567
Get version of Drupal, Joomla and Wordpress sites
Bash
0
9
1100
Update Drupal core from command line
Bash
1
8
1303
Terminator Settings
Bash
0
8
1290
dump only tables from postgres (cli)
Bash
0
9
1228
Add a timestamp to your bash history
Bash
0
8
1423
Show all columns for a specified table (Postgres)
Bash
0
8
1259