- grant access to platforms
- Github
- add to Sayari Org
- add to appropriate teams
- github project board walkthrough, Sayari's git-flow-lite processes
- Google Cloud Platform
- add to Sayari Datastore
- GKE walkthrough
- Sentry
- Github
- ElasticCloud
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
import { Subscribable, PartialObserver, Unsubscribable, Observable } from 'rxjs' | |
const noop = () => {} | |
// how to make this generic for all observables? | |
export class SubscribableOrPromise<T> implements PromiseLike<T>, Subscribable<T> { | |
observableOrPromise: Observable<T> | Promise<T> |
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
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=~/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="robbyrussell" |
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
const reduceChildren = ([first, ...rest], accumulator, project, reducer) => ( | |
rest.length === 0 ? | |
recurseTree(first, accumulator, project, reducer) : | |
reduceChildren( | |
rest, | |
recurseTree(first, accumulator, project, reducer), | |
project, | |
reducer | |
) | |
); |
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
const Y = (fn) => ( | |
(_fn) => fn((arg) => (_fn(_fn))(arg)) | |
)( | |
(__fn) => fn((arg) => (__fn(__fn))(arg)) | |
); | |
var factorial = (fact) => (n) => n === 0 ? 1 : n * fact(n - 1); | |
Y(factorial)(7); | |
//> 5040 |
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
;; -*- mode: emacs-lisp -*- | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
I hereby claim:
- I am jameslaneconkling on github.
- I am jamesconkling (https://keybase.io/jamesconkling) on keybase.
- I have a public key ASCc-FGMMDEh65-d33v94EkI9nc7Ydc_u_D-2YnqbD73_go
To claim this, I am signing this object:
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
const rules = [ | |
{ type: 'space', regex: /^\s/ }, | |
{ type: 'lParen', regex: /^\(/ }, | |
{ type: 'rParen', regex: /^\)/ }, | |
{ type: 'number', regex: /^[0-9\.]+/ }, | |
{ type: 'string', regex: /^".*?"/ }, | |
{ type: 'variable', regex: /^[^\s\(\)]+/ } // take from the beginning 1+ characters until you hit a ' ', '(', or ')' // TODO - support escaped double quote | |
]; | |
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
const { | |
Readable | |
} = require('stream'); | |
const { | |
readFileSync | |
} = require('fs'); | |
const degrees2Radians = degrees => degrees * (Math.PI / 180); | |
const radians2Degrees = radians => radians * (180 / Math.PI); |
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
<div id="root"> | |
</div> |
NewerOlder