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
Bash - Passing Named Arguments to a Function
Bash
0
3
3240
Bash - Passing an Array to a Function
Bash
0
0
1795
Bash - Dictionary Hash Key / Value Pairs using Arrays
Bash
0
3
2765
bash : git squash commits steps
Bash
0
0
1558
svn repo dir list
Bash
0
0
1122
forward port 8080 to 80 on any incoming traffic
Bash
0
0
1044
swaks send test-mail
Bash
0
0
2673
creating alias git
Bash
0
2
1157
Check MD5 SHA1 Hash
Bash
0
0
1422
thug life *dangerously
Bash
0
0
1046
Resolving the git conflicts with FileMerge
Bash
0
2
1053
Make password protect zip files
Bash
0
2
1094
Linux: Get number of pages of PDF document via command line
Bash
0
1
1747
generate htaccess password (htpasswd) from the command line
Bash
0
1
3112
minimal sass
Bash
0
1
1092
ISPManager clear cache
Bash
0
2
2028
echo to file
Bash
0
0
1030
centos ruby install
Bash
0
0
1092
Standard Output/Error For Loop Script
Bash
0
2
993
Ejemplo de CASE en BASH
Bash
0
2
3503