Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 330 331 332 333 334 ... 552
1 1392 posted 16 years ago by magicrebirth
1 1463 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 2119 posted 16 years ago by rareyman
link to plugin http://projects.exvoto.org/jquery-extjsoncookie/
1 1852 posted 16 years ago by almazom
Verified working for WP v2.9.1
1 2174 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 1401 posted 16 years ago by erintechspired
PowerShell script. Get all installed in system COM objects.
0 1993 posted 16 years ago by AlexLocust
1 1935 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 2273 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 2446 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 3193 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 1569 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 1904 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 2066 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 2111 posted 16 years ago by eddequincey
0 4143 posted 16 years ago by wumbrath
Function to fix char set and collation on mysql tables, see [this link](http://www.barattalo.it/2010/02/11/php-function-to-fix-collation-on-database-fields-of-mysql/ "Fix encoding on db") for examples and more infos.
1 2668 posted 16 years ago by ginoplusio
[Источник](http://sreznikov.blogspot.com/2010/01/supplant.html)
0 1721 posted 16 years ago by vissper
1 2025 posted 16 years ago by adrianparr
Use this to detect key presses and respond to them.
0 1710 posted 16 years ago by adrianparr
0 3008 posted 16 years ago by Monferno
1 ... 330 331 332 333 334 ... 552