I hereby claim:
- I am davidalpert on github.
- I am davidalpert (https://keybase.io/davidalpert) on keybase.
- I have a public key ASAU370tK4R4Lkl8hI9KNyXO0sYgmLwIXiA7d9wFjSZvhgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Note: ~/.ssh/environment should not be used, as it | |
| # already has a different pururpose in SSH | |
| env=~/.ssh/agent.env | |
| # Note: Don't bother checking SSH_AGENT_PID. It's not used | |
| # by SSH itself, and it might even be incorrect | |
| # (for example, when using agent-forwarding over SSH). | |
| agent_is_running() { |
| # Backup files | |
| #https://explainshell.com/explain?cmd=rsync+-azuv+--delete+--progress+--exclude+%27node_modules%27 | |
| rsync -auvhp --delete --exclude=node_modules [source] [destination] | |
| # Remove all node_modules folders | |
| # https://explainshell.com/explain?cmd=find+.+-name+%22node_modules%22+-type+d+-prune+-exec+rm+-rf+%27%7B%7D%27+%2B | |
| find . -name "node_modules" -type d -prune -exec rm -rf '{}' + |
| package main | |
| import ( | |
| "context" | |
| kitlog "github.com/go-kit/kit/log" | |
| "github.com/philippseith/signalr" | |
| "net/http" | |
| "os" | |
| ) |
| #!/usr/bin/env node | |
| let { exec, execSync } = require('child_process'), | |
| fs = require('fs'); | |
| const { stdout } = require('process'); | |
| const commitMessage = process.argv[2]; | |
| // expect .git/COMMIT_EDITMSG | |
| if (/COMMIT_EDITMSG/g.test(commitMessage)) { | |
| // opens .git/COMMIT_EDITMSG | |
| let contents = fs.readFileSync(commitMessage) || ''; |
| def sorted_walk(f): | |
| . as $in | |
| | if type == "object" then | |
| reduce keys[] as $key | |
| ( {}; . + { ($key): ($in[$key] | sorted_walk(f)) } ) | f | |
| elif type == "array" then map( sorted_walk(f) ) | f | |
| else f | |
| end; | |
| def extradata_sort_key_for: |
| public class SpoofCulture : IDisposable | |
| { | |
| private readonly CultureInfo _previousCultureInfo; | |
| private readonly Thread _threadToSpoof; | |
| public SpoofCulture(CultureInfo cultureToUse, Thread threadToSpoof = null) | |
| { | |
| _threadToSpoof = threadToSpoof ?? Thread.CurrentThread; | |
| _previousCultureInfo = CultureInfo.CurrentCulture; |
| Function Add-Prefix([switch]$inputObject,$io) { | |
| BEGIN { | |
| if ($inputObject) {$io | &($MyInvocation.InvocationName) $args; break;} | |
| $args = @($io) + $args | |
| $prefix = $args[0] | |
| Write-host "Adding $prefix as a prefix..." | |
| } | |
| PROCESS { | |
| $name = $_.Name | |
| if ($name.StartsWith($prefix)) { |
| ================================================================= | |
| Log Opened: Mon May 18 12:49:24.319 2015 | |
| Operating System: Windows 7 | |
| Quicken Path: C:\PROGRA~2\QUICKEN | |
| Patch Path: C:\ProgramData\Intuit\Quicken\inet\common\patch\ | |
| Common Files Path: C:\Program Files (x86)\Common Files | |
| Common App data Folder: C:\ProgramData\Intuit\Quicken | |
| Patch Exe path: C:\ProgramData\Intuit\Quicken\Inet\Common\patch\Update\ |
| // ==UserScript== | |
| // @name Link to ePost content | |
| // @namespace http://www.spinthemoose.com/ | |
| // @version 0.1 | |
| // @description adds a 'View Raw' link to the epost mail to view the PDF raw, which enables saving. | |
| // @author David Alpert | |
| // @match https://www.epost.ca/service/displayMail.a* | |
| // @grant none | |
| // ==/UserScript== | |
| // |