This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Globalization; | |
using System.Linq; | |
namespace DareWare.Utils.Extensions | |
{ | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Security.Cryptography; | |
namespace DareWare.Utils | |
{ | |
#region Enum Types | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Text; | |
using System.Xml; | |
using System.Xml.Linq; | |
namespace DareWare.Utils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace DareWare.Utils | |
{ | |
/// <summary> | |
/// Static Helper Class that implements the ShowBytes functionality | |
/// </summary> | |
public static class ByteDisplay | |
{ | |
#region Private Fields |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ABC - a generic, native JS (A)scii(B)inary(C)onverter. | |
// (c) 2013 Stephan Schmitz <[email protected]> | |
// License: MIT, http://eyecatchup.mit-license.org | |
// Original URL: https://gist.github.com/eyecatchup/6742657 | |
// | |
// Slightly modified by Darrin W. Cullop ([email protected]) | |
// URL: https://gist.github.com/dwcullop/590d84b51a13e0cdda74 | |
var ABC = { | |
toAscii: function(bin) { | |
return bin.match(/[01]{8}/g) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Darrin W. Cullop | |
email = [email protected] | |
[core] | |
editor = \"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"-n\" | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol,space-before-tab | |
tabwidth=4 | |
excludesfile = ~/.gitignore | |
symlinks = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css" rel="stylesheet" type="text/css"> | |
<title>JS Bin</title> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
namespace DareWare.Utils | |
{ | |
public static class DataCollectionExtensions | |
{ | |
#region Public Methods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH digits AS | |
( | |
SELECT * | |
FROM | |
( | |
VALUES (0), (1), (2), (3), (4), | |
(5), (6), (7), (8), (9) | |
) AS nums(n) | |
) | |
SELECT lOOOO.OO + lOOO.OO + lOO.OO + lO.OO + l.OO AS N |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fixCamelCase( str ) | |
{ | |
return str.replace( /(?!^)(\S)?([A-Z][a-z])/, ( m, a, b ) => a ? a + " " + b : m ) | |
.replace( /(?:^|\s)[a-z]/g, m => m.toUpperCase() ) | |
.replace( /(?:[a-z][A-Z]|\D\d)/g, m => m[0] + " " + m[1] ); | |
} | |
(function() | |
{ | |
var tests = |
OlderNewer