This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/env sh | |
# Utility script for checking profile ban state en masse. | |
# | |
# Takes a newline-separated list of steamID64's on stdin, filters any with a ban | |
# state not equal to "1" and outputs the respective steamID64's on stdout. | |
# Runtime is asynchronous and is therefore not guaranteed to produce sequential | |
# output. The script will continue to send requests until EOF is reached | |
# regardless of curl or parsing errors. Neither consistency nor completeness is | |
# therefore guranteed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'digest' | |
phrase = 'poultryoutwitsants' | |
checksum = '4624d200580677270a54ccff86b9610e' | |
words = File.open('words', 'r').each_line | |
.map(&:chomp).uniq # Discard line-endings & duplicates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LightRange[] defaultRanges = { | |
new LightRange({2,3}, 4.4, "something", 4), | |
new LightRange({4,6}, 4.8, "something", 7), | |
new LightRange({6,9}, 5.4, "something", 9) | |
}; | |
defaultRanges.forEach(s -> { | |
s.intlist = config.get('intlist stuff').getIntList(); | |
s.floatthing = (float)config.get('double stuff').getDouble(); | |
s.stringy = config.get('strang').getString(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC?=clang++ | |
CFLAGS=-Wall -std=c++14 | |
SOURCES=Source/Bootstrap/Injector.cpp Source/Bootstrap/Processtype.cpp Source/Bootstrap/Spawner.cpp Source/Main.cpp | |
OBJECTS=$(SOURCES:.cpp=.o) | |
Bootstrap: $(OBJECTS) | |
$(CC) $^ -o $@ | |
$(OBJECTS): %.o: %.cpp |