Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
this is my way of working out the contents of an object when I don't have access to a debugger like firebug
0
532
posted 14 years ago by iancrowther
A subtle gradient effect for <hr> tags. Works on Firefox and Webkit browsers (i.e. Chrome / Safari / Midori).
0
583
posted 14 years ago by pmigueld
this gives you the real controller/method names, even if you reroute them.
1
969
posted 14 years ago by aelien
Tipico caso de sitio con dos dominios, y paginas con parámetros.
0
733
posted 14 years ago by mfigge
Searches down the current directory every file whose name matches (case insensitively) {{file_pattern}} for the regexp {{text}}.
0
727
posted 14 years ago by jarnaldich
So i wanted to spit all my error_log(); and error_reporting(E_ALL); to syslog on my MacOSX and syslog would output it on a custom file.
0
1089
posted 14 years ago by sadus
Returns an array of all the prime numbers up to (n) using an implementation of the Sieve of Eratosthenes.
0
660
posted 14 years ago by pmigueld
This shell script helps to refresh a propel schema from an existing database using (the "old") Symfony 1.2 and avoiding the "CURRENT_TIMESTAMP" (MySQL) bug.
0
438
posted 14 years ago by PixEye