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
signingConfigs { | |
releaseSigning { | |
storeFile file(System.getenv("ANDROID_KEYSTORE")) | |
storePassword System.console().readPassword("\nStore password: ").toString() | |
keyAlias System.getenv("ANDROID_KEYALIAS") | |
keyPassword System.console().readPassword("Key password: ").toString() | |
} | |
} | |
buildTypes { |
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
\definecolor{light-gray}{gray}{0.95} | |
\definecolor{yellow}{RGB}{255, 251, 140} | |
% single line code blocks with monospace font and light-gray background (StackOverflow style) | |
\newcommand{\code}[1]{\colorbox{light-gray}{\texttt{#1}}} | |
% note command | |
\newcommand{\todo}[1]{\colorbox{yellow}{\textbf{\#TODO} #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
# Listening | |
nc -l -p 1234 > out.file | |
# Sending | |
nc -w 3 [destination] 1234 < out.file |
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 firebase import firebase | |
import json | |
bifrost = firebase.FirebaseApplication('https://bifrost.firebaseio.com/', None) | |
sims = bifrost.get('/sims', None) | |
avgs = {} | |
for sim in sims: |
NewerOlder