Skip to content

Instantly share code, notes, and snippets.

View AlexanderBrevig's full-sized avatar

Alexander Brevig AlexanderBrevig

View GitHub Profile
@AlexanderBrevig
AlexanderBrevig / chroot-to-pi.sh
Created February 29, 2020 23:22 — forked from htruong/chroot-to-pi.sh
Chroot to pi sd card
#!/bin/bash
# This script allows you to chroot ("work on")
# the raspbian sd card as if it's the raspberry pi
# on your Ubuntu desktop/laptop
# just much faster and more convenient
# credits: https://gist.github.com/jkullick/9b02c2061fbdf4a6c4e8a78f1312a689
# make sure you have issued
@AlexanderBrevig
AlexanderBrevig / snake.py
Last active November 2, 2017 11:49 — forked from sanchitgangwar/snake.py
Snakes Game using Python
# SNAKES GAME FOR WINDOWS
# Be sure to download http://gnuwin32.sourceforge.net/downlinks/pdcurses-bin-zip.php
# I add the pdcurses.dll to the project folder and off you go!
# Use ARROW KEYS to play, SPACE BAR for pausing/resuming and Esc Key for exiting
import unicurses
from unicurses import *
from random import randint