Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Specify the limit on the number of file descriptors a process may have.
0
1506
posted 17 years ago by liqweed
daily hits on the youtube.video helper methods in 'utility' cls only on //ads
0
1852
posted 17 years ago by rowntreerob
you'll need the ack (http://betterthangrep.com/) command line application
0
1571
posted 17 years ago by iloveitaly
get the list of dirs
process that list to cmd expressions
run the file with cmd exprssns
0
1491
posted 17 years ago by rowntreerob
Mac OS X creates files beginning with *._* to Samba shares when files on a Unix/Linux machine are accessed with a Mac. I use [Coda](http://www.panic.com/coda/) to access a Samba share on my development server at work. This is really annoying when c...
1
2632
posted 17 years ago by shaunchapman
The Drupal website will be updated every 45 minutes after the hour.
2
1797
posted 17 years ago by chrisaiv
A common Drupal problem: how to save e.g. your blocks configuration without dragging an X Gig database around.
A simple command that dumps a table in a way that it can be inserted into SVN.
Every row is dumped as a single line, and they are sor...
1
1767
posted 17 years ago by berkes
These are two separate code snippets. One is for a crontab, the other to be run by cron.
Together they create a new folder every day and fills it with 240 jpeg images (10 per hour) of whatever it is that you're doing.
The next step for me is t...
1
1611
posted 17 years ago by ThomasGHenry