$ 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
$ 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
.
#!/bin/bash | |
vboxmanage modifyvm "osx" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff | |
vboxmanage setextradata "osx" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3" | |
vboxmanage setextradata "osx" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" | |
vboxmanage setextradata "osx" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" | |
vboxmanage setextradata "osx" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" | |
vboxmanage setextradata "osx" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 | |
vboxmanage setextradata "osx" VBoxInternal2/EfiGopMode 5 |