Skip to content

Instantly share code, notes, and snippets.

View gbromios's full-sized avatar
🌭
buuuuuhhhhhhhh

Steven "Fred" Collins gbromios

🌭
buuuuuhhhhhhhh
View GitHub Profile
@gbromios
gbromios / bash-colors.md
Created November 3, 2017 00:27 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@gbromios
gbromios / helper.py
Created October 3, 2016 14:56 — forked from iKlsR/helper.py
pygame boilerplate..
import pygame
import os, sys
width, height = 400, 400
os.environ['SDL_VIDEO_CENTERED'] = '1'
screen = pygame.display.set_mode((width, height))
class Core(object):
def __init__(self, surface, name):
pygame.display.set_caption(name)