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
def spoonRunner = "libs-uitests/spoon-runner-1.1.1-jar-with-dependencies.jar" | |
task spoon (dependsOn: ['assembleDebug', 'assembleDebugTest']) << { | |
def rootDir = project.rootDir | |
def localProperties = new File(rootDir, "local.properties") | |
def sdkDir | |
if (localProperties.exists()) { | |
Properties properties = new Properties() | |
localProperties.withInputStream { instr -> |
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
{"error": "Deprecated: Use preview or live feed from ATC."} |
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
################# | |
# Moved to https://github.com/jromero/tsp_art_tools | |
################# |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="******YOUR PROJECT NAME******" default="help"> | |
<property name="apt_generated.dir" value="${basedir}/.apt_generated/" /> | |
<target name="-pre-clean"> | |
<delete dir="${apt_generated.dir}" verbose="${verbose}" /> | |
<mkdir dir="${apt_generated.dir}" /> | |
</target> | |
<target name="-pre-compile"> |
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
/* | |
* Copyright (C) 2014 Chris Banes | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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 java.io.IOException; | |
import java.net.InetSocketAddress; | |
import java.net.Socket; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
import me.jromero.connect2sql.sql.ConnectionDetails; |
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
class TextColorAnimator extends ValueAnimator implements AnimatorUpdateListener { | |
private TextView mTextView; | |
private TextColorAnimator(TextView textView, int startColor, int endColor) { | |
mTextView = textView; | |
setObjectValues(startColor, endColor); | |
setEvaluator(new ArgbEvaluator()); | |
addUpdateListener(this); | |
} |
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 org.dallasmakerspace.kiosk.data.calendar; | |
import com.google.gson.Gson; | |
import com.google.gson.GsonBuilder; | |
import org.dallasmakerspace.kiosk.gson.DateDeserializer; | |
import java.text.SimpleDateFormat; | |
import java.util.Date; |
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.github.unispeech.languageselect; | |
import com.rookery.web_api_translate.type.Language; | |
public enum SupportedSttLanguage { | |
ENGLISH_US("eng-AUS", "English", "US", Language.ENGLISH), | |
ENGLISH_UK("eng-GBR", "English", "UK", Language.ENGLISH), | |
ENGLISH_AUS("eng-USA", "English", "Australia", Language.ENGLISH), | |
ARABIC_EGYPT("ara-EGY", "Arabic", "Egypt", Language.ARABIC), | |
ARABIC_SAUDI("ara-SAU", "Arabic", "Saudi", Language.ARABIC), |
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 | |
REQUIRED_ARGS=2 | |
PULL_DIR="./" | |
ADB_PATH=`which adb` | |
if [ $? -ne 0 ] | |
then | |
echo "Could not find adb!" | |
exit 1 | |
fi; |