Skip to content

Instantly share code, notes, and snippets.

Brian "Beej Jorgensen" Hall beejjorgensen

Block or report user

Report or block beejjorgensen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
beejjorgensen / webserver.go
Last active Oct 28, 2018
Super-simple logging webserver
View webserver.go
package main
import (
func logf(handler http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
log.Printf("%s %s %s", r.RemoteAddr, r.Method, r.URL)
View CS9 OOP
# Class Hierarchy
# Shows which classes subclass from which other classes:
# (Animal)->(Ostrich)
# |
# v
# (Goat)->(AngloNubianGoat)->(FaintingGoat)
# |
# v
View Lambda!
beejjorgensen /
Created Jul 12, 2018
CS10 Python OOP Day 2
import math
from pygame.math import Vector2
class Ball:
base class for bouncing objects
def __init__(self, bounds, position, velocity, color, radius):
self.position = position
beejjorgensen /
Last active Jul 11, 2018
CS10 Python-OOP-Toy from lecture
import pygame
import random
from pygame.math import Vector2
from pygame import Rect
class Block:
Base class for square or rectangular object
beejjorgensen /
Created Jul 10, 2018
CS10 Intro to Python toy programs
# Print out 2 to the 65536 power

Keybase proof

I hereby claim:

  • I am beejjorgensen on github.
  • I am beej ( on keybase.
  • I have a public key ASCiX3ExlcEy-50-gU3UZLrLUvJHDwbo0FmsV5hXrCb7two

To claim this, I am signing this object:

You can’t perform that action at this time.