I hereby claim:
- I am xaethos on github.
- I am xaethos (https://keybase.io/xaethos) on keybase.
- I have a public key ASCKARZjNvkv_Fsw9_3WNPl8Joe4EISk4IYliDUwOyx2dQo
To claim this, I am signing this object:
| #!/bin/bash | |
| set -euo pipefail | |
| TARGET=${1:-} | |
| PIPELINE=${2:-} | |
| FLY=$(which fly) | |
| TEMPDIR=$(mktemp -d -t concourse) | |
| cleanup() { |
| package com.example; | |
| import android.os.Bundle; | |
| import android.support.annotation.VisibleForTesting; | |
| import org.puremvc.java.interfaces.INotification; | |
| import org.puremvc.java.patterns.command.SimpleCommand; | |
| import org.puremvc.java.patterns.facade.Facade; | |
| import javax.inject.Inject; |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| # Basic script for setting the log level for an Android tag | |
| # Usage: logtag tagname [loglevel] | |
| # Will default to VERBOSE logging | |
| cmd="adb shell setprop log.tag.${1:?Must provide a tag} ${2:-VERBOSE}" | |
| echo $cmd | |
| $cmd |
| package net.xaethos.sandbox.expand; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.Menu; | |
| import android.view.MenuItem; | |
| import android.view.View; | |
| import android.view.ViewGroup; |
| function apk_printcert { | |
| unzip -p "$1" META-INF/CERT.RSA | keytool -printcert | |
| } |
| #!/usr/bin/env python3 | |
| import sys | |
| import xlrd | |
| import csv | |
| from datetime import datetime | |
| skip = [ | |
| 'Funds Trf - FAST', | |
| 'Inward CR - GIRO', |
| def to_form_param json | |
| case json | |
| when Array | |
| return json if json.empty? || !json[0].is_a?(Hash) | |
| i = 0 | |
| json.reduce({}.with_indifferent_access) do |memo, item| | |
| memo["#{i}"] = to_form_param item | |
| i += 1 | |
| memo | |
| end |
| function Spin(count, ...) | |
| let cmd = '!spin push' | |
| if a:0 > 0 | |
| for f in a:000 | |
| let cmd = cmd . ' ' . f | |
| endfor | |
| else | |
| let cmd = cmd . ' %:' . a:count | |
| endif |
| public class URLRequestUnit extends InstrumentationTestCase | |
| { | |
| private static final String API_URL = | |
| "http://www.example.com/api/users"; | |
| public void testHttpOkay() throws Exception { | |
| MockURLStreamHandler handler = new MockURLStreamHandler(); | |
| URL.setURLStreamHandlerFactory(handler); | |
| UsersRequest request = new UsersRequest(); |