- On my workstation running a VirtualBox machine with a VMDK (VMware virtual disk) failed.
- I tried again by converting the VMDK into a VDI (VirtualBox virtual disk)
Steps
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
import requests # dependency | |
url = "<your url>" # webhook url, from here: https://i.imgur.com/f9XnAew.png | |
# for all params, see https://discordapp.com/developers/docs/resources/webhook#execute-webhook | |
data = { | |
"content" : "message content", | |
"username" : "custom username" | |
} |
Villager mechanics in 1.14. All this data has been deduced by using the following commands:
/data get entity @e[type=minecraft:villager,limit=1,sort=nearest] Brain.memories
/execute as orlp at orlp run tellraw @s {"nbt":"Brain.memories","entity":"@e[type=villager,sort=nearest,limit=1]"}
A villager is awake from 0-11999 and tries to sleep between 12000 and 23999.
A villager will claim a bed if:
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>no.corporate.wireguard</string> | |
<key>RunAtLoad</key><true/> | |
<key>OnDemand</key><false/> | |
<key>Disabled</key><false/> | |
<key>WatchPaths</key> |
$ErrorActionPreference = "Stop" | |
$notificationTitle = "Build Succeeded" | |
[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] > $null | |
$template = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText01) | |
$toastXml = [xml] $template.GetXml() | |
$toastXml.GetElementsByTagName("text").AppendChild($toastXml.CreateTextNode($notificationTitle)) > $null | |
$xml = New-Object Windows.Data.Xml.Dom.XmlDocument | |
$xml.LoadXml($toastXml.OuterXml) | |
$toast = [Windows.UI.Notifications.ToastNotification]::new($xml) | |
$toast.Tag = "Test1" |
iperf3
serverwg-quick down wg0
/etc/wireguard/wg0.conf
file# 2024-04-17: Stole changese from @Timmo on stackoverflow to get this working with Windows Apps | |
import winreg | |
class WebcamDetect: | |
REG_KEY = winreg.HKEY_CURRENT_USER | |
WEBCAM_REG_SUBKEY = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\webcam\\" | |
WEBCAM_TIMESTAMP_VALUE_NAME = "LastUsedTimeStop" | |
def __init__(self): |