This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Rewrite user id to stage/prod in AWS | |
// @match https://*.console.aws.amazon.com/* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js | |
// @grant none | |
// ==/UserScript== | |
function addGlobalStyle(css) { | |
var head, style; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import threading | |
import time | |
import bpy | |
import serial | |
import re | |
import sys | |
arduino = serial.Serial('COM4', 115200, timeout=.1) | |
class RotateCubeThread (threading.Thread): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// This is a simple program for testing the STMicroelectrics 3-axis gyroscope sold by Parallax. | |
// | |
// If you are new to the sensor you'll find all you need here. Just rip out what you don't want to save RAM. | |
// | |
// If you are using an Arduino Uno R3 like me, connect the SCL line to pin A5. Connect the SDA line to pin A4. | |
// I don't know anything about the other boards. I'm new to Arduino. | |
// | |
// The sample code at Parallax is incorrect in a couple of places. This code follows the application notes from STM. In |