Skip to content

Instantly share code, notes, and snippets.

View JaimeStill's full-sized avatar
👽

Jaime Still JaimeStill

👽
  • Arma Global / General Dynamics
  • Fayetteville, NC
View GitHub Profile
@JaimeStill
JaimeStill / cloudSettings
Last active August 17, 2020 14:45
Visual Studio Code Sync Settings Gist
{"lastUpload":"2020-08-17T14:45:27.097Z","extensionVersion":"v3.4.3"}
@JaimeStill
JaimeStill / platform.md
Last active March 12, 2017 20:23
Angular and ASP.NET Core Template / Workflow

Angular and ASP.NET Core Template Scaffolding and Workflow

Documentation in Progress

See on GitHub

This project was put together based off of the Angular projects from the generator-aspnetcore-spa generator. I wanted to understand how all of the components worked in that project template, and how to strip it down to a more bare starting point. A big reason for this was that I didn't want to be tied to using Bootstrap

Contents

@JaimeStill
JaimeStill / efdp.md
Last active March 16, 2017 00:00
EFDP Web App Process Guide
@JaimeStill
JaimeStill / AccountModel.cs
Last active August 10, 2017 20:07
Stuff to remember for PowerShell interactions in C# / Angular
public class AccountModel
{
public string samAccountName { get; set; }
public string surname { get; set; }
public string givenName { get; set; }
public string initials { get; set; }
public string path { get; set; }
public string officePhone { get; set; }
public string company { get; set; }
public string department { get; set; }
@JaimeStill
JaimeStill / home.component.html
Created September 27, 2017 13:01
Forms without forms
<md-toolbar>Start Building</md-toolbar>
<section>
<md-input-container>
<input mdInput placeholder="Name" [(ngModel)]="test.model.name">
</md-input-container>
</section>
<button md-button (click)="test.addData()">Add Data</button>
<section *ngFor="let d of test.model.data; let i = index" [style.background-color]="i % 2 === 0 ? '#555' : '#222'">
<md-input-container>
<input mdInput placeholder="Name" [(ngModel)]="d.name">
@JaimeStill
JaimeStill / debt.ts
Created October 6, 2017 14:42
Extra Pay
getExtraPay() {
let extraPay = 0;
if (this.debtData.totalDebt > 0) {
extraPay = this.debtData.data[0].payoff;
this.debtData.data.forEach(d => {
extraPay = Math.min(d.payoff, extra Pay);
});
}
@JaimeStill
JaimeStill / notes.md
Last active October 17, 2017 12:55
Random Notes

Hexadecimal Grayscale Percentages

Value Dark to Light Light to Dark
0 6% 100%
1 13% 94%
2 19% 88%
3 25% 81%
4 31% 75%
5 38% 69%
@JaimeStill
JaimeStill / download.ps1
Created November 30, 2017 15:03
download cartography data from census.gov
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
curl 'http://www2.census.gov/geo/tiger/GENZ2014/shp/cb_2014_06_tract_500k.zip' -o cb_2014_06_tract_500k.zip
@JaimeStill
JaimeStill / change.bash
Created November 30, 2017 15:57
access drive in Ubuntu Linux Subsystem for Windows 10
cd /mnt/{drive-letter}/