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
node('android') { | |
stage('Checkout') { | |
checkout scm | |
} | |
stage('Build') { | |
try { |
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
#!/bin/bash | |
############################################################################ | |
# | |
# Installs and configures many things useful for a fresh Rasbian install. | |
# All things configured are described in this repo: | |
# https://github.com/mlagerberg/raspberry-pi-setup | |
# A more complete version of this script (that requires user input) can | |
# be found here: https://gist.github.com/mlagerberg/df0e433f984b4c3595f7 | |
# | |
# Created by Mathijs Lagerberg, 2017 |
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
#!/bin/bash | |
# Get list of only the device identifiers | |
# 1 list devices | |
# 2 grep away the line 'list of devices' | |
# 3 grep away newline at the end | |
# 4 cut off everything but the first part (identifier) | |
ALL=`adb devices -l` | |
#LIST=`adb devices | grep -v devices | grep device | cut -f1` | |
LIST=`echo "$ALL" | grep -v devices | grep device | awk '{print $1}'` |
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
#!/usr/bin/env python3 | |
import subprocess | |
import sys | |
import time | |
# | |
# Usage: | |
# python record_taps.py /dev/input/event3 output_file.sh | |
# Find out your input event name by running: | |
# adb shell getevent -lp |
OlderNewer