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
Please
Login
or
Register
Walter House
46
Followers
240
Snippets
Snippets
Collections
Newest
Oldest
Popular
Most comments
Most views
Show duplicate IDs
JavaScript
0
0
373
Fix all the wrong author names and emails for all branches and tags with this command
Bash
0
0
389
Convert All Pages of PDF File to Images
Bash
0
0
663
cloudinary Arial text
Bash
0
0
383
find big files in git history
Bash
0
0
386
var inside switch statement
JavaScript
0
0
394
How to grep Git commit diffs or contents for a certain word
Bash
0
0
411
iptables mangle
Bash
0
0
515
.eps to .svg
JavaScript
0
0
673
cloudinary crop
JavaScript
0
0
673
flac add cover
JavaScript
0
0
609
api github gists
JavaScript
0
0
615
Chrome monitor events
JavaScript
0
0
658
ffmpeg segment_time 15s
Bash
0
0
692
imagemagick png to jpg resize
Bash
0
0
687
Make bootable usb on mac from iso
Bash
0
0
653
make a sequence
Bash
0
0
719
Find and replace
Bash
0
0
663
Basic Regular Expressions - regex - egrep
Bash
0
0
752
entr a watch written in c
Bash
0
0
656
one git branch one commit
Bash
0
0
704
checkurls
Bash
0
0
752
Kilo -- A very simple editor
C
0
0
1029
awk find replace increment
Bash
0
0
664
calibre ebook-convert pandoc
Bash
0
1
716
Pandoc example
Bash
0
1
809
vim buffer
Bash
0
1
772
demandware
Bash
0
0
780
.vscode/launch .json
Bash
0
0
748
Simpel base64
Bash
0
0
714
npm windows-build-tools
Bash
0
0
822
Clear all Node Modules Folders Recursively Mac/Linux
Bash
0
0
789
Git reset soft - git undo
Bash
0
0
757
Mirroring a git repository in another location
Bash
0
0
987
Restore the single deleted file with git
Bash
0
0
703
os x cleanup
Bash
0
0
759
wget javadoc
Bash
0
0
821
httrack LOCALDIRECTORY
Bash
0
0
696
git stash save
Bash
0
0
861
Remove a git commit from history
Bash
0
0
751
Emulate Charles Proxy’s Map Local with mitmproxy
Bash
0
0
879
Manually install a man page file
Bash
0
0
780
Bootable MacOS Mojave Installer Drive usb
Bash
0
0
782
launch json
JavaScript
0
0
792
Bookmark GoTo view-source
JavaScript
0
0
748
dzen2 simple menu
Bash
0
0
914
config notification
Bash
0
0
808
play all mp3 folder
Bash
0
0
702
remove purge clean autoremove
Bash
0
0
792
BKP ZIP current DIR
Bash
0
0
789
jquery simple custom events
JavaScript
0
0
819
simple rsync command
JavaScript
0
0
816
getUrlParameter js
JavaScript
0
0
876
mojave mirage
JavaScript
0
0
769
This or that es6
JavaScript
0
0
872
Batch Converting jp2 to jpg
Bash
0
0
771
make executable
Bash
0
0
779
Create a branch from a tag
Bash
0
0
758
Split images into multiple files
Bash
0
0
815
vsts cli pr
Bash
0
0
1270
Detect Key press
Bash
0
0
851
Add remove apps windows
Bash
0
0
777
yt playlist mp3
Bash
0
0
854
Change screen brightness
Bash
0
0
800
Debian set default desktop manager
Bash
0
0
770
Compile and configure dwm
Bash
0
0
1011
GRV — Git Repository Viewer
Plain text
0
0
873
Determine default display manager is in use
Plain text
0
0
834
To shutdown the system
Plain text
0
0
921
debian install nodejs npm
Bash
0
0
862
LNX Sublime Chrome
Bash
0
0
964
install xinit terminator dbus
Perl
0
0
917
how to become a superhero sudoers
Bash
0
0
747
make usb disk debian from mac
Bash
0
0
1128
DWM
Bash
0
0
922
To list all files added in the new branch
Bash
0
0
799
Perl "Simple" Webserver
Perl
0
0
911
ruby Simple HTTP Server
Ruby
0
0
934
GIT hard reset
Bash
0
0
1041
isloop
Bash
0
0
1163
shipping
JavaScript
0
0
900
Replace the first instance with a unique placeholder then split from there.
Bash
0
0
753
Remove all your local git branches but keep master
Bash
0
0
894
wget and rename
Bash
0
0
965
bash watch
Bash
0
0
938
combine junit xml
Bash
0
0
1056
install pip3
Bash
0
0
894
simple symbolic link
Bash
0
0
837
To list all installed package deb
Bash
0
0
842
Simple HTTP Server With Upload.
Python
0
0
3575
kill mysql
Bash
0
0
910
10 step git dotfiles
Bash
0
0
876
Debian install go lang
Bash
0
0
800
Debian install ruby gem
Bash
0
0
841
today
Bash
0
0
891
gitlab-cli merge request
Bash
0
0
865
Awesome gitlab commit message issue
Bash
0
0
803
print simple date
Bash
0
0
803
wget subl & chrome
Bash
0
0
852
Preferences.sublime-settings
JavaScript
0
0
868
simple .Xresources
JavaScript
0
0
952
tmux cli simple command
Bash
0
0
879
YT to mp3
JavaScript
0
0
1012
Debian sublime keymap
JavaScript
0
0
806
where is installed
Bash
0
0
804
xampp control panel
Bash
0
0
1115
change color grub
Bash
0
0
910
Split into pieces
Bash
0
0
863
Preventing Lid Close Suspension
Bash
0
0
843
Gnome .desktop app
Bash
0
0
867
Global Git ignore
Bash
0
0
805
man bash | Bash manual
Bash
0
0
908
Install npm packages globally without sudo
Bash
0
0
1415
Install VMware Player LNX
JavaScript
0
0
910
Nautilus is sinking
JavaScript
0
0
807
manually remove broken package
JavaScript
0
0
853
Enable js type checking in vscode on the fly
JavaScript
0
0
916
Keep a process running after logging out
Bash
0
0
819
/etc/apt/sources.list stretch testing main non-free contrib
Bash
0
0
1031
Kill Bill (Kill based on name)
Bash
0
0
890
Set audio volume amixer
Bash
0
0
948
kanban bookmarks
JavaScript
0
0
934
Purge remove mysql
JavaScript
0
0
908
sources.list contrib non-free
JavaScript
0
0
879
Github desktop dark
JavaScript
0
0
975
Simulate typing
Bash
0
0
948
Spyryto | E con questo salvi la pagina
JavaScript
0
0
908
list all desktop environment instaled
Bash
0
0
836
Delete all Git branches which have been merged
Bash
0
0
875
Remove Anchor Icon from Docky
Bash
0
0
1012
[Linux] Node Notifications problem
Bash
0
0
882
Create and extract a .tar.gz archive
Bash
0
0
889
How to Split Large ‘tar’ Archive into Multiple Files of Certain Size
Bash
0
0
1196
How to undo last commit
Bash
0
0
926
cp: copy all files with a certain extension from all subdirectories
Bash
0
0
986
Copy and create destination dir if it does not exist (no cp)
Bash
0
0
1134
Delete a list of files with find and grep
Bash
0
0
950
hdiutil makehybrid Image.iso
Bash
0
0
1076
basscss.css
CSS
0
0
1526
TextEdit open with a blank file
Bash
0
0
963
Create a Large Test File
Bash
0
0
1145
cpinput.php
PHP
0
0
1010
mplayer -playlist
Bash
0
0
1039
Convert iso to Virtualbox Machine Disk
Bash
0
0
979
maintenance shell script .sh
Bash
0
0
1049
convert pixel to ems
Bash
0
0
1269
Sketch sketchtool export pages (EPS)
Bash
0
0
997
Check the contents of a zip file
Bash
0
0
965
Extract, unpack electron app
Bash
0
0
2265
ssh-keygen
Bash
0
0
1167
~/.hammerspoon/init.lua
LUA
0
0
2144
simple php mysql dump
PHP
0
0
1334
Find and replace
Other
2
2
1870
Sublime delete blank/empty lines
Other
0
3
1341
OS X Built-in tftp Server
Other
0
10
1306
Makefile for sass
Other
0
1
1117
Merge multiple jpg into single pdf
Other
0
9
1381
node_modules permission problem
Other
0
10
1226
restarting apache
Other
0
6
1212
How to fix (Wordpress asking for FTP Credentials)
Other
1
8
1804
Chmod a folder and all of its subfolders
Other
0
9
1199
Use Apachetop To Monitor Web Server Traffic In Real Time
Other
1
9
1282
Throttling Your Network Connection on Mac OS X
Other
0
8
1185
phpinfo from the command line
Other
0
7
1720
Turn Any Browser Into a Quick-Edit Notepad
Other
0
9
1326
bootstrap slick js
0
1
1418
Start the FTP Server in OS X
Bash
0
9
1457
Mac Logs Downloads
Bash
0
1
1004
get youtube live stream-url livestreamer
Bash
2
2
2598
npm & Makefile
Bash
0
2
1292
Replaced Grunt/Gulp with a Makefile
Bash
0
0
1125
smoothing un glow
CSS
0
1
1070
minimal sass
Bash
0
1
1100
generate htaccess password (htpasswd) from the command line
Bash
0
1
3128
Make password protect zip files
Bash
0
2
1106
Resolving the git conflicts with FileMerge
Bash
0
2
1063
thug life *dangerously
Bash
0
0
1056
Check MD5 SHA1 Hash
Bash
0
0
1436
swaks send test-mail
Bash
0
0
2691
google chrome plugins
JavaScript
0
2
1409
console.log width
JavaScript
0
2
1261
forward port 8080 to 80 on any incoming traffic
Bash
0
0
1056
svn repo dir list
Bash
0
0
1131
zip without DS_Store
Bash
0
0
1112
cmd Apache
Bash
0
0
1098
wget don't check ssl
Bash
0
0
1080
Detect the number of styles (IE9 4095)
Bash
0
2
1089
webkit2png
Python
1
0
1550
Gmail .muttrc
Bash
0
0
1300
mps_yt
Python
0
0
2025
applejack.sh
Bash
0
0
1610
drupal gui db dump
Bash
0
0
1089
Cleanup metadata
Bash
0
2
1075
P7M Viewer for Mac OS X
Bash
0
0
5124
Launch Sublime Text from the Mac OSX Terminal
Bash
1
3
2644
cd to the path of the front Finder window
Bash
0
0
1144
Print <li>s, one for each item in the file
HTML
0
2
1321
fibonacci stage 1 spiral
TypeScript
1
2
1891
Create .html of everything with QuickLook
Bash
0
2
1117
Google Chrome Discover USB devices
Bash
0
1
1133
BEM.
Bash
0
0
1501
Append to .bash_profile and Update
Bash
0
2
1406
log last 5 commit in current svn dir
Bash
0
2
1139
Global Git ignore
Bash
0
3
1570
Examples of README
Objective
0
2
1119
The ‘r’ is for ‘raw’
Bash
0
0
1111
Jumping to the Finder location in Terminal
Bash
3
3
1131
Add a File Extension to a Group of Files
Bash
0
2
1198
empty trash
Bash
0
0
1127
Get svn remote repository URL
Bash
0
0
1082
flush bash history
Bash
0
0
1347
Renaming folders, files and subfolders
Bash
0
0
1302
Wget downloading an Entire Web Site
Bash
0
0
1569
Wget Download a working local copy of a webpage
Bash
0
0
1436
How to Completely Remove Apps
Bash
0
1
1515
Touch multiple items
Bash
0
0
1315
Generate checksum of file with openssl
Bash
0
0
1567
cli caffeine
Bash
0
0
1366
Find your IP Address
Bash
0
0
1338
Find local network devices using ping
Bash
1
0
1347
Creates a new .htpasswd
Apache
0
0
1379
logout .htpasswd
Apache
0
0
1740
301
Apache
0
0
1443
404
Apache
0
0
1470
gzip .htaccess
Apache
0
1
1439
Creating video with single JPG + MP3
Bash
0
0
1381
Generate DMG-images for OS X app
Bash
0
2
1347
Writes clamp.json
Bash
0
0
1319
Alias openssl grep xFiles
Bash
0
1
1462
Brew UpdateUpgradeCleanupDoctor
Bash
0
0
1474
Include external files, but not process them
Less
0
0
1939
Search Gmail certain period
Other
0
0
1458
Install font cli
Bash
0
0
1451
Starting the web server
PHP
1
0
1255
Generate password
Bash
0
1
1496
wp latest tar
Bash
0
0
1398
python Simple HTTP Server
Python
0
1
1627