A big ol' fashioned pile of hacks, and some commands.
- Snippets
https://www.xda-developers.com/stop-vibrations-android-apps/
e.g., com.twitter.android
adb shell
cmd appops set com.twitter.android VIBRATE ignore
"You won’t see any confirmation in the prompt, but as long as you don’t get an error message it should have worked."
https://www.theverge.com/2018/10/19/18001608/android-notification-history-how-to-view
- Long press anywhere on your home screen
- Select widgets at the bottom of the screen
- Scroll down and tap the “Settings shortcut” widget
- Tap “Notification Log”
- Place the widget on your home screen
- Tap the widget and scroll through your past notifications
https://github.com/gurnec/btcrecover
Running straight against the wallet:
python btcrecover.py --wallet forgotpw_wallet --autosave savefile --tokenlist tokens.txt
Extracting the vital info:
python extract-scripts\extract-electrum2-partmpk.py forgotpw_wallet
Running against the vital info:
python btcrecover.py --data-extract --autosave savefile --tokenlist tokens.txt
docker help
docker COMMAND --help
https://forums.docker.com/t/installing-docker-on-windows-10-home/11722/29
- Open Regedit.
- Go to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
- Change the value of
EditionID
toProfessional
. - Change the value of
ProductName
toWindows 10 Pro
. - Run the latest
Docker for Windows
installer. - Run the program to complete first-time setup.
- Change the above registry keys back.
Unable to execute Start: Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop:
Now restart docker and after restart completion execute following commands in dos admin mode to setup the network card manually
netsh interface ipv4 set address name="vEthernet (DockerNAT)" static 10.0.75.1 255.255.255.0
You have to run this command everytime whenever you are doing system restart and docker completes start process (due to any reason). TIP : create a batch file of this command and save somewhere handy.
Note: The ps hack would get undone by any docker update. so be aware...
Hack
Open C:\Program Files\Docker\Docker\resources\mobylinux.ps1 with any editor in admin mode. Find following code (around line 164)
$networkAdapter | Remove-NetIPAddress -Confirm:$false -ea SilentlyContinue
$networkAdapter | Set-NetIPInterface -Dhcp Disabled -ea SilentlyContinue
$networkAdapter | New-NetIPAddress -AddressFamily IPv4 -IPAddress $switchAddress -PrefixLength ($SwitchSubnetMaskSize) -ea Stop | Out-Null
Add a return after line 165 in a new line like below and save the file.
$networkAdapter | Remove-NetIPAddress -Confirm:$false -ea SilentlyContinue
$networkAdapter | Set-NetIPInterface -Dhcp Disabled -ea SilentlyContinue
return
$networkAdapter | New-NetIPAddress -AddressFamily IPv4 -IPAddress $switchAddress -PrefixLength ($SwitchSubnetMaskSize) -ea Stop | Out-Null
Now restart docker and after restart completion execute following commands in dos admin mode to setup the network card manually
netsh interface ipv4 set address name="vEthernet (DockerNAT)" static 10.0.75.1 255.255.255.0
You have to run this command everytime whenever you are doing system restart and docker completes start process (due to any reason). TIP : create a batch file of this command and save somewhere handy.
Note: The ps hack would get undone by any docker update. so be aware...
ssh-keygen
raspi-config
raspistill -v -o test.jpg
vcgencmd get_camera
[WARN] see log at /tmp/Alacritty-2994.log ($ALACRITTY_LOG): Unused config key: colors.footer_bar
alacritty migrate
Then comment out obsolete properties until errors stop showing from ~/.config/alacritty/alacritty.toml
. Repeat for dynamic_padding and window.opacity.
pacman -Syu pamac-aur
https://wiki.garudalinux.org/en/sway-cheatsheet
https://wiki.archlinux.org/title/Sway#Initially_enable_CapsLock/NumLock
edit .config/sway/config.d/input
append input type:keyboard xkb_numlock enabled
Use wdisplays
("Displays") to arrange monitors.
Then swaymst -t get_outputs
to get current config.
Then edit ~/.config/sway/config.d/output
.
my config:
output DP-1 mode 2560x1440@154Hz position 1440 0
output HDMI-A-1 resolution 1440x900 position 0 540
Make sure the output of pgrep -af polkit
indicates that you have a polkit daemon & agent running:
883 /usr/lib/polkit-1/polkitd --no-debug
2122 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
Then try:
xhost si:localuser:root
Without this, you'll see errors like:
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
fish: Job 1, 'sudo garuda-boot-options' terminated by signal SIGABRT (Abort)
If that doesn't do the trick, e.g, pacmac-manager is silently not able to install from AUR, then create ~/.config/environment.d/.conf
with contents:
DISPLAY=:0
WAYLAND_DISPLAY=wayland-0
and reboot. See keybase/client#19614 for details.
Docker (and specifically containerd) can also cause polkit issues. Try disabling docker, docker.socket, and containerd. See https://bbs.archlinux.org/viewtopic.php?id=284158&p=2 for details.
Set Background = none
in /etc/qtgreet/config.ini
https://wiki.archlinux.org/title/Sway#Wallpaper
Edit ~/.config/waybar/config
Set "all-outputs": false
Edit ~/.profile
Set BROWSER=brave
Edit ~/.config/sway/config.d/default
set bindsym $mod+o exec firedragon
-> set bindsym $mod+o exec brave
Edit ~/.config/swaylock/config
Change image=
Edit .config/sway/config.d/default
Under Lock Screen
, append bindsym $mod+Ctrl+l exec ~/.config/sway/scripts/lockman.sh
Edit ~/.config/sway/config.d/default
Add:
bindsym Ctrl+$mod+Left workspace prev
bindsym Ctrl+$mod+Right workspace next
Edit ~/.config/sway/config.d/default
Add bindsym XF86Calculator exec gnome-calculator
To make it float instead of tile:
Edit ~/.config/sway/config.d/application_defaults
Add for_window [app_id="Calculator"] floating enable
https://wiki.gentoo.org/wiki/Firefox#Middle_mouse_scroll_.28autoscroll.29
https://chromewebstore.google.com/detail/autoscroll/occjjkgifpmdgodlplnacmkejpdionan
Go to about:config
, search for toolkit.tabbox.switchByScrolling
, set to true.
https://www.reddit.com/r/LibreWolf/comments/103gqhc/librewolf_does_not_save_anything/
https://github.com/ValveSoftware/Proton/wiki/Using-a-NTFS-disk-with-Linux-and-Windows
- get user ID with
id -u
- get group ID with
id -g
- get disk partition with
fdisk -l
- get UUID with
blkid
- edit /etc/fstab with entry like so:
UUID=38CE9483CE943AD8 /media/gamedisk ntfs uid=1000,gid=1000,rw,user,exec,umask=000 0 0
https://github.com/Eraden/amdgpud
available in AUR
- monitor GPU temp & fan speed with
amdmond watch --format short
- edit control matrix at
/etc/amdfand/config.toml
- apply changes with
amdfand service
Install Steam and then protonup-qt-bin
, get latest GE version.
From liveusb, mount encrypted drive:
https://forums.opensuse.org/t/how-do-you-mount-an-encrypted-drive-from-the-command-line/135136
fdisk -l
to find drive, partition, & boot partition
mkdir /mnt
mkdir /mnt/garuda
cryptsetup luksOpen /dev/nvme0n1p4 garuda
mount /dev/mapper/garuda /mnt/garuda
Then chroot & reinstall Grub:
https://forum.garudalinux.org/t/grub-fails-after-update/78
garuda-chroot /mnt/garuda/@ #chroot in
mount /dev/nvme0n1p5 /boot/efi #mount boot partition
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --recheck #install Grub
update-grub #update Grub
exit
powercfg /lastwake
https://download.sysinternals.com/files/PSTools.zip
psexec.exe -i -s %windir%\system32\mmc.exe /s taskschd.msc