Skip to content

Instantly share code, notes, and snippets.

View Stealthii's full-sized avatar

StealthCT Stealthii

View GitHub Profile
View gist:7e5990f45423a841448ce2d673281fd7
#!/usr/bin/env python
import sys
import socket
import select
import signal
from Debug import dinit, dprint
@Stealthii
Stealthii / blurbs.md
Last active August 29, 2015 14:22
Q-Con XXII Console Blurbs
View blurbs.md

Raspberry Pi Quake 3

It's back! Released in 1999, Quake III Arena is a minimalist, multiplayer first person shooter, best known for its fast paced action, and balanced gameplay. Running on the credit-card sized Raspberry Pi computer, this game gets a breath of new life at Q-Con XXII! With casual deathmatch play from CPMA, OSP, and regular maps, there'll be plenty of fun at this year's Q-Con Arena!

PS2 LAN Games

Released in 2000 at the start of a Golden Age in the non-PC gaming industry, the PlayStation 2 is the world's best selling video game console of all time. Sony's pivotal machine brought with it advanced graphics, on-line play, and many other features not fully realised until the next generation. Q-Con has brought PS2 back, and this time you can play with more than a few mates! Enjoy casual play of up to 24 players in many PS2 classics, such as TimeSplitters 2, Tony Hawk's Pro Skater 4, OutRun 2006, and many, many more!

@Stealthii
Stealthii / company_custom.conf
Created May 5, 2015 13:52
PFsense custom unbound rules
View company_custom.conf
###
# Companyname Custom config
###
## LANcache config ##
server:
# Steam
local-zone: "steampowered.com." transparent
@Stealthii
Stealthii / interesting.c
Last active August 29, 2015 14:14
C one liner in asm.js
View interesting.c
int main() { char* str = "We are discovering the future"; return 0; }
View .zlogin
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
@Stealthii
Stealthii / FED01-Disable-ez_setup-when-installing-by-RPM.patch
Created November 11, 2013 12:19
Enterprise Linux 5 RPM spec for RBTools.
View FED01-Disable-ez_setup-when-installing-by-RPM.patch
diff -u a/setup.py b/setup.py
--- a/setup.py 2013-11-08 16:22:30.000000000 +0000
+++ b/setup.py 2013-11-08 16:22:30.000000000 +0000
@@ -23,14 +23,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-# Attempt to use currently-installed setuptools first
-try:
- from setuptools import setup, find_packages
@Stealthii
Stealthii / Makefile
Last active December 21, 2015 13:59
Complex C++ work!
View Makefile
dist:
g++ -g -o complex $(SOURCES)
clean:
rm complex
SOURCES = complex.cpp \
main.cpp
@Stealthii
Stealthii / palindrome.cpp
Created August 14, 2013 00:38
Palindrome work
View palindrome.cpp
#include <iostream>
bool is_palindrome(char * word) {
char *p, *t;
for (p=word; *p!='\0'; p++);
for (t=word; p--; p>=t) {
if (*p==*t) {
t++;
p--;
}
@Stealthii
Stealthii / fileio.c
Created July 23, 2013 14:22
File IO from Capital Markets Academy
View fileio.c
#include <stdio.h>
#include <errno.h>
#define MAXSTRINGSIZE 256
#define MAXRECSIZE 1024
int main(void) {
FILE * fp;
FILE * outfp;
@Stealthii
Stealthii / linked_list_example.c
Created July 23, 2013 14:13
Braun's linked list example from Capital Markets Academy
View linked_list_example.c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MAXSTRINGLEN 20
typedef struct node {
int id;
char * word;