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
image: chrisgunawardena/android-sdk-23-24:latest | |
variables: | |
ANDROID_COMPILE_SDK: "25" | |
ANDROID_BUILD_TOOLS: "24.0.0" | |
ANDROID_SDK_TOOLS: "23.0.3" | |
before_script: | |
- chmod +x ./gradlew |
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
# More documentation about how to customize your build | |
# can be found here: | |
# https://docs.fastlane.tools | |
fastlane_version "1.109.0" | |
default_platform :android | |
lane :alpha do | |
if ENV["hockey_api_token"] == nil | |
abort("\n\nERROR: Please set the hockey_api_token ENV variable and try again.\n\n") |
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 openjdk:8-jdk | |
ENV ANDROID_HOME /opt/android-sdk-linux | |
RUN dpkg --add-architecture i386 | |
RUN apt-get update -qq | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libc6:i386 libstdc++6:i386 libgcc1:i386 libncurses5:i386 libz1:i386 | |
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 run -d --name gitlab-runner-config \ | |
-v /etc/gitlab-runner \ | |
busybox:latest \ | |
/bin/true | |
docker run -d --name gitlab-runner --restart always \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
--volumes-from gitlab-runner-config \ |
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
#include <Adafruit_NeoPixel.h> | |
#ifdef __AVR__ | |
#include <avr/power.h> | |
#endif | |
#define PIN 6 | |
#define NUM_LEDS 30 | |
#define BRIGHTNESS 255 | |
const int TrigPin = 10; | |
const int echoPin = 13; |
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
nmcli dev wifi connect <name> password <password> |
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
var Chip_io = require('chip-io'); | |
var chip_io = new Chip_io(); | |
var pin = 'CSID0'; | |
//var pin = 'XIO-P0'; | |
chip_io.on('ready', function() { | |
console.log('chip on ready'); | |
chip_io.pinMode(pin, chip_io.MODES.OUTPUT); | |
var start_time = new Date().getTime(); | |
for(var i=0; i<1000; i++) { |
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
// Description: | |
// Returns the top approvers for the last n pull requests | |
// | |
// Commands: | |
// sportsbot pull-me WEB/mobile | |
// sportsbot pull-me MIC/apicoreservices 50 | |
// sportsbot pull-me help | |
// | |
var https = require('https'); |
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
// +-\/-+ | |
// (+) VCC 1| |14 GND (-) | |
// coil 1 A00 2| |13 A10 low_pin | |
// coil 2 A01 3| |12 A09 high_pin | |
// RESET 4| |11 A08 | |
// coil 3 A02 5| |10 A07 button_input | |
// A03 6| |9 A06 led_cathode | |
// A04 7| |8 A05 led_anode | |
// +----+ | |
int low_pin = 10; |
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
/* global browser */ | |
var assert = require('assert'); | |
describe('Viraliaze video player', function () { | |
it('should load ad and start playing', function () { | |
browser.url('/'); | |
browser.waitForExist('#ima-ad-container iframe', 10000); | |
// http://imasdk.googleapis.com/js/core/bridge3.130.0_en.html#goog_96574024 |