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
#include <cstdio> | |
#include <string> | |
#include <vector> | |
#include <Windows.h> | |
#include <Psapi.h> | |
#include <algorithm> | |
#include <chrono> | |
#include <thread> |
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
// Put this in a separate .h file (called "getopt.h"). | |
// The prototype for the header file is: | |
/* | |
#ifndef GETOPT_H | |
#define GETOPT_H | |
int wgetopt(int nargc, wchar_t * const nargv[], const wchar_t *ostr) ; | |
#endif | |
*/ |
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
/* | |
The MIT License (MIT) | |
Copyright (c) 2015 Simon Otter | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
import argparse | |
import sys | |
import random | |
from types import SimpleNamespace | |
import string | |
manufacturers = ["ASUS", "ASrock", "Acer", "MSI", "Gigabyte", "XFX", "BFG", "Corsair", "EVGA", "ZOTAC", "Razer"] | |
words = {"X", "KILLER", "Sniper", "Ghost", "Adder", "Viper", "Stalker", "Force", "Gh0st", "Slayer", "Essence", "Razor", "Eraser", "Sweeper", "Blaster", "1337", "Storm", "One", "Quantum", "Quark", "Atom", "Slicer", "Millenium", "Phantom", "Hydra", "Droid", "Robot", "Phoenix", "Cyclops", "Hercules", "Caesar", "Green Beret", "Ocean", "Wave", "Break", "Destroyer", "Fighter", "Missile", "Naga", "Thor", "Odin", "Mjolnir", "Battle", "Ogre", "Lightning", "Hurricane", "Tornado", "Cloaked", "Slipstream", "Flash", "Titan", "Core", "Avalanche", "Thunder", "Panzer", "PENETRATOR", "Fatal1ty", "Pro", "Death", "Dread", "COMBAT", "Z", "OPS", "SPECIAL", "Commando", "Marine", "Red", "Gamer", "Trinity", "Unity", "Zero", "Steel", "Havoc", "Apocalypse", "Tiger", "Sabre", "Sword", "Mace", "Axe", "Spear", "Terminator", "Alien", "Dr |
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
from urllib.request import * | |
from html.parser import HTMLParser | |
import sys | |
import os | |
import random | |
class _TimecubeParser(HTMLParser): | |
def __init__(self): | |
super().__init__(self) | |
self.in_span = False |
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
# Invoke as: | |
# python mojibakifier.py | |
# | |
# For example: | |
# echo "Hello" | python mojibakifier.py | |
# | |
# Todo: | |
# - Flag for bit_rot | |
import string |