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
FROM gradle:latest | |
# FROM openjdk:8-jre-alpine | |
USER root | |
# RUN apk --no-cache add curl | |
ENV SDK_URL="https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip" \ | |
ANDROID_HOME="/usr/local/android-sdk" \ | |
ANDROID_VERSION=28 \ | |
ANDROID_BUILD_TOOLS_VERSION=29.0.2 | |
# Download Android SDK | |
RUN mkdir "$ANDROID_HOME" .android \ |
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
# Purpose: Shell script to connect a USB connected device via adb over WiFi | |
# | |
# Author: Amanshu Raikwar | |
# | |
# Assumptions: | |
# 1. USB debugging is enabled in the Android device | |
# 2. The Android device is connected to the computer via USB | |
# 3. The Android device is connected to the same wifi as the computer | |
# 4. The Android device is accessible through port 5555 over the wifi network | |
# |
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 | |
# | |
# 1. Update schema @ HASURA | |
# | |
curl -d \ | |
'{ | |
"type": "reload_metadata", | |
"args": {} | |
}' \ |
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
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "Envoy Proxy config schema", | |
"description": "JSON Schema for Envoy Proxy config", | |
"type": "object", | |
"properties": { | |
"admin": { | |
"type": "object", | |
"description": "Configuration for the local administration HTTP server", | |
"properties": { |
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 | |
# This import .env propery | |
eval "$(grep -v '^#' .env | sed -E 's|^(.+)=(.*)$|\1='\''\2'\''|g')" | |
# works on mac |