Skip to content

Instantly share code, notes, and snippets.

@fheisler
fheisler / OffensivePython.ipynb
Last active December 19, 2022 07:15
Hunter2: Offensive Python Workshop
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fheisler
fheisler / q.py
Created March 31, 2015 23:02
Q-learning Tic-tac-toe
import random
class TicTacToe:
def __init__(self, playerX, playerO):
self.board = [' ']*9
self.playerX, self.playerO = playerX, playerO
self.playerX_turn = random.choice([True, False])
def play_game(self):

Install hub

In fish, create a function:

function hubpr
    hub pull-request -b TrackMaven:master -h TrackMaven:$argv[1] -i $argv[2]
end

funcsave hubpr

Keybase proof

I hereby claim:

  • I am fheisler on github.
  • I am fletcher (https://keybase.io/fletcher) on keybase.
  • I have a public key whose fingerprint is BA84 6D25 D51E 6C44 9830 2584 747E CA04 3C94 A92A

To claim this, I am signing this object: