Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
ffmpeg - Convert Sony Cybershot MPG file to mp4 for JavaFX 2
0
1214
posted 11 years ago by laurenceosx
This type of conversion is very fast because the main audio video content is just copied (not converted) to a new container type of file.
1
1281
posted 11 years ago by laurenceosx
Drop this in your project dir and run it. This will recursively kill CVS files and folders.
0
977
posted 11 years ago by laurenceosx
You can use this to get the page source code of any valid URL. Tested on VS2010.
0
2111
posted 11 years ago by nimblebits
This is a bash file to Create or Delete Virtual Host in Ubuntu system and Apache server.
This file open the Virtual Host in "/home/{user}/www/{domain}"
To run this file you need to make this file executable:
> sudo chmod u+x /path/to/file
Th...
0
893
posted 11 years ago by roeyhaim
This example is for an inline table value function with one string parameter
t1 is of type YourDataContext and t2 is of type string(hence the name of the mole method)
0
1275
posted 11 years ago by kirstencris
This function mimics Photoshop overlay blending by accepting two RGB arrays, one which will be overlayed and one which will overlay. Opacity is optional.
0
768
posted 11 years ago by laurikar
Run these queries (phpMyAdmin will do) to delete all media in the library, and remove all post attachment affiliation
1
2554
posted 11 years ago by rickygri
The use of dynamic data acquisition on modern web sites and in a lot of intranet applications, sometimes means we have to build structures dynamically as data comes in from a feed or AJAX operations. The problem is not with the data, but rather that...
0
827
posted 11 years ago by COBOLdinosaur
La función del SDKphp de facebook 'notifications' envia una notificación por parte de la aplicación al usuario que quieras (que haya aceptado tu aplicación).
0
798
posted 11 years ago by serialk89
see http://groovy.codehaus.org/gapi/groovy/inspect/swingui/ObjectBrowser.html
0
985
posted 11 years ago by laurenceosx
designing a simple horizontal tab menu by using ul and il elements with css.
0
964
posted 11 years ago by codingforever99
Sample SVN call from gradle: doSvnMain( 'your', 'svn', 'args', 'go', 'here' );
0
1200
posted 11 years ago by laurenceosx
Created this to generate file:/ script path for Groovy Refreshable Spring Beans
for use in applicationContext.groovy because refresh feature wouldn't work
when Groovy script is looked up on classpath.
0
1041
posted 11 years ago by laurenceosx
One of the great methods to load and work with icons in web pages is to load one image that is a collection of several icons and use any icon as needed, that reduces the number of server request and save bandwidth.
1
995
posted 11 years ago by codingforever99
When this snippet is added to a class it provides the boolean property: osWindows
0
1013
posted 11 years ago by laurenceosx
This will loop through files in somefolder with the extension .c, print out the filename and compile the files.
0
1166
posted 11 years ago by stianlagstad