I hereby claim:
- I am bemitc on github.
- I am bmitchell (https://keybase.io/bmitchell) on keybase.
- I have a public key whose fingerprint is 0F2D 85C2 ECED AFA5 B8D2 D554 7B99 5B35 3C7E DF02
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| # blindly make ubuntu desktop changes needed for afl, needs to run as root | |
| # | |
| # this script is a pretty bad idea | |
| echo core > /proc/sys/kernel/core_pattern | |
| (cd /sys/devices/system/cpu; echo performance | tee cpu*/cpufreq/scaling_governor) |
| #!/usr/bin/env python | |
| """ | |
| Netsarang backdoor DNS payload decrypter | |
| file: decode_shadowpad_dns.py | |
| author: Fox-IT Security Research Team <srt@fox-it.com> | |
| Usage: | |
| $ cat dns.txt | |
| sajajlyoogrmkllmuoqiyaxlymwlvajdkouhkdyiyolamdjivho.cjpybuhwnjgkhllm.nylalobghyhirgh.com |
| #!/usr/bin/env python3 | |
| from pysubparser import parser | |
| import sys | |
| if len(sys.argv) == 1: | |
| print(f"{sys.argv[0]} subtitle_file\n") | |
| else: | |
| subtitles = parser.parse(sys.argv[1]) |
| #!/usr/bin/env python3 | |
| from lxml import html | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import sys | |
| import itertools | |
| import genanki | |
| import glob | |
| import shutil |
| #!/usr/bin/env python3 | |
| import duolingo | |
| import json | |
| import csv | |
| import time | |
| csvfile = open("duolingo_import.csv", "w") | |
| duolingo_csv = csv.writer(csvfile, quoting=csv.QUOTE_MINIMAL) | |
| lingo = duolingo.Duolingo('myname', ...) |
| Logical Chess Move by Move - Irving Chernev | |
| The World's Most Instructive Amateur Game Book - Heisman | |
| Chess: The Art of Logical Thinking - Neil McDonald | |
| (Note: the non-anthology A First Book of Morphy by del Rosario can be read here) | |
| Simple Attacking Plans - Wilson - contains a variety of master-master, master-amateur & amateur-amateur games | |
| The Most Instructive Games of Chess Ever Played - Irving Chernev | |
| The Art of Planning in Chess - Neil McDonald | |
| Winning Chess Brilliancies - Yasser Seirawan | |
| Chess Master vs. Chess Amateur - Euwe and Meiden | |
| Best Lessons of a Chess Coach - Weeramantry and Eusebi |
| #!/usr/bin/env python3 | |
| # simple script to produce a csv to import into anki to incorporate spaced repetition for chessking apps | |
| # this one is for chess tactics for beginners, you just create a table with categories and number of problems in each category | |
| wrong = "\"If you made any incorrect moves, fail card. Otherwise pass. Always fully calculate full variations without moving pieces.\"" | |
| tbl = [ | |
| ["MateIn1.RookCheckmates", 12], | |
| ["MateIn1.QueenCheckmates", 18], | |
| ["MateIn1.BishopCheckmates", 12], | |
| ["MateIn1.KnightCheckmates", 12], |
| #!/usr/bin/env python3 | |
| # simple script to produce a csv to import into anki to incorporate spaced repetition for chessking apps | |
| # this one is for ct-art 4.0 (1200-2400) organized by difficulty | |
| # | |
| # it's based on the webapp, which I assume fully matches the mobile apps | |
| back = "\"If you made any incorrect moves, fail card. Otherwise pass. Always fully calculate full variations without moving pieces.\"" | |
| tbl = [ | |
| [ "10.1", 26], |
| #!/usr/bin/env python3 | |
| import sys | |
| import chess.pgn | |
| positions = [] | |
| class UniqPositionsVisitor(chess.pgn.BaseVisitor): | |
| def visit_board(self, board): | |
| if board.fen() not in positions: |