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
alias gitclean='git clean -dfx' | |
alias glog='git log --graph --topo-order --pretty="%C(auto)%h %<(15,trunc)%an %<(15,trunc)%ar %C(cyan)%<(65,trunc)%s %C(auto)%D"' | |
alias uuid='node -e "console.log(require(\"crypto\").randomUUID())"' |
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
var glob = require("glob") | |
Reset = "\x1b[0m" | |
FgRed = "\x1b[31m" | |
FgGreen = "\x1b[32m" | |
FgYellow = "\x1b[33m" | |
FgWhite = "\x1b[37m" | |
let specs = glob.sync("src/**/*.spec.ts"); | |
let tests = glob.sync("src/**/*.test.ts"); |
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
data:text/html, <title>Text Editor</title><style>html,body{margin: 0; padding: 0;}</style><textarea style="font-size: 1.5em; line-height: 1.5em; background: %23000; color: %233a3; width: 100%; height: 100%; border: none; outline: none; margin: 0; padding: 90px;" autofocus placeholder="wake up Neo..." /> |
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
rem see https://github.com/coreybutler/nvm-windows/issues/300 | |
@echo off | |
SETLOCAL EnableDelayedExpansion | |
if [%1] == [] ( | |
echo Pass in the version you would like to install, or "latest" to install the latest npm version. | |
) else ( | |
set wanted_version=%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
[user] | |
email = [email protected] | |
name = John Case | |
[http] | |
proxy = http://am.proxy.ge.com:80/ | |
[https] | |
proxy = http://am.proxy.ge.com:80/ | |
[core] | |
pager = diff-so-fancy | less --tabs=4 -RFX | |
[alias] |
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
// In src/ directory | |
angular.module('services.configService', []).service('ConfigService', [function() { | |
return {'I': 'am not a mock'}; | |
}]); |
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
'use strict'; | |
define([], function() { | |
var toHavePropertyValues = function(util, customEqualityTesters) { | |
return { | |
compare: function(actual, expected) { | |
// actual is an object | |
// expected is an object | |
// The actual must contain all properties specified in expected and have matching values | |
var result = {pass: true}; |