Welcome To Snipplr


Everyone's Recent Bash Snippets



1 ... 29 30 31 32 33 ... 41
1 2127 posted 17 years ago by hokasu
1. Save under .gnome2/nautilus-scripts/ 2. Right click some video file 3. Select Scripts->toFlv Works with multiple files.
1 2541 posted 17 years ago by ping_ch
A small script that sets up a new VirtualHost with Apache and adds an entry for the site to your hosts file. You need to adjust the paths to your needs. Must be run as root.
0 1923 posted 17 years ago by ping_ch
0 1902 posted 17 years ago by benpjohnson
-s 86x60 Defines the dimension of the thumbnail -ss 4 Generate a thumbnail from position 00:00:04 (4 seconds)
0 1664 posted 17 years ago by smoover
Here's a simple one liner you can use to syntax check all php files in your working directory.
0 1673 posted 17 years ago by endorfin
For expression engine, I placed with with the main set of .htaccess rules in the root
1 2009 posted 17 years ago by joeymarchy
Open Terminal and enter this command.
1 2807 posted 17 years ago by jonhenshaw
Some nice base aliases, still need to go through them
2 2389 posted 17 years ago by narkisr
0 1296 posted 17 years ago by teddyzetterlund
How to run a KVM VM with no X (server environment, originally seen at http://blog.bodhizazen.net/?p=40).
0 1824 posted 17 years ago by narkisr
simple way to join avi files on the command line (need to have mplayer installed)
0 1813 posted 17 years ago by inkdeep
Clear files in /tmp directory that are older than three days - terminal/cron this is a very simple example - could also remove by last access time, etc.
0 1824 posted 17 years ago by inkdeep
This example shows how to clean up git's reflogs entries in order save space (see http://www.newartisans.com/blog/2008/04/diving-into-git.html).
0 3183 posted 17 years ago by narkisr
Bash shell scripts to control wallpaper backgrounds when switching between Ubuntu workspaces. (Other distributions can use it too). Take the below 2 scripts to make 2 separate files. Use gconf-editor to attach keybindings to run_command_1 and run...
0 2073 posted 17 years ago by webonomic
This snippet shows how to restore HEAD after using Git's reset method (see http://gitready.com/2009/01/17/restoring-lost-commits.html?disqus_reply=5271828#comment-5271828).
0 1933 posted 17 years ago by narkisr
0 1594 posted 17 years ago by paulbooker
1 1485 posted 17 years ago by endorfin
0 1534 posted 17 years ago by endorfin
0 1750 posted 17 years ago by rowntreerob
To connect to your database remotely, tunnel in via SSH. This creates an encrypted tunnel to your Slice’s mySQL port (3306) on your local port of 8888. Point your local admin/GUI app to localhost:8888. If this does not work, and you are running...
3 2158 posted 17 years ago by zachwood
0 1630 posted 17 years ago by smoover
Alle Verzeichnisse überprüfen: [script name] verzeichnis1 verzeichnis2 Alle Dateien vom Typ *html: [script name] verzeichnis1 verzeichnis2
0 1440 posted 17 years ago by endorfin
To see how we can set default values for bash script variables inside bash script
0 2022 posted 17 years ago by jaduks
1 ... 29 30 31 32 33 ... 41