Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The CSS calc() function can be used anywhere a length, frequency, angle, time, number, or integer is required. It can be used to apply values for width/height; font-size; margins; padding; borders; shadows; border radius; text-indent;top/right/bottom...
0
2082
posted 13 years ago by COBOLdinosaur
Uploading a binary file(like .doc) to Dropbox.
I tried with .ics and it worked.
0
2930
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
2116
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
3536
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
2957
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
3103
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
1825
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
1684
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
1955
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
1679
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
1664
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
1573
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
1769
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
1737
posted 13 years ago by almendro
This SQL would help you to transpose a rows into columns in SQL
0
3393
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
2974
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
3868
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
4002
posted 13 years ago by kidmizere
This sample contains 2 macro techniques for iterating through character values on a macro %DO loop.
0
4512
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
1995
posted 13 years ago by rickygri
this program view some of OS information try it you will not lose thing.
1
1611
posted 13 years ago by PalCoder