Welcome To Snipplr


Everyone's Recent Snippets



1 ... 75 76 77 78 79 ... 554
The below code lets you stop access from the remote IPs excluding your local machine IP. This code can be setup where someone wants to provide an internal access and restricting the external access for the web service. - [Automated Predictive Dial...
0 1632 posted 13 years ago by aruldave
author SomeMiscGuy@StackOverflow
1 2112 posted 13 years ago by witmann
Here we have simple javascript HTML5 support.
1 1053 posted 13 years ago by o0110o
Capture Web Screenshots easily with the [GrabzIt ](http://grabz.it/) PHP API You will need the free [GrabzIt Code Library](http://grabz.it/api/php/download.aspx) to get started.
2 1035 posted 13 years ago by Maximus1983
Here’s a very simple script which adds numbers sequentially to an unordered list using jQuery
0 1087 posted 13 years ago by satie83
How do I prevent previously submitted form data from being reinserted into the database when the user presses the browser's Refresh button? Although it is not possible due to unique key constraint available in tables but it is unnecessary go to othe...
0 1017 posted 13 years ago by satie83
This responsive video CSS trick was discovered by tjkdesign.com. I've blogged about it before, you may read the details here. It makes the video embed to expand fullwidth to the boundary.
0 1068 posted 13 years ago by OrngTicTac
Connect to and query a db2 database using php.
0 1063 posted 13 years ago by zombree
OBJC macro to use HEX color values to init UIColor objects
0 1437 posted 13 years ago by Gretzki
test create new snippet
0 1305 posted 13 years ago by bindirtit
You can set this as a cron to automatically clean up unsubscribes after sending out a mass email.
0 1046 posted 13 years ago by squadsupply
Using array_map() on multidimensional arrays
0 1591 posted 13 years ago by pruntrut
The following shoud do it. pass the array, index is what element you want to sort on (in your case use 3). Then you can sort asc or desc, and weather you want to use natural sorting (the way a human would sort, 2 before 10) and lastly case sensitive...
0 1026 posted 13 years ago by pruntrut
This is the list of [supported timzones](http://php.net/manual/timezones.php) that can be used with the [PHP5 DateTime](http://php.net/manual/class.datetime.php) class, grouped by geographical continent (rather than PHP's America/..., Asia/... etc id...
0 1125 posted 13 years ago by ch1902
This is how you can see likes from a specific url
0 1076 posted 13 years ago by DiegoSeC
It's no fun implementing QuickSort unless you can force it out of its blister-fast, O(n log n) speed and humiliate it with its worst-case, O(n^2) runtime. So that's what I set out to do. My naive partition simply pivots around the low item, but...
0 1077 posted 13 years ago by rtperson
render :layout => false not work
0 1176 posted 13 years ago by CrescentMoon
add created datetime and modified timestamp columns to table
0 821 posted 13 years ago by navblue
how to make the Git remote repository read-only by configuring a non-functional push URL
0 1176 posted 13 years ago by m1b
sort a multidimensional array by field
0 1184 posted 13 years ago by akt
sort a multidimensional array by field
0 1131 posted 13 years ago by akt
Create a new table from the details of another table then insert the table contents
0 914 posted 13 years ago by imbraz
Make your spreadsheet public to get a key like this: 0AsfENoKj1ir7dE8yR6U0aUtpdTVNM20wRlNJOhZaclG Set it on the script and you're all done.
0 1185 posted 13 years ago by Felladrin
Example of filtering by using case
0 1129 posted 13 years ago by ef
0 688 posted 13 years ago by lolitaloco
set post thumb if missing on post save
0 967 posted 13 years ago by lolitaloco
In order to avoid make files executable, you can use these to chmod files and directories differently.
0 1063 posted 13 years ago by wnasich
How do you make an existing git branch track a remote branch
0 1199 posted 13 years ago by satie83
Here's a snippet for copying (all) the eventhandlers of one element to another with jQuery and effectively cloning the behavior of one element. Keep in mind that if it's possible, you should just register the same handlers you actually need, inste...
0 1686 posted 13 years ago by chlab
1 ... 75 76 77 78 79 ... 554