Skip to content

Instantly share code, notes, and snippets.

View jaboc83's full-sized avatar
🎯
Currently focusing on .NET Core and GoLang

Jake Moening jaboc83

🎯
Currently focusing on .NET Core and GoLang
View GitHub Profile
@jaboc83
jaboc83 / keybase.md
Created August 27, 2019 17:45
keybase proof

Keybase proof

I hereby claim:

  • I am jaboc83 on github.
  • I am jaboc83 (https://keybase.io/jaboc83) on keybase.
  • I have a public key ASD_n6KwzcVMvYPOu9G00rfx0zaeH9f34n2XhaiT6J_sOQo

To claim this, I am signing this object:

@jaboc83
jaboc83 / longKill.ps1
Created June 24, 2015 15:17
Delete Long File Names in Windows
[CmdletBinding()]
param (
[Parameter(Mandatory=$True, Position=1)]
$Filter
)
$batFileContent = @"
mkdir a
robocopy a %1 /s /mir
rmdir a
@jaboc83
jaboc83 / sigPadCompression.js
Last active May 3, 2021 16:01
jQuery Signature Pad Compression/Decompression algorithm
/** Reinflates a compressed signature string:
resolution = a representation of the resolution in
pixels of the canvas which this signature will be drawn
e.g. {x:800,y:200}
*/
var inflateToJsonSignature = function (deflatedSig, resolution) {
var components = [],
modifier = 1,
compressWithResolution = /^(?:\[(\d+)x(\d+)\])?([\w\W]*)/,
parsedSigString = deflatedSig.match(compressWithResolution),