Skip to content

Instantly share code, notes, and snippets.

View chadly's full-sized avatar

Chad Lee chadly

View GitHub Profile
@chadly
chadly / chad.txt
Created September 8, 2023 15:13
Davinci Resolve Preferences
controlPlayAgain := Alt+L
editTrackLockToggleA1 := Alt+Shift+F1
viewChannelsRGB := Ctrl+Shift+0
markMarkerAdd := M
fileNewProject :=
@chadly
chadly / README.md
Created January 28, 2022 19:23
OBS Virtual Camera
@chadly
chadly / datagrip.desktop
Created January 24, 2022 16:09
Desktop files for apps that are too lazy to create a package/installation (~/.local/share/applications)
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=/opt/DataGrip-2021.3.3/bin/datagrip.sh
Name=DataGrip
Icon=/opt/DataGrip-2021.3.3/bin/datagrip.png
@chadly
chadly / investigate.sh
Last active January 5, 2022 14:41
Investigate a docker container's file system
# build the container
# consider removing the entrypoint/cmd from the dockerfile if the container errors and stops running
docker build -t ncc:testing -f Dockerfile-build --target runtime .
# run the container
docker run --name wtf -itd ncc:testing
# connect to shell inside the running container
docker exec -ti wtf /bin/sh
@chadly
chadly / .asdfrc
Last active January 20, 2022 17:04
asdf configuration
legacy_version_file = yes
@chadly
chadly / docker-nuke-from-orbit.sh
Created July 10, 2021 02:13
Nuke Docker containers and volumes from orbit
docker system prune -a
docker volume rm $(docker volume ls -q)
{
"emoji": true,
"lowercaseTypes": true,
"endWithDot": false,
"types": [
{
"emoji": "🔧",
"type": "Chore",
"description": "Changes that affect the build system or external dependencies and moving files",
"argKeys": [
@chadly
chadly / rewrite-common.sh
Last active January 8, 2021 17:10
Extract javascript style guide repo from common
#!/bin/bash
git filter-repo --path packages/eslint-config --path packages/prettier-config --path packages/tsconfig --path README.md --path-rename packages/eslint-config:eslint --path-rename packages/prettier-config:prettier --path-rename packages/tsconfig:tsconfig
git tag -l | xargs git tag -d
git branch --merged | grep -v \* | xargs git branch -D
@chadly
chadly / .bashrc
Created September 20, 2020 18:30
VS Code Screencast Profile
alias codecast="code --user-data-dir ~/code_profiles/screencast/data"