Skip to content

Instantly share code, notes, and snippets.

spiralray / caputuremap.user.js
Last active July 2, 2020 11:12
Capture the IntelMap
// ==UserScript==
// @id iitc-plugin-CaptureMap@spiralray
// @name IITC plugin: CaptureMap
// @category Info
// @version 0.0.2
// @namespace
// @description [spiralray-2016-11-23-235400] Capture map
// @include*
// @include*
// @match*
if [ "$(uname)" == 'Darwin' ]; then
brew update
brew install git scons
yes | sudo apt-get update
sudo apt-get -y install git-core scons
spiralray /
Last active February 9, 2019 09:16 — forked from ompugao/
scramble joycon standalone
import socket
from contextlib import closing
def main():
host = ''
port = 12345
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
with closing(sock):
message = 'Hello world'.encode('utf-8')
#include <MsTimer2.h>
#include <Wire.h>
#include <MS561101BA.h>
#include <Adafruit_GPS.h>
#include <SoftwareSerial.h>
#include <SakuraIO.h>
const uint16_t CIRCUMFERENCE = 2136;
const int mgntPin = 2; // the number of the pushbutton pin
spiralray / 50-udev.rules
Last active October 12, 2016 06:43
install Eclipse and GNU Tools for ARM Embedded Processors on Ubuntu
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02c4", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02d8", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02d9", MODE="0666"
SUBSYSTEM=="usb", KERNEL=="ttyUSB*", MODE="0666"
SUBSYSTEM=="usb", KERNEL=="ttyACM*", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="3748", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="374b", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="df11", MODE="0666"