Skip to content

Instantly share code, notes, and snippets.

View llllllllll's full-sized avatar

Joe Jevnik llllllllll

View GitHub Profile
@llllllllll
llllllllll / namedtuple.c
Last active September 9, 2022 14:49
namedtuple.c
#include <ctype.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <Python.h>
#include <structmember.h>
#include <frameobject.h>
#!/usr/bin/bash
AUR_DIR=$HOME/aur
SUFFIX=-no-hdri
print_usage(){
echo "Usage: $0 [-h|AUR-DIR]"
}
@llllllllll
llllllllll / example.hs
Last active August 29, 2015 13:59
Example code for: Introduction to Category Theory with Applications in Computer Science
{-# LANGUAGE NoImplicitPrelude,KindSignatures #-}
-- Joe Jevnik
-- 2014.4.12
-- Examples to go with my abstract algebra final paper.
-- | Lets hide the functions we will be writing ourselves.
import Prelude hiding (Functor,Monad,(>>=),return,fmap)
-- | Our haskell functor class.
sudo apt-get update
sudo apt-get install bluez bluez-utils scons git libbluetooth-dev
git clone https://github.com/llllllllll/C_NXT.git
cd C_NXT/src
scons
cp libc_nxt.a ../example
cd ../example
make
gpasswd -a crunchbang bluetooth
bluetooth-wizard # PIN = 1234