Skip to content

Instantly share code, notes, and snippets.

View beeman's full-sized avatar
🐝
Buzzin....

beeman

🐝
Buzzin....
View GitHub Profile
{
"angular": {
"alias": ["ng"],
"terms": {
"router": [
{ "label": "In-app navigation: routing to views", "url": "https://angular.io/guide/router" },
{ "label": "Observables in Angular - Router", "url": "https://angular.io/guide/observables-in-angular#router" }
]
}
},
@beeman
beeman / HOWTO.md
Last active October 1, 2021 08:40
Schematic to sort your projects and paths in nx.json, workspace.json (or angular.json) and tsconfig

How to sort the projects and paths in your Nx Workspace

This is now availble on NPM:

yarn add -D @nxpm/cli
yarn nxpm-stack lint
@Injectable()
export class DataService extends PrismaClient implements OnModuleInit, OnModuleDestroy {
constructor() {
super()
}
async onModuleInit() {
await this.$connect()
}
[iPhone 6s]: INFO: HMR: Hot Module Replacement Enabled. Waiting for signal.
2020-08-13 11:36:33.536 nsplaydev[8557:706933] PlayLiveSync: applicationDidFinishLaunching
2020-08-13 11:36:33.600 nsplaydev[8557:706933] ***** Fatal JavaScript exception - application has been terminated. *****
2020-08-13 11:36:33.600 nsplaydev[8557:706933] Native stack trace:
1 0x10319b2fc NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x1031d1a38 NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
3 0x103cc4afc ffi_closure_SYSV_inner
4 0x103cc81b4 .Ldo_closure
5 0x19f000644 <redacted>
6 0x19f00068c <redacted>
curl 'http://api.loklak.org/api/user.json?screen_name=amcdnl&followers=10000&following=10000'
published false
series
{"series" => nil}
title
{"title" => nil}

Introduction

In this post, we will look at...

name: Build
on:
push:
branches:
- main
jobs:
build:
name: Build
export const myRule = (_: any): Rule => {
return (tree: Tree): Tree => {
const files: any[] = [];
tree.visit((file) => {
files.push(file);
});
console.log("Files count", files.length);
@beeman
beeman / README.md
Created May 3, 2020 09:44
Property order of a Model

Property order of a Model

  • ID
  • DateTime
  • Enumns (req, optional)
  • Booleans (req, optional)
  • Strings (req, optional)
  • [Strings] (req, optional)
  • Number (req, optional)
  • [Number] (req, optional)