Skip to content

Instantly share code, notes, and snippets.

View xtealer's full-sized avatar
:octocat:
Working!

Enrique Shunnar xtealer

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