Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Uploading a binary file(like .doc) to Dropbox.
I tried with .ics and it worked.
0
2995
posted 13 years ago by RobinD
You can use Curl to create a backup of your site easily. It is very effective method for those who complain that they lost site content.
0
2178
posted 13 years ago by codehero11
Snippet may be usefull for cloning table header to the bottom of table.
Snippet will clone all children elements from thead, reverse and insert to tfoot. Example at jsFiddle: <a href="http://jsfiddle.net/xWWYN/">jsFiddle</a>
0
3604
posted 13 years ago by NeXTs
I wanted a time based gantt chart in excel. Robert's excel template was very useful. The hourly gantt chart was not useful to visualize my needs. I need something with 10 mins precision to analyse patterns in jobs that are running under 15 mins. So t...
0
3023
posted 13 years ago by mprabhuram
To correct the shift that happens on hover when the weight of the link is normal, but bold on hover.
0
3166
posted 13 years ago by stephcode
using this code in a stored procedure you can reset the seed of the identity column in sql server database
0
1887
posted 13 years ago by PalCoder
How can I do a function once a toggleClass has completed?
The .toggleClass method along with all other animation methods return a deferred object that you can access using .promise(). At that point, you can bind to it's done method.
1
1742
posted 13 years ago by satie83
For side by side ULs that become too wide on small screens/devices.
The following script let you merge or unmerge ULs depending on the size of the screen/device.
Works with jQuery
0
2014
posted 13 years ago by jbernus
How to put sidebars footer on twenty twelve theme again. Part 5: add the styles necesary in style.css (this styles are no optimized -yet- for the responsive layout)
1
1753
posted 13 years ago by almendro
How to put sidebars footer on twenty twelve theme again. Part 4: Insert a new function (retouched from twentyeleven) in the functions.php file.
1
1727
posted 13 years ago by almendro
How to put sidebars footer on twenty twelve theme again. Part 3: Insert this register_sidebar at the end of the function twentytwelve_widgets_init() into functions.php
1
1640
posted 13 years ago by almendro
How to put sidebars footer on twenty twelve theme again. Part 2:
Create the file sidebar-footer.php into the theme directory
1
1818
posted 13 years ago by almendro
How to put sidebars footer on twenty twelve theme again. Part 1:
Insert the call in the footer.php
1
1806
posted 13 years ago by almendro
This SQL would help you to transpose a rows into columns in SQL
0
3463
posted 13 years ago by mprabhuram
This would round down the time stamp to the nearest 5 minute interval based on first interval being 00:00:00.
0
3034
posted 13 years ago by mprabhuram
I was using Groovy to use Cajo to do distributed processing and after def cajo = new Cajo(); the process would never terminate on it's own until I discovered gnu.cajo.invoke.Remote.shutdown();
0
3929
posted 13 years ago by laurenceosx
This formula will automatically change a cell's background color if there is data in it. You can also change the formula to only fill cells where there is no data.
0
4090
posted 13 years ago by kidmizere
This sample contains 2 macro techniques for iterating through character values on a macro %DO loop.
0
4585
posted 13 years ago by webonomic
This is a really basic skeleton template for jQuery plugins. It provides a callback function which can be called anywhere in your plugin with base.success(); This will return the current element, but you can pass anything you like back by changing th...
0
2054
posted 13 years ago by rickygri
this program view some of OS information try it you will not lose thing.
1
1667
posted 13 years ago by PalCoder
It's imposible to read de "_id" field en django templates ( {{element._id}} === error) So, to read it, you must do a templatetag.
Now you hace the templatetag, you can use it like this: {{element|pk}}
0
4576
posted 13 years ago by viroide