Skip to content

Instantly share code, notes, and snippets.

@dancancro
dancancro / alt-filestructure
Last active May 3, 2019 02:06
An ngrx project file structure with fewer unique file names. All unique words are in directory names.
.
├── app
│   ├── module.ts
│   ├── page.css
│   ├── page.html
│   ├── page.spec.ts
│   ├── page.ts
│   ├── routing.ts
│   ├── core
│   │   ├── about
@dancancro
dancancro / two-typings-structures.txt
Last active October 22, 2016 18:12
/typings directory file structures for two different projects
Project A
.
├── browser
│   ├── ambient
│   │   ├── angular-protractor
│   │   │   └── index.d.ts
│   │   ├── es6-shim
│   │   │   └── index.d.ts
│   │   ├── jasmine
│   │   │   └── index.d.ts
@dancancro
dancancro / npmls
Created November 7, 2016 17:30
output from `npm ls`
great-big-angular2-example@0.0.0 /Users/Dan/work/bernierebuttals/gba
├── @angular/common@2.1.2
├── @angular/compiler@2.1.2
├── @angular/core@2.1.2
├── @angular/forms@2.1.2
├── @angular/http@2.1.2
├── @angular/material@2.0.0-alpha.9-experimental-pizza
├── @angular/platform-browser@2.1.2
├── @angular/platform-browser-dynamic@2.1.2
├── @angular/router@3.1.2
@dancancro
dancancro / npmls
Created November 7, 2016 17:30
output from `npm ls`
great-big-angular2-example@0.0.0 /Users/Dan/work/bernierebuttals/gba
├── @angular/common@2.1.2
├── @angular/compiler@2.1.2
├── @angular/core@2.1.2
├── @angular/forms@2.1.2
├── @angular/http@2.1.2
├── @angular/material@2.0.0-alpha.9-experimental-pizza
├── @angular/platform-browser@2.1.2
├── @angular/platform-browser-dynamic@2.1.2
├── @angular/router@3.1.2
@dancancro
dancancro / long-stack-traces
Created November 18, 2016 17:17
Long stack traces
client?201c:73 ./src/app/debate/claim/claim.component.ts
38:55 export 'Claim' was not found in '../../core/store/claim/claim.model'
Error: export 'Claim' was not found in '../../core/store/claim/claim.model'
at HarmonyImportSpecifierDependency.getWarnings (/Users/Dan/work/bernierebuttals/gba/node_modules/angular-cli/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:34:14)
at /Users/Dan/work/bernierebuttals/gba/node_modules/angular-cli/node_modules/webpack/lib/Compilation.js:645:21
at Array.forEach (native)
at /Users/Dan/work/bernierebuttals/gba/node_modules/angular-cli/node_modules/webpack/lib/Compilation.js:644:22
at Array.forEach (native)
at Compilation.reportDependencyWarnings (/Users/Dan/work/bernierebuttals/gba/node_modules/angular-cli/node_modules/webpack/lib/Compilation.js:643:9)
at Compilation.<anonymous> (/Users/Dan/work/bernierebuttals/gba/node_modules/angular-cli/node_modules/webpack/lib/Compilation.js:505:8)
@dancancro
dancancro / standing-rock-information
Last active December 6, 2016 04:11
Links to information, donation information and phone numbers for supporting NoDAPL. Include this in email to anyone you know with influence.
Links:
Video: November 20th drone video of water cannons used against peaceful people in below freezing temperatures
https://youtu.be/rT87XeM9aF0?t=286
Video: Lawyer explains police tactic "snatch & grab". As people drive away from the incident, the last 20 cars are stopped, arrested for trespassing and have cars impounded which brings in aout $800/person in police revenue
https://youtu.be/jE2GE5Nzxag?t=160
Video: Sheriff and police chief call over two girls in restaurant then threaten to arrest them if they don't leave the restaurant
https://www.facebook.com/IamIndigenous2016/videos/1692731011039116/
.
├── app
│   ├── components
│   │   ├── about
│   │   │   ├── about.component.css
│   │   │   ├── about.component.html
│   │   │   ├── about.component.spec.ts
│   │   │   ├── about.component.tns.css
│   │   │   ├── about.component.tns.html
@dancancro
dancancro / npm_errors
Created January 16, 2017 05:04
NPM install error messages
// ♥ npm install
great-big-angular2-example@0.0.0 /Users/Dan/work/bernierebuttals/gba
├── UNMET PEER DEPENDENCY @angular/common@2.4.3
├── @angular/compiler@2.4.3
├── UNMET PEER DEPENDENCY @angular/core@2.4.3
├── UNMET PEER DEPENDENCY @angular/platform-browser@2.4.3
├── UNMET PEER DEPENDENCY rxjs@5.0.0-beta.12
├── UNMET PEER DEPENDENCY webpack@2.1.0-beta.22
└── UNMET PEER DEPENDENCY zone.js@0.6.26
@dancancro
dancancro / angular_vue-react.md
Last active May 15, 2019 20:35
Comparison of Angular, Vue and React