Skip to content

Instantly share code, notes, and snippets.

Ryan ryanwarsaw

Block or report user

Report or block ryanwarsaw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View player.json
[
{
"id": "username",
"selector": ".page-header>h1>span",
"type": "single"
},
{
"id": "stats",
"selector": "h2>small",
"cases": [
View wrapper.output
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>
View org.chameleon.Boot.plist
<?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>
View org.chameleon.Boot.plist
<?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>
View RecommendedUsage.java
private final Overcast overcast = new OvercastStats();
public void someEvent() {
overcast.getPlayerByNameAsync("rockymma", new Callback<OvercastPlayer>() {
@Override
public void call(OvercastPlayer result) {
// Do something with the result.
}
});
}
View TradeOfferHandler.java
package me.ryanw.tradeoffermanager.handler;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import me.ryanw.tradeoffermanager.offer.TradeOffer;
import java.util.Collection;
@JsonRootName("response")
public class TradeOfferHandler {
View TradeOfferHandler.java
package me.ryanw.tradeoffermanager.handler;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import me.ryanw.tradeoffermanager.offer.TradeOffer;
import java.util.Collection;
@JsonRootName("response")
public class TradeOfferHandler {
View webmaker-dependency-list
webmaker-core@1.6.1 /Users/ryan/Documents/JavaScriptProjects/webmaker-core
├─┬ autoless@0.1.7
│ ├─┬ autoprefixer-core@5.1.7
│ │ ├── browserslist@0.2.0
│ │ ├── caniuse-db@1.0.30000451
│ │ ├── num2fraction@1.0.1
│ │ └─┬ postcss@4.0.6
│ │ ├── js-base64@2.1.9
│ │ └─┬ source-map@0.2.0
│ │ └── amdefine@1.0.0
View update.sh
# Install Command Line Tools (Xcode) if it isn't already installed.
if type xcode-select >&- && xpath=$(xcode-select --print-path) && test -d "$xpath" && test -x "$xpath" ; then
# TODO: Reverse if statement logic to remove unnecessary logic.
else
xcode-select --install
fi
# Install Homebrew (Package Manager) if it isn't already installed.
if ! brew_location="$(type -p brew)" || [ -z "$brew_location" ]; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
View update.sh
# Install Command Line Tools
if ! type xcode-select >&- && xpath=$(xcode-select --print-path) && test -d "$xpath" && test -x "$xpath"; then
# Accept the Xcode license agreement
xcodebuild -license
# Run command line tool installation script
xcode-select --install
fi
You can’t perform that action at this time.