Skip to content

Instantly share code, notes, and snippets.

Bill Best wmbest2

Block or report user

Report or block wmbest2

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
nbarraille /
Last active Feb 27, 2020
An Espresso ViewAction that changes the orientation of the screen
* The MIT License (MIT)
* Copyright (c) 2015 - Nathan Barraille
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
domenic /
Last active Feb 20, 2020
Auto-deploying built products to gh-pages with Travis

Auto-deploying built products to gh-pages with Travis

This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.

Create a compile script

You want a script that does a local compile to e.g. an out/ directory. Let's call this for our purposes, but for your project it might be npm build or gulp make-docs or make or anything similar.

The out/ directory should contain everything you want deployed to gh-pages. That almost always includes an index.html.

JakeWharton /
Created May 21, 2013
A `HttpStack` implementation for Volley that uses OkHttp as its transport.
import com.squareup.okhttp.OkHttpClient;
* An {@link HttpStack} implementation which
* uses OkHttp as its transport.
wmbest2 /
Created Feb 9, 2012
Command line to bulk change a Package Name
find . -name "*.java" | xargs perl -pi -e "s/com.vokal.XXX/com.vokal.YYY/g"
wmbest2 /
Created Aug 17, 2011 — forked from scottferg/
Small shell script to easily deploy an Android debug build to all connected devices using adb
while getopts "ruf:" opt; do
case $opt in
You can’t perform that action at this time.