Skip to content

Instantly share code, notes, and snippets.

View phroa's full-sized avatar

Jack Stratton phroa

  • Seattle, Washington
View GitHub Profile
@phroa
phroa / keybase.md
Last active August 29, 2015 14:10
keybase proof

Keybase proof

I hereby claim:

  • I am phroa on github.
  • I am phroa (https://keybase.io/phroa) on keybase.
  • I have a public key whose fingerprint is 1B46 B356 67D6 37FF 81F6 9664 274D DE56 4B69 ABE5

To claim this, I am signing this object:

@phroa
phroa / readmore.md
Last active December 9, 2021 09:34
Using readmore.js

Reading More

Step 1

Add this block of code inside your page's <head> tag, preferably right under the <link> to your stylesheet:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://raw.githubusercontent.com/jedfoster/Readmore.js/master/readmore.js"></script>
BUILD FAILED
Total time: 2.635 secs
This file has been truncated, but you can view the full file.
.
├── build.gradle
├── gradle
│   ├── gradle.iml
│   └── wrapper
│   ├── gradle-wrapper.jar
│   └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
├── Ranks.iml
package net.phroa.pads.impl;
import com.flowpowered.math.vector.Vector3d;
import com.google.common.base.Optional;
import net.phroa.pads.api.Pad;
import net.phroa.pads.api.PadManager;
import org.spongepowered.api.world.Location;
import javax.annotation.Nonnull;
import java.util.Collection;

Team 4915 Wiring Diagram (2015)

Port # Group Description Wire Color
10 CAN ID Left Front Motor CAN Bus
11 CAN ID Left Rear Motor CAN Bus
12 CAN ID Right Front Motor CAN Bus
13 CAN ID Right Rear Motor CAN Bus
14 CAN ID Elevator Winch Motor CAN Bus
@phroa
phroa / ubuntu_serversetup.sh
Last active August 29, 2015 14:17
script to set up essential ubuntu vps things. use if you want. curl, pipe to "sudo bash" -- "sh" doesn't cut it.
c_black="$(tput setaf 0)"
c_red="$(tput setaf 1)"
c_green="$(tput setaf 2)"
c_yellow="$(tput setaf 3)"
c_blue="$(tput setaf 4)"
c_magenta="$(tput setaf 5)"
c_cyan="$(tput setaf 6)"
c_white="$(tput setaf 7)"
c_reset="$(tput sgr0)"
# The following lines were added by compinstall
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
zstyle ':completion:*' expand prefix suffix
zstyle ':completion:*' list-suffixes true
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*'
zstyle ':completion:*' squeeze-slashes true
zstyle :compinstall filename '/home/Jack/.zshrc'
autoload -Uz compinit
set -e
echo "dev.phroa.net" | sudo tee /etc/hostname > /dev/null
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo apt-get install -y build-essential \
python \
@phroa
phroa / mintty_to_mirc.rb
Created April 7, 2015 05:22
takes mintty formatted colors on stdin and outputs a ton of mirc commands to set that as a colorscheme. works with generally black-on-white schemes
#!/usr/bin/env ruby
colorvalues = {
foregroundcolour: 0,
backgroundcolour: 1,
cursorcolour: -1,
black: -2,
boldblack: -3,
blue: 2,
green: 3,