I hereby claim:
- I am smithbr on github.
- I am smithbr (https://keybase.io/smithbr) on keybase.
- I have a public key ASBNPACw73r_Cky9IykyyyE5l17GZeZBk52d4bTRFTf6Xwo
To claim this, I am signing this object:
| yt-dlp "url" -f "bv*" \ | |
| --recode-video mp4 \ | |
| --postprocessor-args "ffmpeg:-an -c:v libx264 -profile:v baseline -level 3.0 -pix_fmt yuv420p -vf scale=1280:-2 -r 30" | |
| #!/bin/bash -e | |
| printf "START -------------------------------------------------------\n" | |
| printf "Date: " && echo $(date '+%d/%m/%Y %H:%M:%S') | |
| printf "\n" | |
| # update pi-hole | |
| printf "\nPi-Hole:\n" | |
| /usr/bin/sudo pihole -up |
| # Actions -> Run Shell Script | |
| # Pass input: as arguments | |
| cd ~/path/to/project/dir; /usr/local/bin/jmeter -t "$@" |
| docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:8.0.6 https://www.google.com/ |
| for ((i=1;i<=100;i++)); do curl -v --header "Connection: keep-alive" "localhost:8080/user?uuid=52010&model_id=20&attr=0"; sleep 3; done |
I hereby claim:
To claim this, I am signing this object:
| # via https://jmetervn.com/2016/09/17/json-path-postprocessor-in-jmeter/ | |
| # Extract Single Value | |
| JSON Path expressions: $.store.book[0].author | |
| # Output | |
| FIRST_AUTHOR=Nigel Rees | |
| FIRST_AUTHOR_matchNr=1 |
| find . -type f \( -name "*.java" -o -name "*.xml" -o -name "*.html" \) | |
| # home dir: find ~ | |
| # this dir: find . | |
| # root dir: find / | |
| find ~ -name 'my.log' | |
| find ~ -name 'my.log' -delete | |
| find ~ -name '*.xml' |
| pip install virtualenvwrapper | |
| export WORKON_HOME=~/.virtualenvs | |
| mkdir -p $WORKON_HOME | |
| source /usr/local/bin/virtualenvwrapper.sh | |
| mkvirtualenv env1 |
| pip install --user --upgrade --ignore-installed mypackage | |
| sudo pip install --upgrade --ignore-installed mypackage |