Welcome To Snipplr


Everyone's Recent Snippets



1 ... 95 96 97 98 99 ... 554
Ever notice a weird CS3 animation flicker? Annoying right? Add these CSS3 classes to the objects being animated and it should go away (at least it has in my testing). More details at the link, questions can be postsed either here or there.
0 1036 posted 13 years ago by FatFolderDesigner
function that creates a template tag that can be used to insert excerpts with different lengths. Also controls characters that come after excerpt
0 874 posted 13 years ago by verticalgrain
How to make Global Variables (Singleton) in Objective-C
1 1367 posted 13 years ago by neoline
UPDATE: might be easier or faster to use this now (also courtesy Pippin): http://pippinsplugins.com/get-all-attached-media/ **courtesy Pippin Williamson (http://pippinsplugins.com/image-gallery-short-code-using-post-attachments/) use shortcode...
1 1117 posted 13 years ago by adambundy
It's very useful if you build a FLV player for example, and want to convert the time into minutes:seconds (example: 6:13) //apply it to your project like this (and don't forget to import the class): time.text = TimeUtil.getTimecode(timeValue);
0 1147 posted 13 years ago by vamapaull
An example showing how to solve the memory leak problem in constructor
0 795 posted 13 years ago by huanglx
Removes WWW from the current URL, if exists.
1 931 posted 13 years ago by thewickedchemist
Issues a check to see if the "www" is included, if not, forces "www" to be appended to the URL in question.
1 920 posted 13 years ago by thewickedchemist
This code demonstrates how to concatenate list of strings using lambda expression without need to use a loop.
1 883 posted 13 years ago by Neven
Save this as plugin.nextlink.php to your ndxz-studio/site/plugin folder. Call the Plugin where you need it: <plug:nextlink /> Original by "gd" http://www.indexhibit.org/forum/thread/7879/
0 848 posted 13 years ago by G470
Use CDN if online. Fallback to local version if offline.
0 1082 posted 13 years ago by caruso_g
A clean and simple jQuery function for creating a tabbed element. This one allows multiple tabbed elements on 1 page (which has been the downfall of so many others)
1 941 posted 13 years ago by digitalclubb
This function will detect the orientation (portrait/landscape) of an iOS device and set the body class to either portrait or landscape, as well as providing a global variable for use elsewhere in your JS. If you require multiple classes on your bo...
3 1219 posted 13 years ago by iridium
Fast and easy way to find a keyword inside of files located inside of a directory tree. (eg: looking for a function foo, inside of your applications directory.) This command will display a list of files which contain function foo.
0 1138 posted 13 years ago by luizlopes
jQuery for inputy attribute "placeholder".
1 936 posted 13 years ago by mihael
simple as3 class that help you to avoid repeat add MouseEvent each time
0 1163 posted 13 years ago by mgraph
Converts black to alpha.
0 932 posted 13 years ago by playfulsystems2
Simple mix of basic CSS, HTML, and jQuery to detect IE and display a message to the user encouraging them to update.
0 1065 posted 13 years ago by thewickedchemist
dynamically selects a value in a select according to what's already in the DB
0 795 posted 13 years ago by dato
Replace the normal <image...> XML with the following code (be sure to adjust the width and height accordingly):
0 2233 posted 13 years ago by wnasich
Bring an application to front to gain focus.
1 1140 posted 13 years ago by mirage3d
Glavni program zadatka 3
0 823 posted 13 years ago by boki567
Use PHP to get JSON 1) set the PHP to the URL of the JSON 2) echo a variable with the loaded data 3) use a request via jQuery to get the variable from PHP
0 1083 posted 13 years ago by inreflection7
Return string representing current date in ISO 8601 format, e.g. "2011-12-12T20:50:22+0100". java.util.Calendar and java.text.SimpleDateFormat have to be imported first. NOTICE: Use this instead: http://snipplr.com/view/62060/clojure-iso-8601-curre...
0 2000 posted 13 years ago by ef
This snippet describes how to fill select html element with Text, Value pairs where 'Text' is displayed to the user and 'Value' is actual value to be processed.
0 933 posted 13 years ago by Neven
<p>Little snippet, which helps to use custom colored selections. All you need is to setup the right style and use this snippet!</p>
0 810 posted 13 years ago by schmizpeter
A simple PHP function for fetching tweets. Just provide your Twitter screen name and how many tweets you want and that is it. The function returns a simplified result set because you rarely need all the stuff that the Twitter API throws your way. If...
1 1138 posted 13 years ago by Sverri
Generate random number between two integers
0 926 posted 13 years ago by aperazzi
Class to list/remove recursively files into a directory
0 973 posted 13 years ago by fgbreel
1 ... 95 96 97 98 99 ... 554