- Install Authy from Chrome Web Store: Download
- Open Authy and log in, so you can see the codes being generated for you
- Go to Extensions page in your browser: chrome://extensions/ or Menu -> More tools -> Extensions)
- Tick developer mode in top right corner
- Find Authy from the list and then click on main.html
- Chrome developer tools with Console selected should open. If it didn't, go to Console tab.
- Paste following and press enter:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils | |
## Select lightdm when asked which desktop | |
$ sudo apt install xrdp | |
$ sudo update-alternatives --set x-session-manager /usr/bin/xfce4-session | |
## Now use Remote Desktop to RDP into the IP address. Easy enough, now you can lock it down if doing something outside of trying to set this up. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM https://community.spiceworks.com/how_to/320-batch-file-script-to-change-ip-addresses | |
echo Choose: | |
echo [A] Set Static IP | |
echo [B] Set DHCP | |
echo. | |
:choice | |
SET /P C=[A,B]? | |
for %%? in (A) do if /I "%C%"=="%%?" goto A | |
for %%? in (B) do if /I "%C%"=="%%?" goto B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy nssm.exe to same directory that rclone is in. I launched NSSM, by opening an elevated command line. Type cmd in the search bar and right click and choose “run as administrator.” | |
1. cd c:\rclone (or wherever you have rclone located) | |
2. nssm install “Rclone Mount” | |
3. Fill in the info below | |
4. Still in the command prompt, type services.msc | |
5. Scroll down and choose your service and right click and start it. | |
6. If it fails to start, stop the service | |
7. Go back to command prompt and run sc.exe delete “Rclone Mount” | |
8. Enter the command from step 2 above and repeat until you complete everything with no typos and it works. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this to your config | |
"Copy and paste key bindings | |
vnoremap <C-c> "*y :let @+=@*<CR> | |
map <C-v> "+P | |
gvim has to be installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@dAnjou found a way to do this: | |
(Tested with KeePassXC on Fedora 25) | |
By default when using GNOME Keyring you have a keyring that is unlocked when you log in (usually called "Login"). You can make use of that by storing a KeePass database password in this keyring and using it to automatically unlock your KeePass database. | |
Store the KeePass database password in GNOME Keyring. You'll have to set a label and at least one attribute/value pair. The label is displayed in a GNOME keyring manager (e.g. Seahorse), the attribute/value pair should be a unique identifier because it's needed for the lookup. I suggest to use keepass as attribute and the database name as value (make sure it doesn't contain any spaces). | |
secret-tool store --label="KeePass <database_name>" keepass <database_name> | |
Then create a script to launch and immediately unlock your KeePass database. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function qmi_strength { | |
dbm=`$COMMAND_PREFIX $QMICLI -d $CDC_WDM --nas-get-signal-strength | tr "'" " " | grep Network | head -1 | awk '{print $4}'` | |
echo -n "Signal strength is " | |
if [ $dbm -ge -73 ]; then | |
echo -n 'Excellent' | |
elif [ $dbm -ge -83 ]; then | |
echo -n 'Good' | |
elif [ $dbm -ge -93 ]; then | |
echo -n 'OK' | |
elif [ $dbm -ge -109 ]; then |
First install Termux
Then there are two options:
Open the Termux terminal on your Android device and copy-and-paste the commands listed below and hit ENTER:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |
NewerOlder