$ find . -type d -name '.git' | while read dir ; do sh -c "cd $dir/../ && echo -e \"\nGIT STATUS IN ${dir//\.git/}\" && git status -s" ; done
Taken from: https://stackoverflow.com/a/32815987
# https://askubuntu.com/questions/1384660/open-whatsapp-links-with-web-whatsapp-com | |
xdg-mime default google-chrome.desktop 'x-scheme-handler/whatsapp' |
cd /home/sagi/gits/obsidian | |
if [[ `git status --porcelain` ]]; then | |
echo '\033[1;33mOBSIDIAN CHANGES DETECTED; SAVING\033[00m' | |
git add * | |
git commit -am 'autosave' | |
git push origin master | |
fi | |
cd ~ |
$ find . -type d -name '.git' | while read dir ; do sh -c "cd $dir/../ && echo -e \"\nGIT STATUS IN ${dir//\.git/}\" && git status -s" ; done
Taken from: https://stackoverflow.com/a/32815987
Note: I'm currently taking a break from this course to focus on my studies so I can finally graduate
#!/bin/bash | |
## Description | |
# Lenovo Carbon X1 Gen 7 - Audio and microphone fix - kernel 5.3+ required. | |
# The script has only been tested for Arch and OpenSuse, | |
# Original thread: https://forums.lenovo.com/t5/Ubuntu/Guide-X1-Carbon-7th-Generation-Ubuntu-compatability/td-p/4489823 | |
# Prereq: Install Linux 5.3 or newer | |
# NOTE: run this script as root and at your own risk. |
wget https://raw.githubusercontent.com/hotice/webupd8/master/install-google-fonts && chmod +x install-google-fonts && ./install-google-fonts |
export FZF_DEFAULT_COMMAND="rg --files --no-ignore-vcs --glob '!*/{.git,node_modules}/**'" | |
export FZF_CTRL_T_COMMAND="rg --files --no-ignore-vcs --glob '!*/{.git,node_modules}/**'" | |
export FZF_ALT_C_COMMAND="fd --type d --no-ignore-vcs --exclude node_modules --exclude .git" |
const reverse = s => (s === '' ? '' : reverse(s.substr(1)) + s.charAt(0)); |
curl -w "dns_resolution: %{time_namelookup}, tcp_established: %{time_connect}, ssl_handshake_done: %{time_appconnect}, TTFB: %{time_starttransfer}\n" -o /dev/null -s https://cloudflare-dns.com |
Check out the xinput
command. xinput list
will give you a list of input devices;
find the ID of the one which looks like a touchpad. Then do xinput list-props <device id>
,
which should tell you what properties you can change for the input device.
You should find one called something like Tapping Enabled and a number in parens after it
(in my case, it's libinput Tapping Enabled (276)
. Finally, run xinput set-prop <device id> <property id> 1
,
and tapping should work.
To make the change permanent, find a way to run that command on startup. One way would be to add
exec xinput set-prop <device id> <property id> 1
to ~/.i3/config
.