Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Over time, your Mac's Mail program can start to feel sluggish because, like any database, over time it needs to optimized.
4
590
posted 15 years ago by jonhenshaw
Converts whitespace that spans multiple lines into a single newline, needs improvement
0
461
posted 15 years ago by plexus
for .bashrc, a function that cd's to a directory and lists the contents it takes ls arguments and a directory. for example, cl goes to home dir and lists contents. cl -l goes to ~/ and long lists contents. and cl -lrt public_html shows the contents o...
0
454
posted 15 years ago by zingo
- lowQ/ is the output directory
- pass quality level from 1 to 100
2
635
posted 15 years ago by abhiomkar
Usage: save the script to ~/scripts/my.bashrc and then source it in .bashrc.
0
636
posted 15 years ago by thebugslayer
Enter this command in Terminal to restart Apache. Especially useful after you've made changes to the hosts file.
2
567
posted 15 years ago by jonhenshaw
Run this command in the Terminal on Mac OS X to flush the DNS cache on your computer. This is especially helpful when making changes to the host file.
2
908
posted 15 years ago by jonhenshaw
This allows you to use perl syntax highlighting in vi for test scripts that use the ".t" file extension
0
551
posted 15 years ago by wolfie
Change / to the root directory you wish to search in. Change -7 to +7 for files changed more than a week ago.
1
735
posted 15 years ago by micmath