Skip to content

Instantly share code, notes, and snippets.

View jonwhittlestone's full-sized avatar
💭
... cloud hopping

Jon jonwhittlestone

💭
... cloud hopping
View GitHub Profile
@jonwhittlestone
jonwhittlestone / gist:f8a995608d3a6402b16c915fa4fd04f6
Last active July 11, 2023 13:00
VIM bindings in Jupyter notebook (Django shell_plus)
See: https://github.com/lambdalisue/jupyter-vim-binding/wiki/Installation
1. pip install jupyter_contrib_nbextensions
2. jupyter nbextensions_configurator enable --use
3. Add the vim binding
# You may need the following to create the directoy
mkdir -p $(jupyter --data-dir)/nbextensions
@jonwhittlestone
jonwhittlestone / 🧠 book-notes-build-tony-fadell.md
Last active July 6, 2023 14:44
🧠 book-notes-build-tony-fadell.md

Book Notes: Build - Tony Fadell

@jonwhittlestone
jonwhittlestone / 💽nixos.md
Last active June 28, 2023 08:53
💽nixos-setup.md

NixOS Setup Guide

Matthias Benaets Setup Guide

NixOS

Introduction

Getting Started...

Initial Configuration...

Installation...

@jonwhittlestone
jonwhittlestone / BID-5337-vanilla.md
Last active June 13, 2023 10:21
BID-5337-vanilla
@jonwhittlestone
jonwhittlestone / 🎹ableton-notes.md
Last active May 12, 2023 20:04
🎹ableton-notes.md

BTP Ableton Live and Music Production for Beginners

https://app.plex.tv/desktop/?_gl=1*yu1380*_ga*MTY0NTE2NTU2Mi4xNjgwMzgyMjg3*_ga_G6FQWNSENB*MTY4MDM4MjI4Ni4xLjAuMTY4MDM4MjI4Ni4wLjAuMA..#!/media/bc0049189e861dd58c943d9c7307957a899ce527/com.plexapp.plugins.library?source=21&key=%2Flibrary%2Fsections%2F21%2Ffolder%3Fparent%3D9311

01 Getting Started - Making a Beat

To load audio sample onto midi track:

  1. select track and slighly changes colour
  2. Double click to load it into midi track (track name updated)
@jonwhittlestone
jonwhittlestone / horizon-perf.md
Last active March 8, 2023 12:30
horizon-perf.md

Horizon Perf Huddles

Wed 08.03.24

Chat/Bridge Call

Chat

Symptom:

@jonwhittlestone
jonwhittlestone / 🧠 book-notes-thinking-concepts-series.md
Last active March 4, 2023 07:47
🧠 book-notes-thinking-concepts-series.md

<!--

toc: true layout: post title: The Great Mental Models - Shane Parrish categories: ['Book Notes'] descriptions: My notes image: https://i.imgur.com/5R9p5fy.png hide: false

@jonwhittlestone
jonwhittlestone / 📅todo-day-template.md
Last active February 4, 2023 05:09
📅todo-day-template.md

WXX | Day XX Month

Life

  • Todo

Work

  • XXX-NNN todo
@jonwhittlestone
jonwhittlestone / useful-bash-docker-remove-named.sh
Created September 30, 2022 09:41
useful-bash-docker-remove-named.sh
# count the docker containers where the image name is `contact-app-frontend` and the container name contains `ci_temp`
docker ps -a | awk '{ print $1,$2,$15 }' | grep contact-app-frontend | grep ci_temp | awk '{print $1 }' | awk '{print NR}' | tail -1
# remove those containers
docker ps -a | awk '{ print $1,$2,$15 }' | grep contact-app-frontend | grep ci_temp | awk '{print $1 }' | xargs -I {} docker rm -f {} || true"
import React, { useState } from "react";
import Todo from "../models/todo";
type TodosContextObj = {
items: Todo[];
addTodo: (text: string) => void;
removeTodo: (id: string) => void;
};
/**
* createCotext is a generic type so we