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
Javascript
21
snippets by
Jesse Graupmann
JavaScript Universal Slug URL Generator
JavaScript
0
5
1929
Display desktop notifications | Javascript
JavaScript
8
51
11101
JS - Create Codepad.co Snippet Image Link
JavaScript
0
1
2402
Gulp: Site Specific Watch w/Fallbacks
Gulp
0
2
1826
Gulp: Zip Folder for Archive
Gulp
0
0
3135
Javascript: Chrome Dev Tools Console Commands
JavaScript
0
8
1985
jQuery: Embed Codepad.co Snippet in iFrame (TEST)
JavaScript
10
0
2229
Javascript - Google QR Code
JavaScript
0
2
1557
Javscript - VerbalExpression to Construct RegExr
JavaScript
0
1
2552
Pinterest Layout Plugin - Demo
0
6
1845
JavaScript - Create Pretty JSON from Object
JavaScript
0
0
1518
Bash - Use ApacheBench to measure the performance of HTTP web servers
Bash
0
8
8683
Bash - CURL a POST with custom UserAgent and follow redirects
Bash
0
6
2070
PHP - Set DateTimeZone of DateTime
PHP
0
4
1618
JavaScript Wordpress - Simple REST API w/jQuery
PHP
0
3
1447
JavaScript - Handle 404 with jQuery AJAX Request
PHP
0
3
1403
JavaScript - Don't Cache jQuery AJAX request
PHP
0
7
1612
JavaScript - Get Google Sheet data using jQuery
JavaScript
0
11
2141
NPM - Run Custom Bash Script with Arguments
Bash
0
9
2250
NPM - Run Custom Node Script with Arguments
Bash
0
3
1785
NodeJS - Write to file
Bash
0
13
1640