This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SNAKES GAME | |
# Use ARROW KEYS to play, SPACE BAR for pausing/resuming and Esc Key for exiting | |
import curses | |
from curses import KEY_RIGHT, KEY_LEFT, KEY_UP, KEY_DOWN | |
from random import randint | |
curses.initscr() | |
win = curses.newwin(20, 60, 0, 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#http://wireless.kernel.org/en/users/Drivers/b43 | |
su - | |
yum install b43-fwcutter wget # apt-get or whatever your package manager is | |
export FIRMWARE_INSTALL_DIR="/lib/firmware" | |
wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2 | |
tar xjf broadcom-wl-5.100.138.tar.bz2 | |
sudo b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" broadcom-wl-5.100.138/linux/wl_apsta.o | |
echo 'modprobe b43' > /etc/sysconfig/modules/b43.modules |