- 10m - candidate CV
- 5m - Organization technologies and dev workflow
- 20m - overall computer OS/network questions
- 5m - linux/git
- 10m - scalability
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
import boto.ec2 | |
import boto.vpc | |
import boto.rds2 | |
###### Configurations ###### | |
PROJECT = "Testing" # This is the tag name for all resources | |
ACCESS_KEY = "SECRET" | |
SECRET_KEY = "SECRET" | |
REGION_NAME = 'us-west-2' |
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
import json | |
import sys | |
from flask import Flask | |
from flask import request | |
from flask import Response | |
app = Flask(__name__) | |
clicked_push=False |
OVPN_DATA="ovpn-data"
docker run --name $OVPN_DATA -v /etc/openvpn busybox
docker run --volumes-from $OVPN_DATA --rm kylemanna/openvpn ovpn_genconfig -u udp://jenkins.joaoptrindade.com:1194
docker run --volumes-from $OVPN_DATA --rm -it kylemanna/openvpn ovpn_initpki
docker run --volumes-from ovpn-data --rm -p 1194:1194/udp --cap-add=NET_ADMIN kylemanna/openvpn
CLIENT_NAME="OSCAR"
docker run --volumes-from
https://github.com/Doplgangr/secrecy https://github.com/deano2390/OpenFlappyBird https://github.com/romannurik/muzei https://github.com/JakeWharton/u2020 https://github.com/MizzleDK/Mizuu https://github.com/arnabc/simplelauncher https://github.com/google/iosched https://github.com/watabou/pixel-dungeon https://code.google.com/p/dashclock https://github.com/eddieringle/PasswordMaker_X
First put a the following init.d gradle script in ${HOME}/.gradle/init.d/ (currently in build.gradle but not working in init):
allprojects {
tasks.withType(Compile) { // Use JavaCompile for gradle > 2.0
options.compilerArgs << "-Xlint:deprecation"
}
task printDependencies << {task -> println "Subproject -> $task.project.name" }
}
subprojects {
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
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
allprojects { | |
tasks.withType(Compile) { | |
options.compilerArgs << "-Xlint:deprecation" | |
} | |
task printDependencies << {task -> println "Subproject -> $task.project.name" } | |
} | |
subprojects { | |
printDependencies { |
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
# To easilly transfer the generated data between the ARM and the PC do the following: | |
# | |
# In your pc: | |
# nc -l -p 2999 > received.json | |
# | |
# In the arm | |
# tail -f /tmp/data/miavita.json | nc 192.168.0.1 2999 | |
import numpy as np | |
import matplotlib.pyplot as plt |
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
# Write on | |
mount -o remount,rw -t ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system | |
# Take a screenshot | |
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen.png | |
# verbose logging in sqlite | |
adb shell setprop log.tag.SQLiteLog V | |
adb shell setprop log.tag.SQLiteStatements V | |
adb shell stop |
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
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
allow-hotplug eth0 | |
iface eth0 inet dhcp |