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
######################################################################### | |
### USAGE: rdiff path/to/left,path/to/right [-s path/to/summary/dir] ### | |
### ADD LOCATION OF THIS SCRIPT TO PATH ### | |
######################################################################### | |
[CmdletBinding()] | |
param ( | |
[parameter(HelpMessage="Stores the execution working directory.")] | |
[string]$ExecutionDirectory=$PWD, | |
[parameter(Position=0,HelpMessage="Compare two directories recursively for differences.")] |
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
/// <summary> | |
/// Algorithmic extension methods | |
/// </summary> | |
public static class AlgorithmExtensions { | |
private static readonly ThreadLocal<Random> Rng = new ThreadLocal<Random>(() => new Random()); | |
private static readonly ThreadLocal<CryptoRandom> RngCrypto = new ThreadLocal<CryptoRandom>(() => new CryptoRandom()); | |
/// <summary> | |
/// Shuffle a sequence using Fisher-Yates shuffle algorithm. |
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
<# | |
This script will disable luafv on your system and likely make Windows versions of git faster after restarting. | |
### DISCLAIMER: THIS WILL MODIFY HOW SECURITY WORKS ON YOUR SYSTEM AND I WOULD ONLY USE ON A DEV MACHINE ### | |
### USE AT YOUR OWN RISK ### | |
#> | |
Push-Location | |
Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\luafv | |
Set-ItemProperty . Start 4 |
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.Threading; | |
using NLog; | |
using App.Diagnostics; | |
namespace App { | |
public abstract class ExampleBase { | |
private static readonly Lazy<ILogger> GenericLogger = new Lazy<ILogger>(LogManager.GetCurrentClassLogger, LazyThreadSafetyMode.PublicationOnly); | |
protected ILog Log { get; private set; } |
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.ComponentModel; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.Linq; | |
using System.Reflection; | |
using System.Runtime.Caching; | |
using System.Threading.Tasks; |
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
Show hidden characters
{ | |
"compilerOptions": { | |
"experimentalDecorators": true, | |
"module": "commonjs", | |
"moduleResolution": "node", | |
"target": "ES5", | |
"jsx": "react", | |
"noImplicitReturns": true, | |
"noStrictGenericChecks": true, | |
"sourceMap": true, |
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
{ | |
"extends": ["tslint-react"], | |
"jsRules": { | |
"class-name": true, | |
"comment-format": [ | |
true, | |
"check-space" | |
], | |
"indent": [ | |
true, |
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
{ | |
"editor.fontSize": 14, | |
"editor.fontFamily": "'Operator Mono', Consolas, monospace", | |
"editor.cursorBlinking": "blink", | |
"terminal.integrated.drawBoldTextInBrightColors": false, | |
// Enable some vim ctrl key commands that override otherwise common operations, like ctrl+c | |
"vim.useCtrlKeys": false, | |
"workbench.colorTheme": "Material Theme", | |
"window.zoomLevel": -1, |
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
#!/usr/bin/env zsh | |
# | |
# THIS FILE IS FOR USER SPECIFIC SETTINGS ONLY | |
export ZDOTDIR="${ZDOTDIR:-"$HOME/.zsh"}" | |
export GIT_USERNAME="cchamberlain" | |
export GIT_NPM_ID="npm/npm" | |
export GIT_ZDOTDIR_ID="cchamberlain/zdotdir" | |
export GIT_ZPREZTO_ID="cchamberlain/prezto" |
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
[CmdletBinding()] | |
param ( | |
[parameter(HelpMessage="Enable tracing messages.")] | |
[alias("t")] | |
[switch]$POD_TRACE, | |
[parameter(HelpMessage="Enable debugging messages.")] | |
[alias("d")] | |
[switch]$POD_DEBUG=$POD_TRACE, |
NewerOlder