Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
![popular snippet:having a snipplet with 20 favorites popular snippet:having a snipplet with 20 favorites](/img/badge/badge_3.png?v3)
nicolaspar's Recent Snippets
- All /
« Prev 1 Next »
If not have access to edit json, setting url possible is:
url: 'http://graph.facebook.com/4/?callback=getDatosUsuario'
0
769
posted 12 years ago by nicolaspar
How to replace sleep(2), for your PHP code. Ideal testing hosting/dns ping.
1
817
posted 15 years ago by nicolaspar
ej:
echo keepqsSinParametro('hola','hola=mundo&mundo=lindo&hola=chau'); #out = mundo=lindo
0
705
posted 16 years ago by nicolaspar
Convert 12hs format to 24hs format. In example: 10:00:00 a.m. return timestamp for 22:00. Or use: strtotime('1970-01-01 '.$hora);
1
665
posted 16 years ago by nicolaspar
echo validarFecha( '1-1-1998', 0 ) ? 'ok' : 'ko' ; #ok
echo validarFecha( '1-1-1998' ) ? 'ok' : 'ko' ; #ko
echo validarFecha( '1980/05/06' ) ? 'ok' : 'ko' ; #ok
echo validarFecha( '1700-5-1' ) ? 'ok' : 'ko' ; #ok
0
712
posted 17 years ago by nicolaspar
javascript in_array object frame.
Usar:
Mediceau.Navegacion.marcar(['nav1','nav2'])
...
_--Nav 1
_--Nav 2
_--Nav 3
_--Nav 4
0
678
posted 17 years ago by nicolaspar