Skip to content

Instantly share code, notes, and snippets.

View ryanwarsaw's full-sized avatar

Ryan Warsaw ryanwarsaw

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>
Found Element Match: <small>kills</small>
Matching Element Size: 1
Payload Name: GLOBAL_KILLS Payload Value: 20878
Found Element Match: <small>deaths</small>
Matching Element Size: 1
Payload Name: GLOBAL_DEATHS Payload Value: 18125
Found Element Match: <small>friends</small>
Matching Element Size: 1
Payload Name: FRIENDS_COUNT Payload Value: 13
Found Element Match: <small>kd ratio</small>
[
{
"id": "username",
"selector": ".page-header>h1>span",
"type": "single"
},
{
"id": "stats",
"selector": "h2>small",
"cases": [
@ryanwarsaw
ryanwarsaw / mappings.json
Last active August 29, 2015 14:24
OvercastAPI mappings JSON file!
[
{
"id": "globalKills",
"selector": "html body div.container section div.row div.span7 div.row-fluid div.span8 div.row-fluid div.span5 h2[title]",
"filter": "^.*kills.*$"
},
{
"id": "globalDeaths",
"selector": "html body div.container section div.row div.span7 div.row-fluid div.span4 h2[title]",
"filter": "^.*deaths.*$"
07-06 17:04:44.623 3777-3777/org.mozilla.webmaker V/language﹕ af
07-06 17:04:44.624 3777-3777/org.mozilla.webmaker V/language﹕ af-NA
07-06 17:04:44.624 3777-3777/org.mozilla.webmaker V/language﹕ af-ZA
07-06 17:04:44.624 3777-3777/org.mozilla.webmaker V/language﹕ agq
07-06 17:04:44.624 3777-3777/org.mozilla.webmaker V/language﹕ agq-CM
07-06 17:04:44.624 3777-3777/org.mozilla.webmaker V/language﹕ ak
07-06 17:04:44.624 3777-3777/org.mozilla.webmaker V/language﹕ ak-GH
07-06 17:04:44.624 3777-3777/org.mozilla.webmaker V/language﹕ am
07-06 17:04:44.625 3777-3777/org.mozilla.webmaker V/language﹕ am-ET
07-06 17:04:44.625 3777-3777/org.mozilla.webmaker V/language﹕ ar

Table of Contents

Getting started

Welcome to Webmaker for Android! Here's some things to know before getting started.

#!/bin/sh
BuildToolsAddress="https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar"
AphelionAddress="[link redacted]"
cat logo.txt
if [ -f BuildTools.jar ]; then
while true; do
read -p "Would you like to update your version of BuildTools? (y/n): " yn
case ${yn} in
[Yy]* ) rm -rf BuildTools.jar; curl -o BuildTools.jar ${BuildToolsAddress}; break;;
Compiling a fresh build of spigot!
BuildTools
unconfigured@null.spigotmc.org
Starting clone of https://hub.spigotmc.org/stash/scm/spigot/bukkit.git to Bukkit
Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/bukkit.git to /home/ryanw/compile_spigot/Bukkit. Current HEAD: 0b440145d31a6415ee48b85e029532965c82d977
Starting clone of https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git to CraftBukkit
Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git to /home/ryanw/compile_spigot/CraftBukkit. Current HEAD: c80683161952dcd465a9e9514daf488c1177b944
Starting clone of https://hub.spigotmc.org/stash/scm/spigot/spigot.git to Spigot
Cloned git repository https://hub.spigotmc.org/stash/scm/spigot/spigot.git to /home/ryanw/compile_spigot/Spigot. Current HEAD: 5ffe41c391075a995acb9ab0c493e69a211629ee
Starting clone of https://hub.spigotmc.org/stash/scm/spigot/builddata.git to BuildData
public class JsonTranslator {
public class BasicRequestDeserializer implements JsonDeserializer<BasicRequest>
{
@Override
public BasicRequest deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException {
return null;
}
}
public abstract class DIY {
private Integer limit;
private Integer offset;
private String docs;
private String email;
private String twitterUsername;
/**