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.Reactive.Disposables; | |
using System.Reactive.Linq; | |
using DynamicData; | |
namespace DareWare.Utils; | |
public static class FileSystemObservable | |
{ | |
public static IObservable<IChangeSet<FileSystemInfo, string>> Create(string path, string filter, bool includeSubDirectories, bool includeError = true) => | |
Observable.Create<IChangeSet<FileSystemInfo, string>>(observer => |
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
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
// FormatString.h : Standard String Formatting Support | |
// | |
// Author Name : | |
// Darrin W. Cullop ([email protected]) | |
// | |
// License : | |
// CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/) | |
// | |
// Abstract : |
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
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
// DebuggingHelpers.h : Debug Logging on Windows in Modern C++ | |
// | |
// Author Name : | |
// Darrin W. Cullop ([email protected]) | |
// | |
// License : | |
// CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/) | |
// | |
// Abstract : |
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.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace SwgohHelpApi | |
{ |
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.Runtime.InteropServices; | |
namespace DareWare.Utils | |
{ | |
/// <summary> | |
/// High Resolution Timer Class. Uses the Win32 API to create a timer | |
/// that is as accurate as the system clock, down to microseconds | |
/// </summary> | |
public class HiResTimer : IComparable<HiResTimer>, IEquatable<HiResTimer> |
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
<div class="container"> | |
<div class="well container-fluid"> | |
<div class="row"> | |
<div class="col-xs-12 col-sm-6"> | |
<div class="h1 rbBase rainbowShadows">Hello, World!</div> | |
<div class="h3 rbBase rbStacked">Hello, World!</div> | |
<div class="h2 rbBase rbFuzz">Hello, World!</div> | |
<div class="h1 rbBase rbFuzz2 rbTextDark">Hello, World!</div> | |
</div> | |
<div class="col-xs-12 col-sm-6"> |
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
// Quick and Dirty file for generating Rainbowized CSS scripts | |
// This could be done with a CSS pre-parser like SCSS or LESS or whatever, but | |
// for now, it is what it is. | |
function units(n, units) { | |
n = parseInt(n); | |
return n ? n.toString() + units : 0; | |
} | |
function unitsF(n, units, digits) { |
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 = |
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
namespace DareWare.Utils | |
{ | |
public static class DataCollectionExtensions | |
{ | |
#region Public Methods |
NewerOlder