Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 330 331 332 333 334 ... 553
Add background-color to headings
0 1171 posted 16 years ago by Ateneae
1 1195 posted 16 years ago by jzumbrun
A very basic XHTML 1.0 Transitional page template without too much indent.
0 3845 posted 16 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 1361 posted 16 years ago by dreadwarrior
0 1689 posted 16 years ago by sukantahazra
1 1060 posted 16 years ago by magicrebirth
1 1104 posted 16 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 1735 posted 16 years ago by rareyman
link to plugin http://projects.exvoto.org/jquery-extjsoncookie/
1 1470 posted 16 years ago by almazom
Verified working for WP v2.9.1
1 1761 posted 16 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 1078 posted 16 years ago by erintechspired
PowerShell script. Get all installed in system COM objects.
0 1562 posted 16 years ago by AlexLocust
1 1562 posted 16 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 1825 posted 16 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 1999 posted 16 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 2656 posted 16 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 1112 posted 16 years ago by derekholmes
Use this code in a WordPress template with the Geo Mashup plugin (see URL) to include a global map within a post or page, centered on that post or page's location, with marker highlighted.
0 1481 posted 16 years ago by cyberhobo
I include this in anything I'm developing, so I can easily inspect the contents of arrays and objects.
0 1706 posted 16 years ago by joshuamilford
There has to be a better way to do this rather than using regular expressions to remove the various namespaces within the ATOM feed. Also variables could be reused (currently used for teaching so helpful to explain process). Based on: http://www.r...
2 1773 posted 16 years ago by eddequincey
1 ... 330 331 332 333 334 ... 553