Welcome To Snipplr


Everyone's Recent Snippets



1 ... 534 535 536 537 538 ... 554
1 757 posted 18 years ago by Catfish
With the typical fork+exec method of spawning an application, you are left in the dark about failures in the exec. Once the fork occurs, the "main" process doesn't have any communication channel except waitpid, so it's hard to tell what happened....
1 943 posted 18 years ago by CUViper
created some navigation buttons for a site i'm working on, this is without images in a horizontal arrangement. kevh.net has the article on creating the vertical navigation, and how to do both using images instead of native CSS styling
1 1021 posted 18 years ago by kevh
This is an example of how to use the articleHandler.class.php , this class can be found @ pietervp.com -> downloads
1 874 posted 18 years ago by pietervp
1 828 posted 18 years ago by assbach
toggle a div via JS/CSS style
2 876 posted 18 years ago by assbach
check if email address is valid
1 981 posted 18 years ago by assbach
1 1073 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 979 posted 18 years ago by Hirmine
0 616 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 862 posted 18 years ago by Hirmine
Evitar que en el código de la página se pueda ver “[email protected]”.
2 1057 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 916 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 1054 posted 18 years ago by ryanprel
By Eduardo de la Torre.
2 1060 posted 18 years ago by atinamedia
Grab all users that never logged in.
1 979 posted 18 years ago by berkes
menu_get_item does not return a menu ID.
2 777 posted 18 years ago by berkes
0 1054 posted 18 years ago by gdonald
Seen here: http://textsnippets.com/posts/show/319
1 1670 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 758 posted 18 years ago by Memphys
0 845 posted 18 years ago by miziomon
phpspot開発日誌より引用 -- このファイルでは、外部ファイルである、/exec/some.html というファイルを読み込んでいます。 IEの場合、タグにスタイルでサイズを指定しないと見えないのでæ...
0 682 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 1842 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 769 posted 18 years ago by smoothnoodle
1 ... 534 535 536 537 538 ... 554