Skip to content

Instantly share code, notes, and snippets.

$options = @{
'Draft' = 'Draft a custom starting deck of cards.';
'Endless' = 'Winning will return you to Act 1 with the same deck. But beware, the blight eventually consumes all...';
'Blight' = 'Boss chests contain blights after beating Act 3 on Endless.';
'Hoarder' = 'Whenever you add a card to your deck, add two additional copies. You can no longer remove cards from your deck at the Merchant.';
'Insanity' = 'Start with a random deck of 50 cards.';
'Praise Snecko' = 'Replaces your starting relic with Snecko Eye.';
'Shiny' = 'Starting deck is replaced with 1 of every rare card.';
'Specialized' = 'Start with 5 copies of a single rare card';
'Vintage' = 'Normal Enemies drop relics instead of cards.';
@slacker
slacker / hotslogs-anti-adblock.user.js
Last active August 1, 2017 13:05
A Greasemonkey script for allowing AdBlock/uBlock on HotsLogs
// ==UserScript==
// @name Hotslogs Bypass
// @version 1.3
// @description Stops redirects
// @author https://github.com/slacker
// @match https://www.hotslogs.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
Verifying that +danrobertson is my blockchain ID. https://onename.com/danrobertson
@slacker
slacker / disableusers.vbs
Created October 2, 2011 17:43
Disable local user accounts found in text file
' Disable local users that are a member of a list of usernames
' You can output to a file by the following command:
'
' cscript disableusers.vbs > c:\output.txt
' File containing the users to disable, 1 per line
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("c:\xfer\userstodisable.txt", ForReading)
' Build an array of users to disable
@slacker
slacker / siastatus.ps1
Created September 16, 2011 19:37
SIA Status file parser
$path = "c:\usr\local\monitor\log\status"
if ( ! (Test-Path $path))
{
Write-Error "Status file not found!"
exit
}
# Don't care about the first four lines
$null, $null, $null, $null, $siastatusfile = Get-Content $path
@slacker
slacker / netstat.ps1
Created September 15, 2011 20:03
Netstat Powershell Wrapper
# Based on code found at http://poshcode.org/2694
$null, $null, $null, $null, $netstat = netstat -ano
$ps = Get-Process
[regex]$regexTCP = '(?<Protocol>\S+)\s+(?<LAddress>\S+):(?<LPort>\S+)\s+(?<RAddress>\S+):(?<RPort>\S+)\s+(?<State>\S+)\s+(?<PID>\S+)'
[regex]$regexUDP = '(?<Protocol>\S+)\s+(?<LAddress>\S+):(?<LPort>\S+)\s+(?<RAddress>\S+):(?<RPort>\S+)\s+(?<PID>\S+)'
$return = @()
body { background: #f1f8db !important; }
#Body {
margin: 15px 0 0 !important;
overflow: visible !important;
padding: 0 15px !important;
position: relative !important;
width: auto !important;
}