This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Jenins Build: http://jenkins.uk.harpercollins.org:8080/job/Pipeline-bids3-alpha/job/BID-5352-vanilla-client-specific-settings/
DataGrip Trial Subscription until
9th June 2023
To load audio sample onto midi track:
- select track and slighly changes colour
- Double click to load it into midi track (track name updated)
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |