Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 534 535 536 537 538 ... 554
1 770 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 963 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 1041 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 889 posted 18 years ago by pietervp
1 842 posted 18 years ago by assbach
toggle a div via JS/CSS style
2 892 posted 18 years ago by assbach
check if email address is valid
1 1001 posted 18 years ago by assbach
1 1090 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 993 posted 18 years ago by Hirmine
0 626 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 878 posted 18 years ago by Hirmine
Evitar que en el código de la página se pueda ver “[email protected]”.
2 1076 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 936 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 1072 posted 18 years ago by ryanprel
By Eduardo de la Torre.
2 1075 posted 18 years ago by atinamedia
Grab all users that never logged in.
1 1002 posted 18 years ago by berkes
menu_get_item does not return a menu ID.
2 791 posted 18 years ago by berkes
0 1075 posted 18 years ago by gdonald
Seen here: http://textsnippets.com/posts/show/319
1 1685 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 779 posted 18 years ago by Memphys
0 867 posted 18 years ago by miziomon
phpspot開発日誌より引用 -- このファイルでは、外部ファイルである、/exec/some.html というファイルを読み込んでいます。 IEの場合、タグにスタイルでサイズを指定しないと見えないのでæ...
0 695 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 1866 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 787 posted 18 years ago by smoothnoodle
1 ... 534 535 536 537 538 ... 554