Skip to content

Instantly share code, notes, and snippets.

View RX14's full-sized avatar

Stephanie Wilde-Hobbs RX14

View GitHub Profile
@RX14
RX14 / tunnel
Last active January 4, 2016 00:58
Turtle Tunnel program V4
-- Arguements and Arg Checking
local tArgs = { ... }
if #tArgs ~= 1 then
print( "Usage: tunnel <length>" )
return
end
@RX14
RX14 / Chromium Wheel.yml
Last active August 15, 2016 17:43
Chrome App Settings
Mouse Wheel:
Step Size: 86
Smoothness-Forepart: 18.00
Smoothness: 55.17
Acceleration: 20
Keyboard:
Step Size: 112
Smoothness-Forepart: 25.51
Smoothness: 55.17
@RX14
RX14 / gist:768c0a30df9ecc245831
Last active August 29, 2015 14:05
Baubles Gradle Error
### Running in a docker container to make sure of a clean environment ###
rx14@RX14-XUB:~$ docker run -it rx14/baubles /bin/bash
root@b31549a8d6d5:/# git clone https://github.com/Azanor/Baubles.git /baubles
Cloning into '/baubles'...
remote: Counting objects: 865, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 865 (delta 6), reused 0 (delta 0)
Receiving objects: 100% (865/865), 3.55 MiB | 46.00 KiB/s, done.
Resolving deltas: 100% (359/359), done.
rx14@RX14-XUB:/data/programming/mcp909$ ./decompile.sh
== MCP 9.04 (data: 9.09, client: 1.8, server: 1.8) ==
"scalac" is not found on the PATH. Scala files will not be recompiled
# found wine, ff, ff patches, srgs, name csvs, doc csvs, param csvs, astyle config, rg, ss
Looking in /home/rx14/.minecraft/versions for mc installs... OK
Copying assets... OK
Parsing JSON file... OK
Looking for minecraft main jar... Not found
Copying minecraft main jar... OK
> Checking libraries...
<rx14> | i
<rx14> | am
<rx14> | pissed
<VicNightfall> | rx14: The Microsoft deal eh?
<rx14> | yup
<rx14> | i'm probably more pissed with CPW
<VicNightfall> | I'm okay with it as long as they don't interfere and others that decided to quit just for their morals. As far as i can see MS haven't done anything worse than any other company. Hell VS2013 and C# are awesome.
<Ecu> | Well.
<Ecu> | Now.. we get to see what MS will do with MC.
<rx14> | reading twitter while walking home from school
int type = 0;
if (prefix.contains("!")) {
type = 1;
if (prefix.contains("@")) {
type = 2;
}
}
switch (type) {
case 0:
@RX14
RX14 / gist:9719e4faf85f44d1d868
Created November 16, 2014 16:27
Naming Scheme
192.168.0.210 RX-SRV0-Soaryn
192.168.0.211 RX-SRV1-RPi
Feature: Quiz
In order to test my maths skills
As a student
I want to be able to take an arithmetic quiz
Scenario: Collect user info
Given I visit the url "/quiz"
And I fill in "Test" for "firstname"
And I fill in "User" for "lastname"
When I press "Start Test"
allprojects {
afterEvaluate { project ->
println "Transforming version specifier $project.version into ${project.version}.$System.env.BUILD_NUMBER"
project.version = "${project.version}.$System.env.BUILD_NUMBER"
}
}
public void poll()
{
List<ChatEvent> events = new ArrayList<>();
for (ISteph steph : stephs)
while (steph.moveNextEvent())
events.add(steph.getCurrentEvent());
for (ChatEvent event : events)
for (IMessageHandler handler : handlers)