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
name: CI with an npm @next publish | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'ui/**/*' | |
pull_request: | |
branches: [ main ] |
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
# find USB mount | |
diskutil list | |
# unmount USB | |
diskutil unmountDisk /dev/disk2 | |
# copy ISO to USB | |
sudo dd if=/Users/adam/Downloads/ubuntu-23.04-desktop-amd64.iso of=/dev/disk2 bs=1m |
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
solutions = [ | |
{ | |
"name": "chromium", | |
"url": "https://chromium.googlesource.com/chromium/src.git", | |
"managed": False, | |
"custom_deps": {}, | |
"custom_vars": {}, | |
}, | |
{ "name" : 'libyuv', | |
"url" : 'https://chromium.googlesource.com/libyuv/libyuv', |
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
New-Alias which where.exe | |
New-Alias python3 C:\Users\adamm\AppData\Local\Programs\Python\Python311\python.exe |
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
#!/bin/sh | |
set -e | |
cargo test | |
cargo clippy -- -D warnings | |
cargo fmt -v | |
git diff --exit-code |
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
# %(?. . ) is a ternary on the prev process exit code | |
# %B starts printing bold text until %b | |
# %F{196} starts printing with a new foreground color until %f | |
# %~ prints cwd using ~ notation for home dir | |
# the shell does not add a space so appending a space is customary | |
PROMPT='%(?. .%F{196}!%f)%B%F{220}%~%f%b ' |
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
alias now='echo "it'"'"'s $(date "+%H:%M") on $(date "+%-m/%-d")"' |
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
#!/bin/sh | |
set -e | |
go build . | |
go list -f '{{.Dir}}' -m | xargs go test | |
go mod tidy | |
git diff --exit-code |
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
#!/bin/sh | |
set -e | |
flutter test | |
flutter analyze | |
dart format lib test --set-exit-if-changed | |
git diff --exit-code |