Welcome To Snipplr
Everyone's Recent Bash Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Command to transfer files between servers using the command line.
0
893
posted 13 years ago by frigga
Creates a daily backup and deletes any backup older than 60 days.
Replace:
*DB_USER
*DB_PASSWORD
*DB_NAME
*/path/to/backup
with your actual database name, credentials and path to where you want your backup to live.
Last note: you don't nec...
1
933
posted 13 years ago by nikefido
so verbindest du zum placebo von der uni. erst hpi-login und dann kannst du an port 9876 ins www tunneln oder auch auf dem placebo ein terminal öffnen (zB für den webspace).
0
789
posted 13 years ago by abstraktor
Get a list of providers for DTrace that OSX supports. (DTrace is a probe/profiling tool created by Sun that came with Mac OS X starting with Leopard.)
0
988
posted 13 years ago by zingo
Der folgende Aufruf führt einen PUTrequest durch und zeigt (nur!!) den antwort-header an. Damit es funktioniert muss in app/controllers/application_controller.rb die zeile protect_from_forgery auskommentiert werden.
0
681
posted 13 years ago by abstraktor
system apps privilege does not permit normal uninstall. File mgrs 'Astro' with root may be used in lieu of this .
get the mount privs that u need then chmod dirs as needed and rm all the data ... rm the apk. check devices with a 'mount' prior the s...
0
774
posted 13 years ago by rowntreerob
First command shows connected drives, may not be mounted.
Second command formats the drive.
0
745
posted 13 years ago by loungerdork
If you are developing for iOS with AIR and are deleting/removing applications from iTunes/device each time you want to test you will want to read this.
0
949
posted 13 years ago by renaun
Fairly self-explanator, but:
Expects a directory at <code>/var/www/skeleton</code> with the correct permissions. This is then copied and renamed. Also expects a file named <code>/etc/apache2/sites-available/skeleton</code> which is used to copy th...
0
744
posted 13 years ago by craig0990
The space after the caret in the grep command is produced by typing Ctrl-V and then Tab, to insert a Tab character.
0
819
posted 13 years ago by nkm
This nautilus script was written for Wuala to duplicate the "Copy Public Link" feature from Dropbox.
0
1085
posted 13 years ago by flexgrip