Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
# Quick & dirty. Basic error checking. It works where I needed it. | |
# | |
# Documentation used: | |
# - ProcMon | |
# - https://securelink.be/blog/windows-proxy-settings-explained/ | |
# - https://docs.microsoft.com/en-us/windows/desktop/api/Winhttp/ns-winhttp-__unnamed_struct_3 | |
# - https://github.com/vbfox/proxyconf/blob/master/README.md | |
# - https://community.idera.com/database-tools/powershell/powertips/b/tips/posts/managing-bit-flags-part-1 | |
# - https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_enum | |
# |
extension ModelComponent { | |
/// Dump the MeshResource.Model | |
func dumpMeshResourceModel() { | |
let printSIMD3Float = { (value: SIMD3<Float>) in | |
print("(\(value.x), \(value.y), \(value.z)), ", terminator: "") | |
} | |
let printSIMD2Float = { (value: SIMD2<Float>) in | |
print("(\(value.x), \(value.y)), ", terminator: "") | |
} |
@echo off | |
SET PhpStormPath=C:\Program Files\JetBrains\PhpStorm 2020.3.3\bin\phpstorm64.exe | |
echo Adding file entries | |
@reg add "HKEY_CLASSES_ROOT\*\shell\PhpStorm" /t REG_SZ /v "" /d "Open in PhpStorm" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\PhpStorm" /t REG_EXPAND_SZ /v "Icon" /d "%PhpStormPath%,0" /f | |
@reg add "HKEY_CLASSES_ROOT\*\shell\PhpStorm\command" /t REG_SZ /v "" /d "%PhpStormPath% \"%%1\"" /f | |
echo Adding within a folder entries |
### | |
# Toggle an external light from the X1C screen | |
### | |
alias: Bambu Lab - Auto External Light | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- light.x1c_chamber_light | |
from: null |
#!/bin/bash | |
# v 1.0.2 | |
# https://gist.github.com/mbierman/03b2a962ac04963ef5bbc8354d0ed5d1 | |
# 2022 mbierman | |
sleep="${1:-5}" | |
regex="^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$" | |
getmac () { | |
rnd=$(openssl rand -hex 6 | sed 's/\(..\)\(..\)\(..\)\(..\)\(..\)\(..\)/\1:\2:\3:\4:\5:\6/') |
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa |
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
cd /d %ProgramFiles%\Microsoft Office\Office16