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
| import json, hmac, hashlib, time, requests | |
| import numpy as np | |
| from requests.auth import AuthBase | |
| import matplotlib.pyplot as plt | |
| # Name of account holder (only for displaying) | |
| USER = 'My name' | |
| # API key and secret. Create these in your Coinbase account with all read permissions selected for all accounts | |
| API_KEY = 'xxx' |
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
| package org.dailyislam.android.utilities | |
| import android.content.Context | |
| import android.net.ConnectivityManager | |
| import android.net.NetworkInfo | |
| import android.telephony.TelephonyManager | |
| import java.net.InetAddress | |
| class ConnectivityUtil(private val applicationContext: Context) { |
OlderNewer