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
1843
Bash - Grep starts with term
Bash
0
2
1414
Bash - Grep ends with term
Bash
0
2
1502
Bash WP-CLI - Update All Plugins in all grepped Aliases
Bash
0
9
1944
Bash WP-CLI - Prompt to update all plugins on each alias
Bash
0
2
1383
Bash WP-CLI - Update all plugins in @all Aliases
Bash
0
2
1481
Bash WP-CLI - Generate a task list of all WP-CLI commands
Bash
0
1
1887
Bash - Find all files using eval(base64_decode and delete them
Bash
0
9
2197
Bash WP-CLI - Change user password
Bash
0
1
1453
Bash WP-CLI - Set admin user's role to subscriber across all aliases
Bash
0
5
1379
Docker: save/load container using tgz file (tar.gz)
Bash
3
2
22604
Bash - Find all directories n levels deep
Bash
0
2
1427
Bash - Find directories with reverse grep to exclude names
Bash
0
2
1738
WP-CLI - List All Roles
Bash
0
1
1359
Bash - Zip folder to filename with the same name.zip
Bash
0
1
1540
Bash - Zip folder while excluding hidden files recursively
Bash
0
2
1539
Bash - Update OSX's PHP version with HomeBrew
Bash
6
13
2206
Bash - Grep directly from $variable
Bash
0
2
1933
WP-CLI - Export GZip Compressed Database
Bash
0
8
4101
WP-CLI - Import GZip Compressed Database
Bash
0
7
3710