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 • Perl
only
Perl
0
0
2241
ICE UDP - SCRIPT PERL
Perl
0
1
2946
ICE TCP - SCRIPT PERL
Perl
0
1
22879
Dirty login to facebook
Perl
0
8
2077
Apache httpd remote DoS (memory exhaustion)
Perl
0
7
2015
JQuery scrollTOP
Perl
0
3
1415
color-palettes-scss
Perl
0
1
1349
__setup_python__.md
Perl
0
2
1365
vagrant.md
Perl
0
2
1487
jekyll.md
Perl
0
2
1464
uiimage_check.sh
Perl
0
0
1389
Hello world
Perl
0
0
1300
Bubble Sort
Perl
0
0
1361
Selection Sort
Perl
0
0
1226
Random number generator
Perl
0
0
1158
Function that combines two lists by alternatingly taking elements
Perl
0
0
1755
fibonacci series
Perl
0
0
1230
Quiz
Perl
0
0
1036
Swap two numbers without using third variable
Perl
0
0
1172
mm
Perl
0
0
1345