Welcome To Snipplr


Everyone's Recent Snippets



1 ... 69 70 71 72 73 ... 554
How to redirect stderr to stdout in bash
0 1123 posted 13 years ago by tinytiger
Nice implementation of Blowfish for storing user passwords to prevent decryption when for example the user database is compromised. Origin: Burak Guzel@Nettuts
2 2227 posted 13 years ago by ptodorov
Calculates the amount of time since the date specified with yr, mon, and day. The parameter "countunit" can be "years", "months", or "days" and is the duration between the specified day and today in the selected denomination. The "decimals" parameter...
0 1309 posted 13 years ago by StevenW721
Gets the constants from a class using reflection.
0 2123 posted 13 years ago by ryantxr
Adds a method to the jQuery Validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) to return false if the field equals a specified string
0 2321 posted 13 years ago by StevenW721
Quick method to validate a string is a valid IP address.
1 2069 posted 13 years ago by stephenmurby
In javascript there is no function for printing variables like you have PHP, I use print_r and var_dump a lot in PHP for dumping variables so I wanted to create a simular function in javascript.
0 2055 posted 13 years ago by satie83
Thanks to Brunildo.org for this: http://www.brunildo.org/test/img_center.html
15 7519 posted 13 years ago by adambundy
The main objective of this example is to access social media providers Facebook, Twitter and others by clicking a single button "Share".On Clicking the button the api will open dialog of providers. User can access the provider from dialog and can...
0 2050 posted 13 years ago by vinny82
There are many ways to deliver a crossdomain.xml file through NodeJS or Express.js. Here is one solution
0 2416 posted 13 years ago by chrisaiv
How to retrieve entity StateCode (Status) in JavaScript by accessing CRM oDATA (REST) Service
0 1576 posted 13 years ago by toLL
How to launch custom dialog from JavaScript (for example from custom RibbonButton)
0 1020 posted 13 years ago by toLL
A fast way to delete many files without getting an 'Argument list too long' error as wold be the case with 'rm'.
0 1134 posted 13 years ago by tinytiger
overflow: hidden; will hide both vertical and horizontal scrollbars overflow-y: hidden; will hide the vertical scrollbar overflow-x: hidden; will hide the horizontal scrollbar
0 1149 posted 13 years ago by TheJasonParker
A small snippet to parse out proxies from http://hidemyass.com/proxy-list/
0 1888 posted 13 years ago by icinNet
Html and CSS included...
0 1986 posted 13 years ago by thewickedchemist
This is some code that creates an effect for jQuery Cycle to scroll up when you click the down button and down when you click the up button - like a scrollbar.
0 1358 posted 13 years ago by JoshChris
list all files in directory and subdirectory
1 1472 posted 13 years ago by ne7son
The idea here is that you contain the content you want to center in two divs, an outer one and an inner one. You float both divs so that their widths automatically shrink to fit your content. Next, you relatively position the outer div with it's righ...
0 1183 posted 13 years ago by cesarkohl
It's necessary that the commit hasn't pushed by anyone
0 1794 posted 13 years ago by satie83
Backup/Export MySQL Database using mysqldump and compress/gzip it ------------------------------------------
0 1509 posted 13 years ago by MohamedAlaa
Run This Command in your Terminal ---------------------------------------- mysql -u **username** -p -h localhost **DATA-BASE-NAME** < data.sql
0 1170 posted 13 years ago by MohamedAlaa
This is a batch file that will add the date to the end of all files in a particular directory located on the user's desktop and place them in a directory called Output_Renamed on the user's desktop.
2 3375 posted 13 years ago by _reydin_
not mine.
0 3000 posted 13 years ago by kdesilva
This script will parse the auth.log and return results depending on the argument entered. To run the script enter one of the following. ./auth success or ./auth fail
1 1577 posted 13 years ago by _reydin_
This script will do a daily backup of directories. If the files has not changed then it creates a hard-link to the file. If the file has changed then it will copy the new file. The backup is not much larger than the directories being backed up.
1 1520 posted 13 years ago by _reydin_
Regex code to match hexadecimal colors
0 3877 posted 13 years ago by guilhermehn
remove bubble from google map
0 1272 posted 13 years ago by thesmu
1 ... 69 70 71 72 73 ... 554