Skip to content

Instantly share code, notes, and snippets.

import { pull } from 'lodash-es';
declare var Zone;
const updateTaskCount: Function = Zone.prototype._updateTaskCount;
window['debug__tasks'] = [];
Zone.prototype._updateTaskCount = function () {
// tslint:disable-next-line:no-console
$env:npm_config_loglevel="verbose"
@luchsamapparat
luchsamapparat / debugging-git-ssh-issues.ps1
Created September 23, 2019 12:02
debugging-git-ssh-issues
$env:GIT_CURL_VERBOSE=1; $env:GIT_SSH_COMMAND="ssh -vvv"; git pull;
$search = "search"
$replace = "replace"
Get-ChildItem -Recurse -Filter "*$search*" -Exclude "*node_modules*" | Rename-Item -NewName { $_.Name -replace "$search","$replace" }
@luchsamapparat
luchsamapparat / DockerRemoveDanglingImages.bat
Last active March 31, 2019 17:15
Remove dangling docker images on Windows
FOR /f "tokens=*" %i IN ('docker images -q -f "dangling=true"') DO docker rmi %i