Welcome To Snipplr


Everyone's Recent Snippets



1 ... 193 194 195 196 197 ... 553
Example of loading thickbox and syntaxhighlighter conditionally from the functions.php of a wordpress theme.
2 1361 posted 15 years ago by zac
Until recently, playing video files in a web page was notoriously complicated. The user requires a Flash or Silverlight plug-in and even the simplest HTML is a confusing mess. Few HTML5 features excite developers more than native audio and video....
1 3963 posted 15 years ago by blueocto
0 3649 posted 15 years ago by 13tazer31
0 3739 posted 15 years ago by 13tazer31
1 2213 posted 15 years ago by tudisco
Adobe AIR offers an ability to save small snippets of data locally (eg. users' settings). Works also on Android. EncryptedLocalStore is stored encrypted using AES-CBC 128-bit method. It is not recommended to store more than 10 MB of data because of r...
0 1607 posted 15 years ago by MaRmAR
All glory to the ml function.
0 1574 posted 15 years ago by pablo_PXL
* example: google.com/reader/view/ folder = /reader * example: google.com/reader folder = / * example: google.com folder = ''
0 2672 posted 15 years ago by markux
0 1245 posted 15 years ago by silentpro
Used on `<input>`'s and `<textarea>`'s Several jQuery functions for getting the current cursor position and setting the current cursor position. Also allows for selecting text in a certain range. Usage: <pre> $("input[name='username']").getCu...
0 1382 posted 15 years ago by crutzdesigns
0 2669 posted 15 years ago by Caneco
Full credit for this code goes to Scratchbrain (http://www.scratchbrain.net/blog/ver2/)
0 1596 posted 15 years ago by adrianparr
0 1035 posted 15 years ago by muzafarova
The find and replace regular expressions convert from Font Squirrel's generated @font-face.
1 1416 posted 15 years ago by ertbor
Add this to your theme's functions.php file
0 1426 posted 15 years ago by amyb
0 3576 posted 15 years ago by kuril
I needed a way to generate some random strings for passwords, a number of methods seemed a little over the top so below is my simplified version that does the trick. I have set it to use non-confusing characters, so no i's, l's, 0's but very easy to...
0 1621 posted 15 years ago by motlive
We've tested on: Safari 5.03, IE 6-9, Firefox 3.6-4, Chrome 8, iOS 3.2-4.2, Android 2.2-2.3, Opera 11
0 1573 posted 15 years ago by blueocto
1 1357 posted 15 years ago by rccc
first design your app and generate a .UI file using Designer (part of Qt Creator), then run pyuic4 to get it to python, like: pyuic4-2.6 example.ui > example.py then import the window classes in example.py and make your up by subclassing like you...
1 2044 posted 15 years ago by blackthorne
You can see details on http://msdn.microsoft.com/en-us/library/ms178592.aspx , but I try to explain how you throw error with "uniqueidentifier" type parameters. I convert uniqueidentifier to string (nvarchar(50)) and set a variable. "%s" is equal...
0 2458 posted 15 years ago by emregulcan
1 ... 193 194 195 196 197 ... 553