Skip to content

Instantly share code, notes, and snippets.

View kotx's full-sized avatar

Kot C kotx

View GitHub Profile
This file has been truncated, but you can view the full file.
0000;<control>;Cc;0;BN;;;;;N;NULL;;;;
0001;<control>;Cc;0;BN;;;;;N;START OF HEADING;;;;
0002;<control>;Cc;0;BN;;;;;N;START OF TEXT;;;;
0003;<control>;Cc;0;BN;;;;;N;END OF TEXT;;;;
0004;<control>;Cc;0;BN;;;;;N;END OF TRANSMISSION;;;;
0005;<control>;Cc;0;BN;;;;;N;ENQUIRY;;;;
0006;<control>;Cc;0;BN;;;;;N;ACKNOWLEDGE;;;;
0007;<control>;Cc;0;BN;;;;;N;BELL;;;;
0008;<control>;Cc;0;BN;;;;;N;BACKSPACE;;;;
0009;<control>;Cc;0;S;;;;;N;CHARACTER TABULATION;;;;
@kotx
kotx / README.md
Last active June 14, 2018 01:28
NSelenium - An automated script for nationstates challenges

NSelenium is a selenium script in python for nationstates challenges. It automates the challenges, provided that you login first.

This was made in an hour or two, so you'll most likely experience bugs. If you find any, feel free to make a comment!

This script supports matchmaker, random world and region. Simply change

btn = WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.NAME, "matchmaker")))

to

import random
def generate(length):
try:
get_char = unichr
except NameError:
get_char = chr
# Update this to include code point ranges to be sampled
include_ranges = [
(0x30, 0x39), # numbers