Skip to content

Instantly share code, notes, and snippets.

View imbeyondboredom's full-sized avatar

Charlie Fairchild imbeyondboredom

View GitHub Profile
@imbeyondboredom
imbeyondboredom / blackduck_init.sh
Created March 8, 2017 13:47
A script for dynamically injecting the blackduck gradle plugin for scanning dependencies of projects
echo 'initscript {
repositories {
mavenCentral()
maven { url "http://jcenter.bintray.com" }
}
dependencies {
classpath group: "com.blackducksoftware.integration", name: "hub-gradle-plugin", version: "3.4.1"
classpath "commons-lang:commons-lang:2.6"
}
}
@imbeyondboredom
imbeyondboredom / privacy_policy.md
Created February 8, 2017 21:25
Internal App Privacy Policy

As this is an internal app... by using this app you take on all liability and WillowTree takes no responsibility for anything

Use this app at your own risk. We make no guaruntees at all.

In fact - If you're using this app and you're not an employee of WillowTree then you must uninstall it immediately. If not then we reserve the right to track any and all information we can get through the app to encourage you to remove it

@imbeyondboredom
imbeyondboredom / MainActivity.java
Created March 11, 2016 20:25
Gist for Activity Lifecycle events
import android.os.Handler;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
public class MainActivity extends AppCompatActivity {
private static final String TAG = "DIALOG_SPLITSCREEN";
@imbeyondboredom
imbeyondboredom / eigth.xml
Created March 30, 2013 20:04
This is a maven pom example for a blog post
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<sign>
<debug>false</debug>
</sign>
<manifest>
<debuggable>false</debuggable>
@imbeyondboredom
imbeyondboredom / logInternetStatus.command
Created November 13, 2014 15:57
Script to log internet status
echo "Starting Internet Test"
thedate=$(date)
pingInternal=$(ping -c 4 192.168.1.11)
pingExternal=$(ping -c 4 8.8.8.8)
echo "Test finished - Press enter to copy to clipboard"
read
echo -e "$thedate\n$pingInternal\n$pingExternal" | pbcopy