Skip to content

Instantly share code, notes, and snippets.

View corintxt's full-sized avatar

Corin Faife corintxt

View GitHub Profile
REM Navigate Chrome on macOS to The Verge website
DELAY 2000
ATTACKMODE HID STORAGE VID_05AC PID_0220 MAN_HAK5 PROD_DUCKY SERIAL_1337
DELAY 1000
REM Open Launcher
F4
DELAY 500
REM Launch Chrome
STRING Chrome
DELAY 200
q = text(
'''
SELECT *
FROM "facebook-timeline" ft
LIMIT 10000
'''
)
df = pd.DataFrame()
for idx, chunk in enumerate(
@corintxt
corintxt / basic_db_server.py
Created February 8, 2019 21:33
Basic database server in Python for RC pairing interview
from http.server import BaseHTTPRequestHandler, HTTPServer
HOST_NAME = 'localhost'
PORT_NUMBER = 4000
my_database = {}
class DatabaseHandler(BaseHTTPRequestHandler):
def do_HEAD(self):
self.send_response(200)