khouser's Favorite Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev [Page 1 of 5] Next »
C++ format String saved by 1 person
Std:string formatter
posted on August 4, 2010 by
C++ template example partial specialization saved by 1 person
Template partial specialization
posted on August 4, 2010 by
C# registry win32 saved by 3 people
C# registry read-write
posted on July 8, 2010 by
C# saved by 2 people
Modal Progress dialog with cancel for time-consuming operations, C#, WinForms
posted on July 6, 2010 by
C++ bfs saved by 1 person
C++ BFS
posted on July 2, 2010 by
C++ saved by 1 person
Snipplr API XML-RPC Structs
posted on June 23, 2010 by
C++ mfc saved by 1 person
MFC, Get default browser using AssocQueryString
posted on June 21, 2010 by
C++ mfc saved by 1 person
Get a Registry string value as a CString, MFC. Examples to get version of browsers.
posted on June 21, 2010 by
C++ mfc CreateProcess saved by 1 person
MFC, run command such as "ping 127.0.0.1" and get stdout in a CString.
posted on June 21, 2010 by
C++ saved by 1 person
HTML Parser
posted on June 7, 2010 by
C# password security encrypt Encryption saved by 1 person
Encrypting passwords and other sensitive information in .NET
posted on June 7, 2010 by
C# dos configure install batchfile Certificates WindowsSDK Cryptography saved by 1 person
Command Line to Add Certificates to Certificate Stores (Including the Intermediate CA Store)
posted on May 24, 2010 by
C++ saved by 1 person
dijkstra
posted on April 15, 2010 by
C++ design-pattern saved by 1 person
application_singleton_h
posted on March 30, 2010 by
C# c-sharp saved by 3 people
Remote WebRequest Get/Post
posted on March 30, 2010 by
C# seo keywords saved by 1 person
Keyword Extraction
posted on March 23, 2010 by
C# console saved by 3 people
Colored console writes C#
posted on March 12, 2010 by
C++ buffer memory saved by 1 person
simple encapsulated memory buffer
posted on March 12, 2010 by
C++ String char conversion saved by 2 people
Convert String to C-String (char)
posted on March 12, 2010 by
C++ String char conversion saved by 2 people
Convert C-String (char) to String
posted on March 12, 2010 by
C++ file function stream saved by 2 people
Check if a file exists (fstreams)
posted on March 12, 2010 by
C# saved by 1 person
Read all bytes from a file.
posted on March 5, 2010 by
C++ saved by 1 person
C++, DLL, shared memory using pragma without touching .DEF file
posted on March 2, 2010 by
C++ saved by 1 person
MFC, edit INI file using ShellExecute
posted on March 1, 2010 by
C# Reflection saved by 4 people
GetProperties()
posted on February 28, 2010 by
C# format String arguments Named saved by 1 person
String Format with Named Arguments
posted on February 19, 2010 by
C# hex control gui saved by 1 person
Hex edit control for .NET GUI
posted on February 15, 2010 by
C# multithread async multitask saved by 1 person
.NET 4.0 and System.Threading.Tasks
posted on February 15, 2010 by
C# method md5 extention Encryption saved by 4 people
MD5 Encryption
posted on February 14, 2010 by
C# ip ethernet networking udp saved by 2 people
Listening for and receiving UDP packets on a particular local IP and port
posted on February 12, 2010 by
C# Expression Linq saved by 1 person
Dynamicaly Creating Expression Accessing a Property
posted on February 12, 2010 by
C# security obfuscate saved by 1 person
Obfuscating .NET code so as to hide implementation details from public view (using BabelObfuscator)
posted on February 11, 2010 by
C# mac socket ip ethernet saved by 2 people
Get the network interface card (NIC) from a known MAC address (and get the IP addresses on that NIC)
posted on February 11, 2010 by
C# socket tcp ethernet udp saved by 1 person
Bind a socket (including UdpClient and TcpClient) to a local network interface card (NIC)
posted on February 11, 2010 by
C# saved by 1 person
C#, convert a double-null-terminated string to an array of strings.
posted on January 29, 2010 by
C# deployment saved by 1 person
Embed reference dlls (assemblies) in an executable (exe) or one dll in .NET
posted on January 27, 2010 by
C# Breaker Circuit saved by 1 person
Simple Circuit Breaker in C#
posted on January 20, 2010 by
C# pipes IPC saved by 1 person
Communicate between different applications and processes (Inter-Process Communication)
posted on January 19, 2010 by
C# logging Reflection saved by 1 person
Get the Namespace, Class Name, and Method Name of the Currently Executing Method Via Reflection
posted on January 14, 2010 by
C# binary saved by 1 person
Tips for dealing with binary arrays (BitArray, BitVector32, etc) in .NET
posted on January 12, 2010 by
« Prev [Page 1 of 5] Next »