Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Use from the directory you want to strip .svn folders from. This will run through all child folders and recursively remove any .svn folder.
0
900
posted 13 years ago by janlodey
A really fucking cool and easy way to calculate the alpha value for microsoft gradient using Javascript. Particularly useful in the Firebug console. Like a calculator.
0
718
posted 13 years ago by inreflection7
Bash
merge one slide , audio using ffmpeg - output is AUDIO ONLY in video container ( one slide in vid track)
podcast to youtube . the output will upload ok using mpeg container for audio only
2 examples:
2 pass libx264
output .wmv file
0
1369
posted 13 years ago by rowntreerob
Primeiro de tudo criar um novo formulário com os campos:
Criar campos:
nome
username (com validação alphanumeric)
password
email
e um submit button.
Na área dos scripts colocar o código e ter em atenção que conforme a versão do joom...
0
726
posted 13 years ago by montejunto
Simple simple simple function to make a checkbox for a form. Retains checked status.
0
710
posted 13 years ago by brownrl
The right way (According to Google I/O-10) to use getView with the convertView-param within a custom adapter class.
0
830
posted 13 years ago by Raevonium
This will detect if console.log is available in browser and display the message. Otherwise will display as alert message
0
717
posted 13 years ago by anagaiyahoocom
First you need to create an MPMediaQuery using the playListsQuery.
Then, you loop through each playlist and retrieve the valueForProperty.
0
903
posted 13 years ago by nd6
Just change the filename "courses" to that of your own and the entity name "Course" to your own.
1
843
posted 13 years ago by mattneary
This is just a simple page full of XHTML to follow along with my JS book. A template.
0
871
posted 13 years ago by inreflection7
This snippet lets you call a Javascript function declared within an IFrame from the parent element of the IFrame
0
1618
posted 13 years ago by alexscript