Warning
This gist has been abandoned.
Due to the lack of sub-directory feature on gist.
The continued work has been moved to xuyuji9000/xiaomi-camera-with-go2rtc repository.
Warning
This gist has been abandoned.
Due to the lack of sub-directory feature on gist.
The continued work has been moved to xuyuji9000/xiaomi-camera-with-go2rtc repository.
repo init -u https://android.googlesource.com/platform/manifest \
-m default.xml00:02 : METR( Model Evaluation & Threat Research) introduction
00:50 : Question, Answer, Multiple choice dataset.
01:35 : Claude play Pokemon
| # This gist documents a list of examples of using `yt-dlp` command | |
| # to download video assets from the YouTube platform | |
| VIDEO_URL="https://www.youtube.com/watch?v=9tU3-WSyEhA" | |
| # List available format | |
| yt-dlp -F "${VIDEO_URL}" | |
| # Download specific format |
| # This shell file used for practice the learning from the following link: | |
| # - https://blog.dnmfarrell.com/post/bash-function-names-can-be-almost-anything/ | |
| function ++ { (( $1++ )); } | |
| a=1 | |
| ++ a | |
| echo $a |
See Amazon tutorial: Getting Started with Amazon EC2 Linux Instances
See Amazon tutorial: Installing a LAMP Web Server on Amazon Linux
| def coroutine(text): | |
| while True: | |
| input_search = (yield) | |
| if input_search in text: | |
| print 'contained' | |
| else: | |
| print('no') |
| #!/bin/sh | |
| White='\033[1;36m' | |
| NC='\033[0m' # No Color | |
| case "$1" in | |
| "test" ) | |
| docker run --rm -it -v "$PWD":/app -w /app node:carbon-alpine /bin/sh -c "npm run test";; | |
| * ) | |
| echo "${White}test${NC}: run node test in docker" |