Skip to content

Instantly share code, notes, and snippets.

View guidobit's full-sized avatar

Guido Baars guidobit

View GitHub Profile
@guidobit
guidobit / rick-morty.ts
Created May 11, 2020 16:29
Axios example
import {HttpService, Injectable} from '@nestjs/common';
import {BehaviorSubject, concat, EMPTY, Observable, Subject, throwError} from "rxjs";
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
import {ImportedLocation} from "./interfaces/imported-location.interface";
import {
catchError,
concatMap,
debounceTime,
delay,
filter,
@guidobit
guidobit / keybase.md
Created February 23, 2018 18:39
keybase.md

Keybase proof

I hereby claim:

  • I am guidobit on github.
  • I am guidobaars (https://keybase.io/guidobaars) on keybase.
  • I have a public key ASCrZixTNOZIVjdKsgu64K8I_2mq-86zxxqr2CXn5M64Wgo

To claim this, I am signing this object:

@guidobit
guidobit / For linux mint
Created August 22, 2017 18:02
Installing dropbox
mkdir dropbox-install && cd dropbox-install && wget -O dropbox.deb 'https://www.dropbox.com/download?dl=packages/ubuntu/dropbox_2015.10.28_amd64.deb' && sudo gdebi dropbox.deb
@guidobit
guidobit / no history
Created August 4, 2017 22:12
No history
kill -9 $$
history -c
@guidobit
guidobit / rickroll
Created August 4, 2017 22:11
Rickroll
curl -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash
# Replace whoami with evil command
alias -p sudo='sudo whoami && builtin unalias sudo && sudo '