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
1814
Bash - Display short manual page descriptions
Bash
0
2
1386
Bash - Make directories
Bash
0
1
1347
Bash - Remove a directory
Bash
0
1
1475
Bash - Delete file or Directory
Bash
0
1
1504
Bash - Overwrite a file to hide its contents, and optionally delete it.
Bash
0
1
1457
Bash - Locate the binary, source, and manual page files for a command
Bash
0
1
1429
Bash - Display the name of the user who runs the command
Bash
0
1
1339
Bash - Loop over files
Bash
0
1
2563
Bash - Loop over command line arguments
Bash
0
1
1561
Bash - OSX - Convert text to audible speech with say
Bash
0
1
1795
Bash - Change directory and list the contents
Bash
0
2
1543
Bash - Touch a file and make it executable
Bash
0
1
1618
Bash - Display information about the system your using
Bash
0
2
1453
Bash - Get the current git branch that is checked out
Bash
0
2
1502
Bash - List your SSH Keys
Bash
0
6
1518
Bash - Convert Bash function to one line and execute
Bash
0
2
1488
Bash - Truncate, remove contents of file
Bash
0
1
1508
Bash - Lookup the Dictionary Definition of a word
Bash
0
13
1728
Bash - Change the active terminal tab name
Bash
0
2
1467