Welcome To Snipplr


Everyone's Recent Snippets



1 ... 330 331 332 333 334 ... 553
Many times we face situation like when we need to access the code behind variables from javascript as well as accessing javascript variable from code behind. I can remember a practical scenario in my previous project. The requirement was to dra...
0 1440 posted 15 years ago by streamt
use this code between loops
0 1057 posted 15 years ago by BoNzO
0 886 posted 15 years ago by desmond54
Add background-color to headings
0 932 posted 15 years ago by Ateneae
1 937 posted 15 years ago by jzumbrun
A very basic XHTML 1.0 Transitional page template without too much indent.
0 3469 posted 15 years ago by HL
This snippet is useful if you want to include partials of another admin generated module into the current one (at runtime). This is necessary to *always* make sure that the partial is available, even after clearing the cache. And this is not always t...
0 1086 posted 15 years ago by dreadwarrior
0 1329 posted 15 years ago by sukantahazra
1 855 posted 15 years ago by BrunoMonteiro
I modified this excellent Perl script, created by John Watson (http://www.watson-net.com) to be used with TextMate to reformat your HTML for easier readability. Here's how to use it: 1. In TextMate > Bundles > Bundle Editor > Show Bundle Editor...
1 1439 posted 15 years ago by rareyman
link to plugin http://projects.exvoto.org/jquery-extjsoncookie/
1 1186 posted 15 years ago by almazom
Verified working for WP v2.9.1
1 1488 posted 15 years ago by johnandrewsroot
A simple, non-recursive function that I use to return the first element with an ID that contains a certain ID string. Sometimes, APS.NET appends the Naming Container ID to the IDs of controls, and in instances where the ClientID of a control you wa...
0 848 posted 15 years ago by erintechspired
PowerShell script. Get all installed in system COM objects.
0 1276 posted 15 years ago by AlexLocust
1 1276 posted 15 years ago by therobot
This is a sound manager class for a small project I've been working on for the past two days. Nothing really major or new, but just some simple functionality including play/stop/forward/previous functions that may help prove useful to someone. If you...
1 1499 posted 15 years ago by alvincrespo
If you weren't already aware, you can use a product like [Reflector.NET](http://www.red-gate.com/products/reflector/) to see all of the source code (that's right, the code) of a .NET assembly (DLL, EXE, etc). This is a real problem when your code is...
1 1611 posted 15 years ago by pckujawa
The code shows how to take a known MAC (e.g. "00:00:00:11:22:33") and locate the NIC which has that MAC. Note that the built-in MAC class for .NET is called PhysicalAddress (in System.Net.NetworkInformation). PhysicalAddress.Parse can take a string,...
0 2146 posted 15 years ago by pckujawa
default.aspx?id=5 queryString('id') will return 5 Also this will convert to lower case. IIS / ASP.net is not case sensitive so my function isn't either.
0 860 posted 15 years ago by derekholmes
1 ... 330 331 332 333 334 ... 553