ansible-playbook --connection=local --inventory 127.0.0.1, playbook.yml
code --install-extension vscjava.vscode-java-pack
glances
(like htop
, but better):# method 1
sudo apt-get install glances
glances
# method 2
sudo apt-get install python-pip
pip install glances
python -m glances
eval `ssh-agent`
ssh-add ~/backup_key
set -euxo pipefail
# -e = exit immediately when a command fails
# -u = treat unset variables as errors
# -x = print each command before executing it
# -o pipefail = a pipeline has failed (non-zero exit code) if any command has failed
wajig large
sudo sigrok-cli --driver=peaktech-3415:conn=/dev/ttyUSB0 --continuous
aria2c --bt-seed-unverified --seed-ratio=0.0 *.torrent
%{$fg[blue]%}$([[ -v BBPATH ]]&&basename $BBPATH)%{$reset_color%}
.tigrc
if it’s rendered badly:
set line-graphics = utf-8
export LC_ALL=en_US.UTF-8
# Get the City-ID for Bucharest (200)
$ curl -s https://worldweather.wmo.int/en/json/full_city_list.txt | grep 'Bucharest'
"Romania";"Bucharest";"200"
# Use the City-ID to form the URL
$ curl -s https://worldweather.wmo.int/en/json/200_en.json | jq
{
"city": {
"lang": "en",
"cityName": "Bucharest",
"cityLatitude": "44.500000000",
"cityLongitude": "26.130000000",
"cityId": 200,
...
"forecast": {
"issueDate": "2022-07-06 14:37:56",
"timeZone": "Local",
"forecastDay": [
{
"forecastDate": "2022-07-07",
"wxdesc": "",
"weather": "Scattered Showers",
"minTemp": "20",
"maxTemp": "27",
...
},
...
ffmpeg -i input.mp4 -vcodec libx265 -crf 28 output.mp4
find . 2>&1 | tee ~/log.txt
sudo shred -v /dev/sdc
$PS1
variable: http://bashrcgenerator.com/git update-git-for-windows
git commit --amend --date "now"
git push --set-upstream origin master-next