I hereby claim:
- I am wickdninja on github.
- I am wickdninja (https://keybase.io/wickdninja) on keybase.
- I have a public key ASCz-gAS67L039MD5LlG9OWvlIzhQmnAvv11hpw27svb2Qo
To claim this, I am signing this object:
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"command": "yarn dev", | |
"name": "yarn dev", | |
"request": "launch", |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"args": [ | |
"dev" | |
], |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Example", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "node", | |
"runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"], |
import { Pipe, PipeTransform } from '@angular/core'; | |
import { distanceInWordsToNow } from 'date-fns'; | |
@Pipe({ | |
name: 'distanceInWordsToNow', | |
pure: false | |
}) | |
export class DistanceInWordsToNowPipe implements PipeTransform { | |
transform(value: string) { | |
return distanceInWordsToNow(value); | |
} |
# SQL Server - do this early to avoid issues with newer versions of VC++ 2015 redist | |
choco install sql-server-2017 | |
choco install sql-server-2017-cumulative-update | |
choco install sql-server-management-studio | |
# tools | |
choco install git | |
choco install nodejs | |
choco install tortoisegit | |
choco install vscode |
# Author: Nate Ross @wickdninja (https://wickd.ninja) | |
# HEAVILY BASED ON https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f | |
# Thanks to Jess Frazelle <[email protected]> | |
# 1. Install Chocolatey | |
<# | |
Set-ExecutionPolicy RemoteSigned -Force | |
# Create empty profile (so profile-integration scripts have something to append to) | |
if (-not (Test-Path $PROFILE)) { | |
$directory = [IO.Path]::GetDirectoryName($PROFILE) |
I hereby claim:
To claim this, I am signing this object:
// SQL TO FIND PAYMENT | |
// select PayToAccount,PayFromAccount,PayToName,memo,shardkey,amount,payfrom,* from Payments where CollectionDate = '12/04/2019' and amount = 500 | |
// TEST TO FIX PAYMENT | |
[Test] | |
public void Remove_Special_Character() | |
{ | |
Guid paymentID = new Guid("871fa1b5-0b49-4444-8bde-17595fea7340"); | |
string pattern = @"[^a-zA-Z0-9\s\.\-\&\'\(\)\/\\\:\,\#\$\;\!\+\|]|[\t\u00a0]"; | |
Regex reg = new Regex(pattern); |
[Test] | |
public void Get_Aggregates() | |
{ | |
var ids = new List<string> | |
{ | |
"GUID_HERE" | |
}; | |
foreach (var id in ids) | |
{ | |
using (var uow = UnitOfWork.Create()) |
Failing test log
ClientsPage should create FAILED
Error: StaticInjectorError(DynamicTestModule)[IonRouterOutlet -> ChildrenOutletContexts]:
StaticInjectorError(Platform: core)[IonRouterOutlet -> ChildrenOutletContexts]:
NullInjectorError: No provider for ChildrenOutletContexts!
at NullInjector.get (webpack:///./node_modules/@angular/core/fesm5/core.js?:1360:19)
at resolveToken (webpack:///./node_modules/@angular/core/fesm5/core.js?:1598:24)
at tryResolveToken (webpack:///./node_modules/@angular/core/fesm5/core.js?:1542:16)