Welcome To Snipplr


Everyone's Recent Snippets



1 ... 354 355 356 357 358 ... 554
This command will email the contents of emailbody.txt to [email protected] with the subject My subject line.
0 1159 posted 15 years ago by webonomic
This creates an array of various linux shell names, loops through the array and ouputs a file called shell_locations.txt showing where the shells are located on the linux system.
0 1254 posted 15 years ago by webonomic
1 1003 posted 15 years ago by revierDsign
In order to accurately get the next ID from a SharePoint list you need to access the content database for one reason: If you delete all the items from a list, and execute this simple code: list.Items[list.ItemCount -1].ID) + 1 the ID will always retu...
0 1094 posted 15 years ago by blackf0rk
0 1279 posted 15 years ago by hanzwurzt
Count how many users are connected to a site (execute this function in every page, put it in the header).
1 1440 posted 15 years ago by ginoplusio
How to get the ip address of the user.
1 1326 posted 15 years ago by ginoplusio
Funcion para eliminar los acentos, caracteres que no sean numeros o letras y los espacios blancos. Muy util para renombrar los archivos antes de subirlos al server
0 909 posted 15 years ago by jacinmontava
Credit: 'Jelmer' from CodeIgniter Forums 1. Create preferences.php in your application/config/ directory. 2. Add this to the controller that writes your config values to the database so that it will also write them to the preferences.php config...
2 1180 posted 15 years ago by traeregan
Create a new module using this code:
0 944 posted 15 years ago by hotdiggity
0 966 posted 15 years ago by gd6d
Works as advertised on OS X.
0 1260 posted 15 years ago by zachharkey
1 3235 posted 15 years ago by ozke
The following is a list of any conditional comment you'd probably ever need for targeting any version of IE.
1 992 posted 15 years ago by benwasilewski
Change 'username' (twice!) with your imap username,'password'with your imap password, and 'example.com' (twice!) with the url of your imap mailserver. Works on: Ubuntu with Evolution, sqlite3 and archivemail installed. Evolution is required beca...
1 1237 posted 15 years ago by berkes
This gives the absolute path for the file log4j.properties
1 896 posted 15 years ago by arunpjohny
0 850 posted 15 years ago by bionickid
Using SQL you can have your database return the distance between 2 sets of Lat and Long points, and using some math functions also take into account the curvature of the earth.
3 1493 posted 15 years ago by zingo
1 ... 354 355 356 357 358 ... 554