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
const MnemonicWalletSubprovider = require('@0xproject/subproviders').MnemonicWalletSubprovider | |
const RPCSubprovider = require('web3-provider-engine/subproviders/rpc') | |
const Web3ProviderEngine = require('web3-provider-engine') | |
const Web3Wrapper = require('@0xproject/web3-wrapper').Web3Wrapper | |
const Web3 = require('web3') | |
const fs = require('fs') | |
const NETWORK_ID = 1 | |
const INFURA_API_KEY = '<INFURA_API_KEY>' | |
const MNEMONIC = fs.readFileSync('./mnemonic.txt', 'utf8') |
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 | |
################################################# | |
# Script to build latex and bibtex files to pdf # | |
################################################# | |
# Check for one input parameter specifying file or filename of .tex and .bib file. | |
if [ $# -eq 0 ] | |
then | |
echo "ERROR: Please provide input file or filename as parameter" |
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/sh | |
set -e | |
filename="database.db" | |
packagename="de.mohoff.zeiterfassung" | |
if [ "$#" -eq 2 ] | |
then | |
filename="$1" | |
packagename="$2" | |
fi | |
adb shell "su -c 'chmod 777 /data /data/data /data/data/$packagename /data/data/$packagename/databases /data/data/$packagename/databases/$filename; |