Go to Extensions tab (Ctrl + Shift + X) and click the little cloud icon on the right side of "WSL: UBUNTU - INSTALLED).
This file contains hidden or 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
export MANPATH="/usr/local/man:$MANPATH" | |
# You may need to manually set your language environment | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 |
This file contains hidden or 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
""" | |
This is free and unencumbered software released into the public domain. | |
Anyone is free to copy, modify, publish, use, compile, sell, or | |
distribute this software, either in source code form or as a compiled | |
binary, for any purpose, commercial or non-commercial, and by any | |
means. | |
In jurisdictions that recognize copyright laws, the author or authors | |
of this software dedicate any and all copyright interest in the |
This file contains hidden or 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
"""Estimate password entropy. | |
Entropy (bits) | Estimated Strength | |
---------------|------------------- | |
0 to 35 | Very weak | |
36 to 59 | Weak | |
60 to 119 | Strong | |
120+ | Very strong | |
WARNING: High entropy is of little use if the password has been leaked before in data breaches. |
- Recommended: Use LVM + Encryption.
- Expect slow installation speeds (the ports are USB 3.0 but are stuck at 2.0 speeds during installation)
- Do not bother with installing proprietary components during OS installation; it is too slow. Do it post-installation.
- Wi-Fi will not work out of the box. You will need a USB Wi-Fi dongle to download Wi-Fi drivers from the Internet.
- After installing the OS, plug in your Wi-Fi dongle and run the following commands to update the system, install Wi-Fi drivers, and upgrade snap packages.
This file contains hidden or 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
def seconds_diff(time1: str, time2: str) -> int: | |
def to_seconds(time_str: str) -> int: | |
minutes, seconds = map(int, time_str.split(':', 1)) | |
return minutes * 60 + seconds | |
return abs(to_seconds(time1) - to_seconds(time2)) |
This file contains hidden or 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
# mOTP algorithm in Ruby under a permissive license. Permission has been granted by original author Matthias Straub | |
# to redistribute the mOTP algorithm under the MIT License. | |
# References: https://github.com/elliotwutingfeng/motp/blob/main/CREDITS.md and https://motp.sourceforge.net | |
require 'openssl' | |
secret = '0123456789ABCDEF' | |
pin = '0000' | |
period = 10 | |
digits = 6 | |
unix_seconds = Time.now.to_i |
This file contains hidden or 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
claim-dapp.com | |
claim-mf-bdget24.xyz | |
cutt.ly | |
dappradarsas.com | |
eoro.io | |
fafuf.com | |
faqey.com | |
flufff.io | |
fluffland.io | |
fowun.com |
This file contains hidden or 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
#!/bin/sh | |
# SHA1, 30 seconds, 6 digits; the most common configuration. | |
# Adjust accordingly if your OTP credential uses different parameter values. | |
# Upon entering this command, type in your TOTP secret (it will not be echoed back to the screen), then press 'Enter' | |
stty -echo;oathtool --totp=SHA1 --time-step-size=30s --digits=6 --base32 -;stty echo |
NewerOlder