Skip to content

Instantly share code, notes, and snippets.

View gdlm91's full-sized avatar
🏠
Working from home

Gerardo Leal gdlm91

🏠
Working from home
  • Atlassian
  • Sydney, Australia
View GitHub Profile
@gdlm91
gdlm91 / oh-my-zsh.md
Last active January 25, 2021 00:45 — forked from kevin-smets/iterm2-solarized.md
Terminal configuration

Installin Oh My Zsh

More info here: https://github.com/robbyrussell/oh-my-zsh

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Install Powerlevel10k

@gdlm91
gdlm91 / obs.ts
Created May 17, 2018 01:18
How to get catch after retryWhen?
// From: https://stackoverflow.com/questions/43451392/how-to-get-catch-after-retrywhen
Observable.defer(() => Observable.throw("It's broken"))
.retryWhen(err => {
console.log('retry');
let retries = 0;
return err
.delay(1000)
.map(error => {
if (retries++ === 5) {
throw error;
@gdlm91
gdlm91 / rxjs-diagrams.md
Created March 26, 2018 15:07 — forked from PCreations/rxjs-diagrams.md
Super Intuitive Interactive Diagrams to learn combining RxJS sequences by Max NgWizard K
@gdlm91
gdlm91 / gist:bc407408b47d343a3a17d200f72be68a
Last active August 22, 2017 19:01
VScode Task: See all TypeScript erros in Problems panel
{
"taskName": "ts-errors",
"command": "tsc",
"type": "shell",
"args": [
"-p",
".",
"--noEmit"
],
"options": {