Skip to content

Instantly share code, notes, and snippets.

View beatcracker's full-sized avatar
🚝
Blaine the Mono

beatcracker

🚝
Blaine the Mono
View GitHub Profile
@coryshaw1
coryshaw1 / salienHacks.js
Last active September 30, 2021 07:12
Salien Invincibility/AutoKill - Steam Summer Sale 2018
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;
@SalviaSage
SalviaSage / Correct Windows Registry Syntax.md
Last active April 18, 2025 22:05
Guide on editing the Windows Registry.

Correct Windows Registry Syntax

Last Revised: 2025-04-18

I made this guide to help anyone interested in editing the Windows Registry.

Signed;
    𝓞. 𝓞𝔃𝓽𝓮𝓴𝓲𝓷


Demo:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");
@terabyte
terabyte / amazon.md
Created December 6, 2017 02:27
Amazon's Build System

Prologue

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.

The Question

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?

@joegasper
joegasper / Get-PingSweep.ps1
Last active May 27, 2024 15:52
Get-PingSweep - super fast (~500ms) subnet ping sweep with option to resolve IP address
# Inspiration from https://twitter.com/mrhvid/status/929717169130176512 @mrhvid @Lee_Holmes
function ResolveIp($IpAddress) {
try {
(Resolve-DnsName $IpAddress -QuickTimeout -ErrorAction SilentlyContinue).NameHost
} catch {
$null
}
}
@PieterHeijman
PieterHeijman / check_key_cert.md
Created August 31, 2017 14:43
Check if a certificate file matches a private key file in Powershell

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
@morewry
morewry / monorepo-tool-comparison.md
Last active May 11, 2022 08:54
Comparison of Monorepo Tools For Web Client / Front End Projects (That Probably Use HTML, CSS, and JS)

Mono Repository Tool Comparison

For Web Client / Front End Projects

(That Probably Use HTML, CSS, and JS)

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.

⚠️ Northbrook's author says the project is pretty dead and now uses Lerna.

Qualifications Wanted

@gravejester
gravejester / CRC.ps1
Last active November 28, 2021 22:48
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
@kentwait
kentwait / mount_vbox_shared_boot.md
Last active March 12, 2025 18:00
Mount VirtualBox shared folder on boot using fstab

How to mount a VirtualBox shared folder when the Guest OS boots

Problem

While using VirtualBox's Guest Additions to mount shared folders provides a seamless way to mount shared folders, there are also disadvantages.

  • Shared folders will always mount in /media/sf_(share name) unless specified using through vbox drivers in the guest OS
  • Mounting does not happen at boot-time. Applications that require paths at boot will not be able to access the shared folder even after it is mounted - such as Docker.

Solution

Instead of relying on Guest Additions, if you have sudo permissions, shared folders can be mounted at boot-time using fstab. Using this approach allows

@Xainey
Xainey / PowerShell.svg
Created January 1, 2017 22:02
SVG Vector for PowerShell logo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.