Skip to content

Instantly share code, notes, and snippets.

@M1chaelTran
M1chaelTran / gist:4ae8f0f15a47eaf52d617b85862d90b9
Last active December 30, 2021 14:42
Bitburner - program alias
alias exes="home;connect darkweb;buy BruteSSH.exe;buy FTPCrack.exe;buy relaySMTP.exe;buy HTTPWorm.exe;buy SQLInject.exe;buy AutoLink.exe;buy DeepscanV1.exe;buy DeepscanV2.exe; buy ServerProfiler.exe; buy Formulas.exe;home;"
@M1chaelTran
M1chaelTran / gist:3f15eda9023a614437b0ace7f0099ef3
Created December 30, 2021 14:23
Bitburner - save game hacks
// paste the following into the game console
// money only works when you have above 10mil
window.indexedDB
.open('bitburnerSave', 1)
.onsuccess = (openEvent) => {
var objectStore = openEvent.target.result
.transaction(['savestring'], 'readwrite')
.objectStore('savestring')
objectStore.get('save')
### Keybase proof
I hereby claim:
* I am M1chaelTran on github.
* I am m1ch4el (https://keybase.io/m1ch4el) on keybase.
* I have a public key whose fingerprint is 5C96 CD49 E155 6C6B 50FA E38C 8C1D 5197 2D5E E476
To claim this, I am signing this object:
@M1chaelTran
M1chaelTran / WebStorm.cmd
Created August 17, 2017 11:04
Add `Open with WebStorm` to Windows right click context menu
@echo off
:: change the path below to match your installed version
SET WebStormPath=C:\Program Files\JetBrains\WebStorm 2017.2.2\bin\webstorm64.exe
echo Adding file entries
@reg add "HKEY_CLASSES_ROOT\*\shell\WebStorm" /t REG_SZ /v "" /d "Open with WebStorm" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\WebStorm" /t REG_EXPAND_SZ /v "Icon" /d "%WebStormPath%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\WebStorm\command" /t REG_SZ /v "" /d "%WebStormPath% \"%%1\"" /f