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
node_modules permission problem
Other
0
10
1158
OS X Built-in tftp Server
Other
0
10
1238
Turn Any Browser Into a Quick-Edit Notepad
Other
0
9
1247
Merge multiple jpg into single pdf
Other
0
9
1295
Start the FTP Server in OS X
Bash
0
9
1368
Use Apachetop To Monitor Web Server Traffic In Real Time
Other
1
9
1218
Chmod a folder and all of its subfolders
Other
0
9
1146
Throttling Your Network Connection on Mac OS X
Other
0
8
1121
How to fix (Wordpress asking for FTP Credentials)
Other
1
8
1687
phpinfo from the command line
Other
0
7
1605
restarting apache
Other
0
6
1148
Global Git ignore
Bash
0
3
1457
Sublime delete blank/empty lines
Other
0
3
1271
Jumping to the Finder location in Terminal
Bash
3
3
1057
Launch Sublime Text from the Mac OSX Terminal
Bash
1
3
2436
Generate DMG-images for OS X app
Bash
0
2
1275
Detect the number of styles (IE9 4095)
Bash
0
2
1026
Cleanup metadata
Bash
0
2
1007
Resolving the git conflicts with FileMerge
Bash
0
2
1002
Make password protect zip files
Bash
0
2
1043
npm & Makefile
Bash
0
2
1227
Examples of README
Objective
0
2
1042
log last 5 commit in current svn dir
Bash
0
2
1059
Append to .bash_profile and Update
Bash
0
2
1298
get youtube live stream-url livestreamer
Bash
2
2
2528
console.log width
JavaScript
0
2
1184
google chrome plugins
JavaScript
0
2
1327
Create .html of everything with QuickLook
Bash
0
2
1048
fibonacci stage 1 spiral
TypeScript
1
2
1773
Find and replace
Other
2
2
1740
Add a File Extension to a Group of Files
Bash
0
2
1138
Print <li>s, one for each item in the file
HTML
0
2
1251
smoothing un glow
CSS
0
1
1004
vim buffer
Bash
0
1
699
Pandoc example
Bash
0
1
730
calibre ebook-convert pandoc
Bash
0
1
645
Makefile for sass
Other
0
1
1043
python Simple HTTP Server
Python
0
1
1553
Generate password
Bash
0
1
1415
Alias openssl grep xFiles
Bash
0
1
1386
gzip .htaccess
Apache
0
1
1365
Google Chrome Discover USB devices
Bash
0
1
1068
Mac Logs Downloads
Bash
0
1
946
bootstrap slick js
0
1
1342
How to Completely Remove Apps
Bash
0
1
1423
.vscode/launch .json
Bash
0
0
692
generate htaccess password (htpasswd) from the command line
Bash
0
1
2998
minimal sass
Bash
0
1
1045
wget and rename
Bash
0
0
889
Install VMware Player LNX
JavaScript
0
0
840
[Linux] Node Notifications problem
Bash
0
0
824
Extract, unpack electron app
Bash
0
0
2170
P7M Viewer for Mac OS X
Bash
0
0
4833
BKP ZIP current DIR
Bash
0
0
732
ruby Simple HTTP Server
Ruby
0
0
863
Perl "Simple" Webserver
Perl
0
0
841
Compile and configure dwm
Bash
0
0
914
Clear all Node Modules Folders Recursively Mac/Linux
Bash
0
0
724
wget subl & chrome
Bash
0
0
782
simple php mysql dump
PHP
0
0
1240
where is installed
Bash
0
0
732
Create a Large Test File
Bash
0
0
1067
Check MD5 SHA1 Hash
Bash
0
0
1339
kill mysql
Bash
0
0
848
getUrlParameter js
JavaScript
0
0
806
remove purge clean autoremove
Bash
0
0
725
Kill Bill (Kill based on name)
Bash
0
0
823
Change screen brightness
Bash
0
0
726
thug life *dangerously
Bash
0
0
992
git stash save
Bash
0
0
791
sources.list contrib non-free
JavaScript
0
0
813
manually remove broken package
JavaScript
0
0
793
Find and replace
Bash
0
0
607
DWM
Bash
0
0
860
make a sequence
Bash
0
0
645
Simple HTTP Server With Upload.
Python
0
0
3355
Chrome monitor events
JavaScript
0
0
592
api github gists
JavaScript
0
0
545
How to Split Large ‘tar’ Archive into Multiple Files of Certain Size
Bash
0
0
1117
play all mp3 folder
Bash
0
0
644
Create and extract a .tar.gz archive
Bash
0
0
825
mojave mirage
JavaScript
0
0
708
config notification
Bash
0
0
745
Bookmark GoTo view-source
JavaScript
0
0
687
Make bootable usb on mac from iso
Bash
0
0
590
wget don't check ssl
Bash
0
0
993
Preventing Lid Close Suspension
Bash
0
0
770
one git branch one commit
Bash
0
0
640
maintenance shell script .sh
Bash
0
0
973
Delete all Git branches which have been merged
Bash
0
0
810
/etc/apt/sources.list stretch testing main non-free contrib
Bash
0
0
957
Convert All Pages of PDF File to Images
Bash
0
0
565
Purge remove mysql
JavaScript
0
0
844
svn repo dir list
Bash
0
0
1060
forward port 8080 to 80 on any incoming traffic
Bash
0
0
996
~/.hammerspoon/init.lua
LUA
0
0
2015
Keep a process running after logging out
Bash
0
0
749
How to grep Git commit diffs or contents for a certain word
Bash
0
0
341
Remove all your local git branches but keep master
Bash
0
0
825
make usb disk debian from mac
Bash
0
0
1027
cloudinary Arial text
Bash
0
0
317
how to become a superhero sudoers
Bash
0
0
695
How to undo last commit
Bash
0
0
868
install xinit terminator dbus
Perl
0
0
833
LNX Sublime Chrome
Bash
0
0
908
dzen2 simple menu
Bash
0
0
841
debian install nodejs npm
Bash
0
0
788
To shutdown the system
Plain text
0
0
857
Creating video with single JPG + MP3
Bash
0
0
1309
Wget Download a working local copy of a webpage
Bash
0
0
1360
Wget downloading an Entire Web Site
Bash
0
0
1486
change color grub
Bash
0
0
843
Split images into multiple files
Bash
0
0
744
iptables mangle
Bash
0
0
448
drupal gui db dump
Bash
0
0
1022
httrack LOCALDIRECTORY
Bash
0
0
629
Creates a new .htpasswd
Apache
0
0
1300
print simple date
Bash
0
0
734
bash watch
Bash
0
0
877
Awesome gitlab commit message issue
Bash
0
0
742
gitlab-cli merge request
Bash
0
0
795
This or that es6
JavaScript
0
0
804
today
Bash
0
0
819
launch json
JavaScript
0
0
728
entr a watch written in c
Bash
0
0
599
wget javadoc
Bash
0
0
747
wp latest tar
Bash
0
0
1313
Replace the first instance with a unique placeholder then split from there.
Bash
0
0
691
Starting the web server
PHP
1
0
1183
Install font cli
Bash
0
0
1368
Debian install ruby gem
Bash
0
0
773
Remove a git commit from history
Bash
0
0
677
convert pixel to ems
Bash
0
0
1176
Debian install go lang
Bash
0
0
739
ssh-keygen
Bash
0
0
1097
Search Gmail certain period
Other
0
0
1394
Include external files, but not process them
Less
0
0
1857
Global Git ignore
Bash
0
0
738
Brew UpdateUpgradeCleanupDoctor
Bash
0
0
1404
Writes clamp.json
Bash
0
0
1243
10 step git dotfiles
Bash
0
0
799
ffmpeg segment_time 15s
Bash
0
0
606
cmd Apache
Bash
0
0
1044
BEM.
Bash
0
0
1393
simple rsync command
JavaScript
0
0
751
npm windows-build-tools
Bash
0
0
743
404
Apache
0
0
1392
Create a branch from a tag
Bash
0
0
685
301
Apache
0
0
1385
flush bash history
Bash
0
0
1280
demandware
Bash
0
0
713
Remove Anchor Icon from Docky
Bash
0
0
945
yt playlist mp3
Bash
0
0
786
Get svn remote repository URL
Bash
0
0
1012
zip without DS_Store
Bash
0
0
1043
Add remove apps windows
Bash
0
0
722
logout .htpasswd
Apache
0
0
1626
empty trash
Bash
0
0
1065
shipping
JavaScript
0
0
833
applejack.sh
Bash
0
0
1537
mps_yt
Python
0
0
1956
Gmail .muttrc
Bash
0
0
1207
Install npm packages globally without sudo
Bash
0
0
1286
webkit2png
Python
1
0
1468
man bash | Bash manual
Bash
0
0
834
isloop
Bash
0
0
1056
mplayer -playlist
Bash
0
0
966
Detect Key press
Bash
0
0
773
cpinput.php
PHP
0
0
944
os x cleanup
Bash
0
0
686
Find local network devices using ping
Bash
1
0
1280
Delete a list of files with find and grep
Bash
0
0
879
Debian sublime keymap
JavaScript
0
0
746
Determine default display manager is in use
Plain text
0
0
769
Find your IP Address
Bash
0
0
1270
cli caffeine
Bash
0
0
1294
imagemagick png to jpg resize
Bash
0
0
608
Fix all the wrong author names and emails for all branches and tags with this command
Bash
0
0
312
var inside switch statement
JavaScript
0
0
325
swaks send test-mail
Bash
0
0
2544
combine junit xml
Bash
0
0
971
Replaced Grunt/Gulp with a Makefile
Bash
0
0
1058
Set audio volume amixer
Bash
0
0
881
cp: copy all files with a certain extension from all subdirectories
Bash
0
0
920
Gnome .desktop app
Bash
0
0
808
To list all installed package deb
Bash
0
0
776
simple symbolic link
Bash
0
0
768
Debian set default desktop manager
Bash
0
0
709
Copy and create destination dir if it does not exist (no cp)
Bash
0
0
1055
kanban bookmarks
JavaScript
0
0
864
Simpel base64
Bash
0
0
651
TextEdit open with a blank file
Bash
0
0
897
Spyryto | E con questo salvi la pagina
JavaScript
0
0
845
Simulate typing
Bash
0
0
875
make executable
Bash
0
0
716
YT to mp3
JavaScript
0
0
938
Batch Converting jp2 to jpg
Bash
0
0
710
Restore the single deleted file with git
Bash
0
0
631
Generate checksum of file with openssl
Bash
0
0
1494
Show duplicate IDs
JavaScript
0
0
309
Touch multiple items
Bash
0
0
1248
hdiutil makehybrid Image.iso
Bash
0
0
996
xampp control panel
Bash
0
0
1020
Check the contents of a zip file
Bash
0
0
902
Mirroring a git repository in another location
Bash
0
0
880
Sketch sketchtool export pages (EPS)
Bash
0
0
928
GRV — Git Repository Viewer
Plain text
0
0
810
Bootable MacOS Mojave Installer Drive usb
Bash
0
0
716
Manually install a man page file
Bash
0
0
713
flac add cover
JavaScript
0
0
551
cloudinary crop
JavaScript
0
0
603
Git reset soft - git undo
Bash
0
0
697
Basic Regular Expressions - regex - egrep
Bash
0
0
658
awk find replace increment
Bash
0
0
601
Kilo -- A very simple editor
C
0
0
922
Nautilus is sinking
JavaScript
0
0
742
jquery simple custom events
JavaScript
0
0
745
Emulate Charles Proxy’s Map Local with mitmproxy
Bash
0
0
803
checkurls
Bash
0
0
686
Enable js type checking in vscode on the fly
JavaScript
0
0
850
Github desktop dark
JavaScript
0
0
908
GIT hard reset
Bash
0
0
946
install pip3
Bash
0
0
826
vsts cli pr
Bash
0
0
1149
To list all files added in the new branch
Bash
0
0
729
.eps to .svg
JavaScript
0
0
610
find big files in git history
Bash
0
0
305
cd to the path of the front Finder window
Bash
0
0
1069
list all desktop environment instaled
Bash
0
0
786
tmux cli simple command
Bash
0
0
770
simple .Xresources
JavaScript
0
0
875
The ‘r’ is for ‘raw’
Bash
0
0
1042
Preferences.sublime-settings
JavaScript
0
0
789
Renaming folders, files and subfolders
Bash
0
0
1230
Split into pieces
Bash
0
0
791
Convert iso to Virtualbox Machine Disk
Bash
0
0
908
basscss.css
CSS
0
0
1444