Skip to content

Instantly share code, notes, and snippets.

@mcveat
mcveat / create-accounts.js
Created August 1, 2017 22:36
create-accounts.js
bob = personal.newAccount("bobs password")
john = personal.newAccount("johns password")
miner.setEtherbase(bob)
miner.start(1)
admin.sleepBlocks(2) // halts script execution until 2 blocks are mined
miner.stop()
[AutoCfg]
AutoCfgCompleted=1 ; 0=need to run 3D autocfg at startup
Version=1 ; Version of this file
[Graphics Options]
AllowTSOSelfShadows=0 ; 0=off, 1=more self-shadowing objects when shadow mapping
DNSMFilter=2 ; 0= none 1= Fetch4 2= PCF4 3= PCF4P 4= PCF8P 5= PCF16P
DNSMShadowFade=25 ; 0 to # = time to fade in night shadows in 100ths of a sec (25 default)
DNSMNumLights=3 ; 0 to 128 = Max number of shadow mapped lights at night
DNSMHeadlightsCastShadows=0 ; 0=off 1=car headlights cast shadows
@mcveat
mcveat / app.ini
Last active March 31, 2020 15:36
[Audio]
allowHardwareStreams=1 ; DirectSound: try to use hardware streams if available
channelMaskToStereo=1 ; Promote mono sounds to stereo when particular speaker is selected
devLFEAPI=1 ; 0 = None, 1 = DirectSound
devMicrophoneAPI=1 ; 0 = None, 1 = DirectSound
devSPCCAPI=1 ; 0 = None, 1 = DirectSound
devSPCCDefault=0 ; 0 = use specified device, 1 = use default device
devSPCCId={6C4401C9-7D55-467D-A1BD-3B88E7859C06} ; Identifier for the selected sound device
devSPCCName=Headphones (High Definition Audio Device) ; Name of the sound device
@mcveat
mcveat / .gitconfig
Last active June 16, 2022 23:13
alias part of my gitconfig
[alias]
st = status
ci = commit
co = checkout
lg = log -p
lsd = log --graph --decorate --pretty=oneline --abbrev-commit --all
lld = log --graph --decorate --abbrev-commit --all
s = status --short
files = log --name-status --oneline
ri = rebase -i origin/master