Skip to content

Instantly share code, notes, and snippets.

View zeelot's full-sized avatar

zeelot zeelot

  • Microsoft Research
  • Seattle
View GitHub Profile
from dataclasses import dataclass
import re
import pygame
from pygame import Vector2 as vec2
class Game:
def __init__(self):
pygame.init()
self.win_size = vec2(500)
@zombor
zombor / kohana-release.sh
Created March 11, 2011 04:44
Kohana Release Script - Bash script to do a kohana release from git.
#!/bin/bash
MAJOR_VERSION=$1
MINOR_VERSION=$2
if [ $# -lt 2 ]
then
echo "Usage: $0 <MAJOR-VERSION> <MINOR-VERSION>"
exit
fi