Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This example shows how to release artifacts into Artifactory by using Buildr, the origin of this code is http://groups.google.com/group/buildr-talk/
1
700
posted 17 years ago by narkisr
Name the form what ever you like, but make sure that is reflected in the javascript.
0
4967
posted 17 years ago by jachin
Features: Complies to version 2.1 of the vCard specification
Supports the following attributes:
* Name
* Formatted Name
* Phone and fax numbers
* Birthday
* Address
* Address label
* email address
* notes...
6
2421
posted 17 years ago by jonhenshaw
From: David Walsh.
http://davidwalsh.name/dw-content/open-links.php
2
1238
posted 17 years ago by gbot
ASP does not have a built in function to reverse or sort array like other languages. Find out how to do it.
1
1351
posted 17 years ago by neal_grosskopf
Este script calcula la edad en años a partir de una fecha dada y la resta con la actual.
0
888
posted 17 years ago by isaac
Fecha en formato dd/mm/yyyy o dd-mm-yyyy retorna la diferencia en dias
0
1037
posted 17 years ago by isaac
This changes the date format from y-m-d to d-m-y on PHP. It's easy to change the - to / or spaces...
0
1271
posted 17 years ago by isaac
This changes the date format from d-m-y to y-m-d on PHP. It's easy to change the - to / or spaces...
1
1506
posted 17 years ago by isaac
Execute this to remove the .svn directory from the current directory and all sub directories
3
959
posted 17 years ago by meinhard
Command line currency convertor, just copy and paste. I named mine 'coin'. Make sure you have Ruby, Rubygems and Hpricot (gem install hpricot).
e.g.
~$ coin 100 eur usd
158.3300
Uses the site xurrency.com.
1
947
posted 17 years ago by plexus
Takes a date and returns a string describing how long ago that date was. examples: 3 seconds ago, 5 days ago, 2 years ago, you get the idea :)
17
5265
posted 17 years ago by patcullen