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
351
Fix all the wrong author names and emails for all branches and tags with this command
Bash
0
0
356
Convert All Pages of PDF File to Images
Bash
0
0
619
cloudinary Arial text
Bash
0
0
355
find big files in git history
Bash
0
0
356
var inside switch statement
JavaScript
0
0
360
How to grep Git commit diffs or contents for a certain word
Bash
0
0
388
iptables mangle
Bash
0
0
490
.eps to .svg
JavaScript
0
0
651
cloudinary crop
JavaScript
0
0
646
flac add cover
JavaScript
0
0
583
api github gists
JavaScript
0
0
584
Chrome monitor events
JavaScript
0
0
631
ffmpeg segment_time 15s
Bash
0
0
651
imagemagick png to jpg resize
Bash
0
0
653
Make bootable usb on mac from iso
Bash
0
0
627
make a sequence
Bash
0
0
688
Find and replace
Bash
0
0
639
Basic Regular Expressions - regex - egrep
Bash
0
0
706
entr a watch written in c
Bash
0
0
635
one git branch one commit
Bash
0
0
677
checkurls
Bash
0
0
727
Kilo -- A very simple editor
C
0
0
980
awk find replace increment
Bash
0
0
640
calibre ebook-convert pandoc
Bash
0
1
689
Pandoc example
Bash
0
1
772
vim buffer
Bash
0
1
736
demandware
Bash
0
0
750
.vscode/launch .json
Bash
0
0
728
Simpel base64
Bash
0
0
690
npm windows-build-tools
Bash
0
0
791
Clear all Node Modules Folders Recursively Mac/Linux
Bash
0
0
763
Git reset soft - git undo
Bash
0
0
731
Mirroring a git repository in another location
Bash
0
0
935
Restore the single deleted file with git
Bash
0
0
671
os x cleanup
Bash
0
0
726
wget javadoc
Bash
0
0
786
httrack LOCALDIRECTORY
Bash
0
0
667
git stash save
Bash
0
0
828
Remove a git commit from history
Bash
0
0
714
Emulate Charles Proxy’s Map Local with mitmproxy
Bash
0
0
851
Manually install a man page file
Bash
0
0
750
Bootable MacOS Mojave Installer Drive usb
Bash
0
0
755
launch json
JavaScript
0
0
766
Bookmark GoTo view-source
JavaScript
0
0
722
dzen2 simple menu
Bash
0
0
883
config notification
Bash
0
0
779
play all mp3 folder
Bash
0
0
679
remove purge clean autoremove
Bash
0
0
761
BKP ZIP current DIR
Bash
0
0
766
jquery simple custom events
JavaScript
0
0
788
simple rsync command
JavaScript
0
0
785
getUrlParameter js
JavaScript
0
0
850
mojave mirage
JavaScript
0
0
744
This or that es6
JavaScript
0
0
844
Batch Converting jp2 to jpg
Bash
0
0
740
make executable
Bash
0
0
751
Create a branch from a tag
Bash
0
0
724
Split images into multiple files
Bash
0
0
781
vsts cli pr
Bash
0
0
1219
Detect Key press
Bash
0
0
816
Add remove apps windows
Bash
0
0
750
yt playlist mp3
Bash
0
0
823
Change screen brightness
Bash
0
0
775
Debian set default desktop manager
Bash
0
0
742
Compile and configure dwm
Bash
0
0
974
GRV — Git Repository Viewer
Plain text
0
0
842
Determine default display manager is in use
Plain text
0
0
802
To shutdown the system
Plain text
0
0
892
debian install nodejs npm
Bash
0
0
830
LNX Sublime Chrome
Bash
0
0
942
install xinit terminator dbus
Perl
0
0
878
how to become a superhero sudoers
Bash
0
0
726
make usb disk debian from mac
Bash
0
0
1083
DWM
Bash
0
0
898
To list all files added in the new branch
Bash
0
0
765
Perl "Simple" Webserver
Perl
0
0
878
ruby Simple HTTP Server
Ruby
0
0
897
GIT hard reset
Bash
0
0
1001
isloop
Bash
0
0
1122
shipping
JavaScript
0
0
871
Replace the first instance with a unique placeholder then split from there.
Bash
0
0
727
Remove all your local git branches but keep master
Bash
0
0
857
wget and rename
Bash
0
0
936
bash watch
Bash
0
0
912
combine junit xml
Bash
0
0
1017
install pip3
Bash
0
0
863
simple symbolic link
Bash
0
0
805
To list all installed package deb
Bash
0
0
812
Simple HTTP Server With Upload.
Python
0
0
3460
kill mysql
Bash
0
0
882
10 step git dotfiles
Bash
0
0
844
Debian install go lang
Bash
0
0
775
Debian install ruby gem
Bash
0
0
812
today
Bash
0
0
858
gitlab-cli merge request
Bash
0
0
826
Awesome gitlab commit message issue
Bash
0
0
779
print simple date
Bash
0
0
776
wget subl & chrome
Bash
0
0
822
Preferences.sublime-settings
JavaScript
0
0
835
simple .Xresources
JavaScript
0
0
919
tmux cli simple command
Bash
0
0
811
YT to mp3
JavaScript
0
0
980
Debian sublime keymap
JavaScript
0
0
780
where is installed
Bash
0
0
771
xampp control panel
Bash
0
0
1074
change color grub
Bash
0
0
881
Split into pieces
Bash
0
0
830
Preventing Lid Close Suspension
Bash
0
0
811
Gnome .desktop app
Bash
0
0
841
Global Git ignore
Bash
0
0
778
man bash | Bash manual
Bash
0
0
875
Install npm packages globally without sudo
Bash
0
0
1358
Install VMware Player LNX
JavaScript
0
0
881
Nautilus is sinking
JavaScript
0
0
779
manually remove broken package
JavaScript
0
0
828
Enable js type checking in vscode on the fly
JavaScript
0
0
888
Keep a process running after logging out
Bash
0
0
784
/etc/apt/sources.list stretch testing main non-free contrib
Bash
0
0
999
Kill Bill (Kill based on name)
Bash
0
0
859
Set audio volume amixer
Bash
0
0
915
kanban bookmarks
JavaScript
0
0
902
Purge remove mysql
JavaScript
0
0
879
sources.list contrib non-free
JavaScript
0
0
847
Github desktop dark
JavaScript
0
0
944
Simulate typing
Bash
0
0
915
Spyryto | E con questo salvi la pagina
JavaScript
0
0
882
list all desktop environment instaled
Bash
0
0
811
Delete all Git branches which have been merged
Bash
0
0
848
Remove Anchor Icon from Docky
Bash
0
0
986
[Linux] Node Notifications problem
Bash
0
0
856
Create and extract a .tar.gz archive
Bash
0
0
861
How to Split Large ‘tar’ Archive into Multiple Files of Certain Size
Bash
0
0
1170
How to undo last commit
Bash
0
0
903
cp: copy all files with a certain extension from all subdirectories
Bash
0
0
960
Copy and create destination dir if it does not exist (no cp)
Bash
0
0
1109
Delete a list of files with find and grep
Bash
0
0
921
hdiutil makehybrid Image.iso
Bash
0
0
1042
basscss.css
CSS
0
0
1487
TextEdit open with a blank file
Bash
0
0
933
Create a Large Test File
Bash
0
0
1106
cpinput.php
PHP
0
0
984
mplayer -playlist
Bash
0
0
1010
Convert iso to Virtualbox Machine Disk
Bash
0
0
945
maintenance shell script .sh
Bash
0
0
1013
convert pixel to ems
Bash
0
0
1234
Sketch sketchtool export pages (EPS)
Bash
0
0
966
Check the contents of a zip file
Bash
0
0
942
Extract, unpack electron app
Bash
0
0
2225
ssh-keygen
Bash
0
0
1139
~/.hammerspoon/init.lua
LUA
0
0
2082
simple php mysql dump
PHP
0
0
1293
Find and replace
Other
2
2
1816
Sublime delete blank/empty lines
Other
0
3
1306
OS X Built-in tftp Server
Other
0
10
1274
Makefile for sass
Other
0
1
1084
Merge multiple jpg into single pdf
Other
0
9
1340
node_modules permission problem
Other
0
10
1195
restarting apache
Other
0
6
1185
How to fix (Wordpress asking for FTP Credentials)
Other
1
8
1760
Chmod a folder and all of its subfolders
Other
0
9
1174
Use Apachetop To Monitor Web Server Traffic In Real Time
Other
1
9
1252
Throttling Your Network Connection on Mac OS X
Other
0
8
1159
phpinfo from the command line
Other
0
7
1677
Turn Any Browser Into a Quick-Edit Notepad
Other
0
9
1289
bootstrap slick js
0
1
1386
Start the FTP Server in OS X
Bash
0
9
1417
Mac Logs Downloads
Bash
0
1
982
get youtube live stream-url livestreamer
Bash
2
2
2563
npm & Makefile
Bash
0
2
1265
Replaced Grunt/Gulp with a Makefile
Bash
0
0
1095
smoothing un glow
CSS
0
1
1044
minimal sass
Bash
0
1
1077
generate htaccess password (htpasswd) from the command line
Bash
0
1
3080
Make password protect zip files
Bash
0
2
1076
Resolving the git conflicts with FileMerge
Bash
0
2
1035
thug life *dangerously
Bash
0
0
1022
Check MD5 SHA1 Hash
Bash
0
0
1399
swaks send test-mail
Bash
0
0
2615
google chrome plugins
JavaScript
0
2
1369
console.log width
JavaScript
0
2
1234
forward port 8080 to 80 on any incoming traffic
Bash
0
0
1028
svn repo dir list
Bash
0
0
1100
zip without DS_Store
Bash
0
0
1079
cmd Apache
Bash
0
0
1077
wget don't check ssl
Bash
0
0
1042
Detect the number of styles (IE9 4095)
Bash
0
2
1060
webkit2png
Python
1
0
1509
Gmail .muttrc
Bash
0
0
1253
mps_yt
Python
0
0
1993
applejack.sh
Bash
0
0
1573
drupal gui db dump
Bash
0
0
1064
Cleanup metadata
Bash
0
2
1047
P7M Viewer for Mac OS X
Bash
0
0
4980
Launch Sublime Text from the Mac OSX Terminal
Bash
1
3
2569
cd to the path of the front Finder window
Bash
0
0
1108
Print <li>s, one for each item in the file
HTML
0
2
1287
fibonacci stage 1 spiral
TypeScript
1
2
1832
Create .html of everything with QuickLook
Bash
0
2
1086
Google Chrome Discover USB devices
Bash
0
1
1108
BEM.
Bash
0
0
1461
Append to .bash_profile and Update
Bash
0
2
1361
log last 5 commit in current svn dir
Bash
0
2
1101
Global Git ignore
Bash
0
3
1523
Examples of README
Objective
0
2
1086
The ‘r’ is for ‘raw’
Bash
0
0
1077
Jumping to the Finder location in Terminal
Bash
3
3
1095
Add a File Extension to a Group of Files
Bash
0
2
1170
empty trash
Bash
0
0
1102
Get svn remote repository URL
Bash
0
0
1053
flush bash history
Bash
0
0
1317
Renaming folders, files and subfolders
Bash
0
0
1273
Wget downloading an Entire Web Site
Bash
0
0
1532
Wget Download a working local copy of a webpage
Bash
0
0
1403
How to Completely Remove Apps
Bash
0
1
1482
Touch multiple items
Bash
0
0
1284
Generate checksum of file with openssl
Bash
0
0
1535
cli caffeine
Bash
0
0
1335
Find your IP Address
Bash
0
0
1311
Find local network devices using ping
Bash
1
0
1317
Creates a new .htpasswd
Apache
0
0
1345
logout .htpasswd
Apache
0
0
1700
301
Apache
0
0
1418
404
Apache
0
0
1437
gzip .htaccess
Apache
0
1
1413
Creating video with single JPG + MP3
Bash
0
0
1349
Generate DMG-images for OS X app
Bash
0
2
1318
Writes clamp.json
Bash
0
0
1288
Alias openssl grep xFiles
Bash
0
1
1429
Brew UpdateUpgradeCleanupDoctor
Bash
0
0
1444
Include external files, but not process them
Less
0
0
1900
Search Gmail certain period
Other
0
0
1427
Install font cli
Bash
0
0
1414
Starting the web server
PHP
1
0
1224
Generate password
Bash
0
1
1459
wp latest tar
Bash
0
0
1359
python Simple HTTP Server
Python
0
1
1590