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 - Grep all WP-CLI aliases from config.yml
Bash
0
1
1855
Bash - Grep starts with term
Bash
0
2
1421
Bash - Grep ends with term
Bash
0
2
1508
Bash WP-CLI - Update All Plugins in all grepped Aliases
Bash
0
9
1952
Bash WP-CLI - Prompt to update all plugins on each alias
Bash
0
2
1397
Bash WP-CLI - Update all plugins in @all Aliases
Bash
0
2
1487
Bash WP-CLI - Generate a task list of all WP-CLI commands
Bash
0
1
1895
Bash - Find all files using eval(base64_decode and delete them
Bash
0
9
2211
Bash WP-CLI - Change user password
Bash
0
1
1458
Bash WP-CLI - Set admin user's role to subscriber across all aliases
Bash
0
5
1385
Docker: save/load container using tgz file (tar.gz)
Bash
3
2
22624
Bash - Find all directories n levels deep
Bash
0
2
1436
Bash - Find directories with reverse grep to exclude names
Bash
0
2
1745
WP-CLI - List All Roles
Bash
0
1
1363
Bash - Zip folder to filename with the same name.zip
Bash
0
1
1546
Bash - Zip folder while excluding hidden files recursively
Bash
0
2
1546
Bash - Update OSX's PHP version with HomeBrew
Bash
6
13
2218
Bash - Grep directly from $variable
Bash
0
2
1939
WP-CLI - Export GZip Compressed Database
Bash
0
8
4118
WP-CLI - Import GZip Compressed Database
Bash
0
7
3730