This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SCRIPT_NAME="$(basename -- "$0")" | |
ABS_SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
#################################################################### | |
# setAbsolutePathofDirectory | |
# | |
# PARAMS: directory, String | |
# cd's into the directory and prints the dir name, then cd's back. | |
#################################################################### | |
function setAbsolutePathofDirectory { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# generateOutputFilename | |
# | |
# Get a unique timestamped filename with the date, git hash, and branch to | |
# patch. The stanza is <userPrefix>-date-hash-for-<branch>.patch | |
# | |
# NOTE: Date formate is ddmmyy_hhmmss in 24hr format | |
# NOTE: Git hash is the last 7 chars | |
############################################################################### | |
function generateOutputFilename { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#################################################################### | |
# Bash Script Template | |
# Extend this template to produce a custom bash script that can | |
# only be run as root, makes temp dirs, and handles ungraceful | |
# exits by using trap. The script also demonstrates how to accept | |
# command line arguments. | |
# NOTE: The run-as-root requirement can easily be removed. | |
#################################################################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.frontrangerider.SubProcess; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.widget.Toast; | |
import com.frontrangerider.intents.MyIntentActions; | |
import com.frontrangerider.intents.MyIntentExtras; | |
import com.frontrangerider.util.Logger; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.frontrangrider; | |
import android.util.SparseArray; | |
import java.util.EnumSet; | |
import java.util.HashMap; | |
import java.util.Map; | |
public enum KeyValueEnum { | |
FIRST(1, "FIRST"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.util.Log; | |
/** | |
* Android Logger Util: | |
* Handles making nice pretty debug statements. | |
*/ | |
public class Logger { | |
private final String TAG; | |
private final Boolean DEBUG = true; //TODO get this from BuildConfig | |
private final Boolean WARN = true; //TODO get this from BuildConfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── app | |
│ ├── my-chart.html | |
│ └── polymer-app.html | |
| | |
└── FrontEnd | |
└── bower_components | |
├── chart-elements | |
├── Chart.js | |
├── polymer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../polymer/polymer.html"> | |
<link rel="import" href="chart-js-import.html"> | |
<link rel="import" href="dataset-properties-behavior.html"> | |
<link rel="import" href="context-behavior.html"> | |
<link rel="import" href="resize-behavior.html"> | |
<link rel="import" href="chart-styles.html"> | |
<dom-module id="chart-bar"> | |
<template> |
NewerOlder