Welcome To Snipplr


Everyone's Recent Snippets



1 ... 546 547 548 549 550 ... 553
Note: This doesn't work in multi-threaded environments, check http://en.wikipedia.org/wiki/Singleton_pattern#C.2B.2B Singleton class model then: SingletonClass *pSC = SingletonClass::get_singleton_instance(); pSC->any_public_function(); or: Si...
4 2639 posted 19 years ago by yuconner
3 2363 posted 19 years ago by yuconner
1 1634 posted 19 years ago by yuconner
2 1602 posted 19 years ago by cochambre
Usefull Regular Expressions enhancement. Simplifies standard string operations escaping special chars. And also saves precompiled REs for a speed increase.
1 1268 posted 19 years ago by cochambre
Simple HTTP server daemon (webrick).
1 1251 posted 19 years ago by ishikawa
3 1474 posted 19 years ago by cochambre
guardar como flash.js
0 1368 posted 19 years ago by kanirasta
Para evitar problemas con IE. Hace referencia a un script que pongo en la parte de .js
0 2427 posted 19 years ago by kanirasta
redirects a splash page if visited before. Number of days until expiry can be set
0 1227 posted 19 years ago by markhope
Redirect a splash page using javascript. This snippet allows one redirect per session making the backwards navigation possible using the back button.
0 1396 posted 19 years ago by markhope
0 1087 posted 19 years ago by rengber
Methinks this is a bad idea but it is a suggested use of generics from the .NET 2.0 Generics Wrox book
0 1026 posted 19 years ago by sophtwarez
The key here is display:none being in the style attribute of the affected div. It will not work if it's in a separate CSS file.
6 2478 posted 19 years ago by tjstankus
Placing these inside a PyObjC class lets you access PyObjC instance variables starting with '_' without extra work while still allowing access to standard Python instance variables.
0 851 posted 19 years ago by daeken
2 1481 posted 19 years ago by Catfish
Support: Fx2, Opera9, IE6 I don't have warrant of Safari's run and NN4. However, I think that this code is perhaps safe.
3 1305 posted 19 years ago by kif
It's just a blank page of musical staves.
0 1779 posted 19 years ago by sudarkoff
Very important to set the RefCursor Type. Otherwise you get the PLS-00306 Error 'Wrong Number or types of arguments'
0 1321 posted 19 years ago by rengber
Extraido de Good PHP Tutorials, un articulo de Tim Bennett
1 1125 posted 19 years ago by mate
basic template for AS2 class
3 2533 posted 19 years ago by sHamilton
function prints a serie of random numbers but without the next one being the same as the previous. to print, just call the function in the body
1 1357 posted 19 years ago by dandyna
1 ... 546 547 548 549 550 ... 553