Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
574
posted 12 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
1163
posted 12 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
573
posted 12 years ago by montejunto
Simple simple simple function to make a checkbox for a form. Retains checked status.
0
546
posted 12 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
686
posted 12 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
596
posted 12 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
727
posted 12 years ago by nd6
Just change the filename "courses" to that of your own and the entity name "Course" to your own.
1
662
posted 12 years ago by mattneary
This is just a simple page full of XHTML to follow along with my JS book. A template.
0
697
posted 12 years ago by inreflection7
This snippet lets you call a Javascript function declared within an IFrame from the parent element of the IFrame
0
1393
posted 12 years ago by alexscript
a more useful way of printing php arrays in a nice readable format and able to decode serialized and json_encoded strings.
0
751
posted 12 years ago by liamchapman
Very useful sql to find which responsibility has access to a report or request.
0
1881
posted 12 years ago by theonlyalterego