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 / BID-5337-vanilla.md
Last active June 13, 2023 10:21
BID-5337-vanilla
@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 / 📅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 / 📖research-ansible.md
Last active July 31, 2023 12:43
📖research-ansible.md

Ansible research

Resources I'll use:

Oliver Hilsky's write up for a homeserver

Jeff Geerling Ansible author

@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 / 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
@jonwhittlestone
jonwhittlestone / index.html
Created September 27, 2022 09:18
mkdocs static index tmp
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
@jonwhittlestone
jonwhittlestone / 📖ts-react-notes.md
Last active July 31, 2023 12:43
notes-react-typescript-node-david-choi.md
<style> strong {background-color: yellow; font-weight:normal}</style>

Diet Request

  - [] ctx: Formik submit handler into a context object method so it's a property of ctx

@jonwhittlestone
jonwhittlestone / 10-days-to-a-less-defiant-child.md
Last active August 27, 2022 05:54
10 Days to a Less Defiant Child
<style> strong {background-color: yellow; font-weight:normal}</style>

My notes on "10 Days to a Less Defiant Child"

If children live with hostility they learn to fight. If children live with kindness and consideration, they learn respect. Excerpt from "Child Learn What They Live" by Dorothy Law Nolte.

I found this book to offer pragmatic and practical approaches to understanding and dealing with defiant children. Dr. Jeffrey Bernstein is a licensed psychologist who specalised in child and family therapy. Much of the ideas in this book are backed by research and his case history.

Lisa and I read this at roughly the same time. This proved a useful strategy because we could discuss the content in relation to our day-to-day parenting.