I hereby claim:
- I am ArchimedesPi on github.
- I am archimedespi (https://keybase.io/archimedespi) on keybase.
- I have a public key whose fingerprint is F1A1 745C 486D 2F41 794C A621 FE4E 860E 818B C54C
To claim this, I am signing this object:
add_filter("manage_upload_columns", 'upload_columns'); | |
add_action("manage_media_custom_column", 'media_custom_columns', 0, 2); | |
function upload_columns($columns) { | |
unset($columns['parent']); | |
$columns['better_parent'] = "Parent"; | |
return $columns; |
#!/bin/bash | |
# Install Mupen64Plus | |
cd | |
mkdir mupen64plus | |
cd mupen64plus | |
echo "Downloading installation scripts..." | |
wget https://github.com/mupen64plus/mupen64plus-core/raw/master/tools/m64p_helper_scripts.tar.gz | |
echo "Done" | |
echo "Unpacking installation scripts..." |
#!/bin/bash | |
# Install M64Py | |
cd | |
mkdir m64py | |
cd m64py | |
sudo apt-get install python-qt4 python3-qt4 libsdl1.2-dev | |
wget http://downloads.sourceforge.net/project/m64py/m64py-0.2.0/m64py_0.2.0-1_all.deb?r=http%3A%2F%2Fm64py.sourceforge.net%2F&ts=1392242617&use_mirror=hivelocity | |
mv m64py_0.2.0-1_all.deb?r=http:%2F%2Fm64py.sourceforge.net%2F m64py_0.2.0-1_all.deb | |
sudo dpkg -i install m64py_0.2.0-1_all.deb |
I hereby claim:
To claim this, I am signing this object:
#include <Encoder.h> | |
// -- some #defines to save typing | |
#define pinToKeyWD(pin, key) if (digitalRead(pin)==LOW) { Keyboard.press(key); } else if (digitalRead(pin)==HIGH) { Keyboard.release(key); } | |
#define btn(pin) pinMode(pin, INPUT_PULLUP); | |
#define light(pin) pinMode(pin, OUTPUT); | |
// -- set up the encoders | |
Encoder wheel1(0, 1); | |
Encoder wheel2(2, 3); |
#include <ESP8266WiFi.h> | |
const char *ssid = "*redacted*"; | |
const char *password = "*redacted*"; | |
const char *phant_public_key = "pwz6Xgv697hdJdoMA9qm"; | |
const char *phant_private_key = "*redacted*"; | |
const char *phant_host = "data.sparkfun.com"; | |
void setup() { |
package com.qualcomm.ftcrobotcontroller.opmodes; | |
import com.qualcomm.robotcore.eventloop.opmode.OpMode; | |
import com.qualcomm.robotcore.hardware.DcMotor; | |
import com.qualcomm.robotcore.hardware.DcMotorController; | |
// everything before this line IntelliJ writes out for you automatically as you use stuff. | |
/** | |
* Created by liam on 9/19/2015. | |
*/ |
The important thing is remembering that what you want to measure is the time between pressing a button or joystick and the motor beginning to run. The best way to measure this is as follows (you need a digital oscilloscope):
When INIT is pressed:
When play is pressed:
When stop is pressed: