This file contains 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
DECKS = | |
{ | |
"Ancient Artillery": { name: "Ancient Artillery", class: "Ancient Artillery" } | |
, "Bandit Archer": { name: "Bandit Archer", class: "Archer" } | |
, "Bandit Guard": { name: "Bandit Guard", class: "Guard" } | |
, "Black Imp": { name: "Black Imp", class: "Imp" } | |
, "Boss": { name: "Boss", class: "Boss" } | |
, "Cave Bear": { name: "Cave Bear", class: "Cave Bear" } | |
, "City Archer": { name: "City Archer", class: "Archer" } | |
, "City Guard": { name: "City Guard", class: "Guard" } |
This file contains 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
# Android Screenshot | |
function ass() { | |
file_name="android-$(date "+%Y.%m.%d-%H.%M.%S")" | |
if [ ! -z "$1" ]; then | |
file_name="$1" | |
fi | |
adb exec-out screencap -p > $file_name.png | |
} |
This file contains 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
{ | |
"extends": [ | |
"airbnb", | |
"plugin:ava/recommended", | |
"plugin:jsdoc/recommended", | |
"plugin:node/recommended", | |
"plugin:optimize-regex/all", | |
"plugin:ramda/recommended", | |
"plugin:security/recommended", | |
"plugin:unicorn/recommended" |
This file contains 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
docker exec ${NGINX_ID} /certbot/letsencrypt-auto | |
renew | |
-m EMAIL | |
-a webroot --webroot-path=/usr/share/nginx/html | |
--agree-tos |
This file contains 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
FROM openstf/stf | |
# Running as root to get access to devices with out messing with plugdev group permissions | |
USER root |
This file contains 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"?> | |
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN | |
http://www.apple.com/DTDs/PropertyList-1.0.dtd > | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.l4.jenkinsnode</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/java</string> |
This file contains 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
task bvtTest(dependsOn: 'connectedAvodDebugAndroidTest') { | |
group = 'Verification' | |
description = 'Runs the tests for debug on connected devices' | |
android.defaultConfig.testInstrumentationRunnerArguments.package = 'com.package.bvt' | |
} | |
// Requried for Continous Integration | |
// The gradle process will always pass even with test failures | |
// inspect test results app/build/outputs/androidTest-results/connected/ | |
project.gradle.taskGraph.whenReady { |
This file contains 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
function determineBiggestDimension(height, width, length) | |
{ | |
if (width > length) | |
{ | |
biggest = width | |
if (height > width) | |
{ | |
biggest = height | |
} | |
} |