Skip to content

Instantly share code, notes, and snippets.

View believer's full-sized avatar
🍪
Omnomnom

Rickard Natt och Dag believer

🍪
Omnomnom
View GitHub Profile
@sync
sync / GraphqlHooks.re
Created March 26, 2019 19:42
Hooks reason graphql
module MemCache = {
type t;
[@bs.deriving abstract]
type config = {initialState: Js.Json.t};
type conf = Js.Json.t;
[@bs.module "graphql-hooks-memcache"]
external _createMemCache: config => t = "default";
@beeman
beeman / remove-all-from-docker.sh
Created November 15, 2016 03:04
Remove all from Docker
# Stop all containers
docker stop `docker ps -qa`
# Remove all containers
docker rm `docker ps -qa`
# Remove all images
docker rmi -f `docker images -qa `
# Remove all volumes