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 - Show full year calendar in the console
Bash
0
1
1754
Bash - Display short manual page descriptions
Bash
0
2
1345
Bash - Make directories
Bash
0
1
1315
Bash - Remove a directory
Bash
0
1
1420
Bash - Delete file or Directory
Bash
0
1
1473
Bash - Overwrite a file to hide its contents, and optionally delete it.
Bash
0
1
1406
Bash - Locate the binary, source, and manual page files for a command
Bash
0
1
1375
Bash - Display the name of the user who runs the command
Bash
0
1
1301
Bash - Loop over files
Bash
0
1
2445
Bash - Loop over command line arguments
Bash
0
1
1518
Bash - OSX - Convert text to audible speech with say
Bash
0
1
1744
Bash - Change directory and list the contents
Bash
0
2
1501
Bash - Touch a file and make it executable
Bash
0
1
1571
Bash - Display information about the system your using
Bash
0
2
1406
Bash - Get the current git branch that is checked out
Bash
0
2
1467
Bash - List your SSH Keys
Bash
0
6
1478
Bash - Convert Bash function to one line and execute
Bash
0
2
1446
Bash - Truncate, remove contents of file
Bash
0
1
1458
Bash - Lookup the Dictionary Definition of a word
Bash
0
13
1683
Bash - Change the active terminal tab name
Bash
0
2
1422