Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 354 355 356 357 358 ... 552
Count how many users are connected to a site (execute this function in every page, put it in the header).
1 2476 posted 16 years ago by ginoplusio
How to get the ip address of the user.
1 2564 posted 16 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 1776 posted 16 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 2293 posted 16 years ago by traeregan
Create a new module using this code:
0 1834 posted 16 years ago by hotdiggity
0 2065 posted 16 years ago by gd6d
Works as advertised on OS X.
0 3315 posted 16 years ago by zachharkey
1 4383 posted 16 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 1992 posted 16 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 2711 posted 16 years ago by berkes
This gives the absolute path for the file log4j.properties
1 1986 posted 16 years ago by arunpjohny
0 1745 posted 16 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 2921 posted 16 years ago by zingo
Here are a few examples that show how the relationship between objects and references
0 1785 posted 16 years ago by chrisaiv
Adds a browser and operating system class to your HTML Tag.
1 2156 posted 16 years ago by smoothdzion
2 1870 posted 16 years ago by fackz
this simple snippet compiles a Java source file.
2 3549 posted 16 years ago by akostajti
force fields to be added to the search index on update
1 1768 posted 16 years ago by ReeceMarsland
Put in the project's .project file.
0 1840 posted 16 years ago by codegoat
testing tool: http://www.pythonregex.com/
0 2881 posted 16 years ago by backlashblues
1 2071 posted 16 years ago by xTraCD
1 ... 354 355 356 357 358 ... 552