Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
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
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
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
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