Welcome To Snipplr


Everyone's Recent Snippets



1 ... 534 535 536 537 538 ... 553
1 1064 posted 18 years ago by assbach
toggle a div via JS/CSS style
2 1171 posted 18 years ago by assbach
check if email address is valid
1 1329 posted 18 years ago by assbach
1 3290 posted 18 years ago by assbach
Por ejemplo, haciendo uso del operador ^= (que nos permite seleccionar solo aquellos elementos cuyo atributo especificado coincida, al comienzo de la cadena, con el valor especificado) podremos crear una reglas para determinar el aspecto de nuestros...
4 1511 posted 18 years ago by Hirmine
0 828 posted 18 years ago by vanity
Los favicon soporta varios (ignoro si todos) los formatos de imagen siguientes: png (type="image/png"), .gif (type="image/gif"), .ico. (etc.). Porc cierto, los favicons soportan trasnparencias.
3 1117 posted 18 years ago by Hirmine
Evitar que en el código de la página se pueda ver “[email protected]”.
2 1363 posted 18 years ago by Hirmine
Just name it s3cp (or similar), chmod it, and then you can do stuff like: s3cp ~/somefile.whatever bucket
1 1291 posted 18 years ago by sudarkoff
Used for rounding corners of a div. Need an upper left corner and an upper right corner. Example page is http://www.ruby-lang.org/en/documentation/quickstart/
3 1520 posted 18 years ago by ryanprel
By Eduardo de la Torre.
2 1310 posted 18 years ago by atinamedia
Grab all users that never logged in.
1 1237 posted 18 years ago by berkes
menu_get_item does not return a menu ID.
2 1024 posted 18 years ago by berkes
0 1425 posted 18 years ago by gdonald
Seen here: http://textsnippets.com/posts/show/319
1 2019 posted 18 years ago by huckeduster
Open some internet-page with some pictures on it. Then just paste this text into the address line and press "Enter". Works good only in IE, sometimes in Opera...
0 984 posted 18 years ago by Memphys
0 1116 posted 18 years ago by miziomon
phpspot開発日誌より引用 -- このファイルでは、外部ファイルである、/exec/some.html というファイルを読み込んでいます。 IEの場合、タグにスタイルでサイズを指定しないと見えないのでæ...
0 917 posted 18 years ago by fabric1
fixture_file_upload is another nifty Rails testing feature. It allows you to create "MIME-encoded content that would normally be uploaded by a browser input field." (Part in quotes straight from Agile Web Development with Rails, v2). Put your files t...
3 3183 posted 18 years ago by tjstankus
Plist file for heartbeatd to be handled by Launchd - change the ip addresses to match your own - I have called this uk.ac.rave.heartbeatd.plist. Change the "x.x.x.x" in the array within ProgramArguments to the IP's that you are using.
0 1045 posted 18 years ago by smoothnoodle
Obviously you need to have heartbeatd handled by Launchd
0 1095 posted 18 years ago by smoothnoodle
Matches any hex value (0123456789ABCDEF) preceded by the pound sign (#) of exactly 3 or 6 digits in length.
3 1440 posted 18 years ago by Corhol
Using this command makes it easy to do a project-wide search-and-replace
0 1028 posted 18 years ago by collin
Replaces a DOM Element with another, but keeps the classes and IDs of the old one.
3 1468 posted 18 years ago by gaunab
1 ... 534 535 536 537 538 ... 553