Skip to content

Instantly share code, notes, and snippets.

View scjudd's full-sized avatar

Spencer Judd scjudd

View GitHub Profile
anonymous
anonymous / gist:74e212d2cf421d34836154926ee8c615
Created September 14, 2016 18:48
CONNECT 8BITDO ZERO CONTROLLER TO POCKET CHIP AND CONFIGURE PICO-8
<<CONNECT 8BITDO ZERO CONTROLLER TO POCKET CHIP AND CONFIGURE PICO-8>>
info gathered via https://bbs.nextthing.co/t/usb-controller-for-pico-8-on-pocketc-h-i-p/5077/8
just follow the following steps
-=first pair controller using bluetooth=-
1. open terminal on pocketCHIP (or ssh using putty or something else with a regular keyboard)
2. type "bluetoothctl" to enter interactive shell
What exactly is "iowait"?
To summarize it in one sentence, 'iowait' is the percentage
of time the CPU is idle AND there is at least one I/O
in progress.
Each CPU can be in one of four states: user, sys, idle, iowait.
Performance tools such as vmstat, iostat, sar, etc. print
out these four states as a percentage. The sar tool can
print out the states on a per CPU basis (-P flag) but most
@moschlar
moschlar / make.conf
Last active February 5, 2024 10:00
Run Gentoo Portage in a cpu cgroup
PORTAGE_IONICE_COMMAND="/usr/local/sbin/portage-cgroup \${PID}"
@scjudd
scjudd / macmini4,1_archlinux.md
Created May 3, 2012 18:23
MacMini4,1 Arch Linux Install Guide

Install Arch Linux on a MacMini4,1

  1. Boot into OS X

  2. In Disk Utility, make space for Arch partition

  3. Boot Arch Linux install with 'nomodeset' boot option

  4. Install gptfdisk (provides cgdisk)

@benmanns
benmanns / README.markdown
Created November 17, 2010 22:33
This is a library for polling Liberty's ASIST portal (hence the name).

Asistant

To get this set up you have to run custom versions of the mechanize and twiliolib gems. Unfortunately, some SSL errors and issues with Liberty's login redirect sequence forced me to hack the libraries. Hopefully I can get something "official" looking to get it pulled into the main repository, but for now, install it from my repositories.

Generic Ruby Setup

sudo apt-get install ruby

Generic RubyGems Setup