Correct Windows Registry Syntax
Last Revised: 2025-04-18
I made this guide to help anyone interested in editing the Windows Registry.
Signed;
𝓞. 𝓞𝔃𝓽𝓮𝓴𝓲𝓷
setInterval(function(){ | |
if (!gGame || !gGame.m_State || !gGame.m_State.m_EnemyManager) return; | |
if (!gGame.m_State.m_EnemyManager.m_EnemyData) return; | |
gGame.m_State.m_EnemyManager.m_EnemyData.slime.base_health = gGame.m_State.m_EnemyManager.m_EnemyData.volvoian.base_health = gGame.m_State.m_EnemyManager.m_EnemyData.neomorph.base_health = 1; | |
gGame.m_State.m_EnemyManager.m_EnemyData.slime.base_damage = gGame.m_State.m_EnemyManager.m_EnemyData.volvoian.base_damage = gGame.m_State.m_EnemyManager.m_EnemyData.neomorph.base_damage = 0 | |
if (!gGame.m_State.m_EnemyManager.m_rgEnemies) return; |
I wrote this answer on stackexchange, here: https://stackoverflow.com/posts/12597919/
It was wrongly deleted for containing "proprietary information" years later. I think that's bullshit so I am posting it here. Come at me.
Amazon is a SOA system with 100s of services (or so says Amazon Chief Technology Officer Werner Vogels). How do they handle build and release?
# Inspiration from https://twitter.com/mrhvid/status/929717169130176512 @mrhvid @Lee_Holmes | |
function ResolveIp($IpAddress) { | |
try { | |
(Resolve-DnsName $IpAddress -QuickTimeout -ErrorAction SilentlyContinue).NameHost | |
} catch { | |
$null | |
} | |
} |
You can verify if a private key file matches a certificate file by comparing their modulus (which you can retrieve using openssl). I've wrapped this in the little script below.
param(
[String]$cert,
[string]$key
)
$certMod = openssl x509 -noout -modulus -in $cert
$keyMod = openssl rsa -noout -modulus -in $key
I made a list of 20 things I might want out of a monorepo tool for a Design System to use as a basis for comparing some of the options including Lerna, Northbrook, and Rush.
function Get-CRC32 { | |
<# | |
.SYNOPSIS | |
Calculate CRC. | |
.DESCRIPTION | |
This function calculates the CRC of the input data using the CRC32 algorithm. | |
.EXAMPLE | |
Get-CRC32 $data | |
.EXAMPLE | |
$data | Get-CRC32 |