Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Working!

Enrique Shunnar xtealer

:octocat:
Working!
View GitHub Profile
@xtealer
xtealer / snake.py
Created Jul 11, 2019 — forked from sanchitgangwar/snake.py
Snakes Game using Python
View snake.py
# 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)
@xtealer
xtealer / install-b43.sh
Created May 21, 2019 — forked from xtranophilist/install-b43.sh
Install Broadcom (B43) wireless driver in Linux
View install-b43.sh
#!/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