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 PHP - Use Bash to get PHP Info
Bash
0
0
1973
Bash - Read key value from JSON file
Bash
0
0
9972
Bash - Execute Remote Server Commands using JSON file for SSH Creds
Bash
0
0
2453
Bash - Rotate Log w/AWS S3 Backup
Bash
0
0
3089
Bash - Write Multi-line Content to File
Bash
0
0
1698
Bash - Search Directory Recursively for Term using grep
Bash
0
1
2104
Bash - Append vs. Replace
Bash
0
0
2145
Bash - Allow WordPress to Write Session Data
Bash
0
0
1857
Bash - Delete Files Matching Name Recursively
Bash
0
0
1432
find all matches awk
Bash
0
1
837
Bye bye, I prefer gist.github
Bash
1
1
901
Ubuntu: sniff tcp communications (binary output)
Bash
0
0
1745
Bash - Open VI at a specified line number
Bash
0
1
1525
Linux/rsync: Backup remote folder into local folder
Bash
0
3
1486
Bash - Open File in Application
Bash
0
0
1762
Bash - Create Alias for Command
Bash
0
0
2057
Bash - Remove Directory and Files
Bash
0
2
1471
Bash - show / hide hidden files (OSX)
Bash
0
0
1323
Bash - git helper functions
Bash
0
1
1054
Bash - Install Git on Debian/Ubuntu
Bash
0
2
1901