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 os, time | |
import pandas as pd | |
from pandas.io.json import json_normalize | |
from kucoin.client import Client as KucoinClient | |
from tabulate import tabulate | |
KUCOIN_API_KEY = os.getenv('KUCOIN_API_KEY') | |
KUCOIN_API_SECRET = os.getenv('KUCOIN_API_SECRET') |
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 os, requests, json | |
import sqlite3 | |
from time import sleep, strftime, gmtime | |
from flask import Flask | |
from itertools import repeat | |
FLASK_PORT = int(os.getenv('FLASK_PORT')) | |
BINANCE_URL = os.getenv('BINANCE_URL') | |
API_DELAY = int(os.getenv('API_DELAY')) |
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
drop table if exists t_cbsa_pop; | |
create table if not exists t_cbsa_pop ( | |
cbsa integer, | |
mdiv integer, | |
stcou integer, | |
name varchar(127), | |
lsad varchar(63), | |
census2010pop integer, | |
estimatesbase2010 integer, |
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
### Keybase proof | |
I hereby claim: | |
* I am mdexter on github. | |
* I am mattdexter (https://keybase.io/mattdexter) on keybase. | |
* I have a public key ASC7L448HCBbv5J8lgfXL5LV_7TPWv3OjG8G-VFj5_kBQgo | |
To claim this, I am signing this object: |
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
apm install seti-ui | |
apm install monokai-seti | |
apm install open-recent | |
apm install minimap | |
apm install highlight-selected | |
apm install minimap-highlight-selected | |
apm install autoclose-html | |
apm install pigments | |
apm install linter | |
apm install linter-htmlhint |
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
<html> | |
<head> | |
<script> | |
function loadXMLDoc() { | |
var xmlhttp = new XMLHttpRequest(); | |
xmlhttp.onreadystatechange = function() { | |
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { | |
getQuotes(xmlhttp); | |
} | |
}; |
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
<html> | |
<head> | |
<script> | |
function loadXMLDoc() { | |
var xmlhttp = new XMLHttpRequest(); | |
xmlhttp.onreadystatechange = function() { | |
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { | |
getQuotes(xmlhttp); | |
} | |
}; |
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
<cfscript> | |
variables.myArray = [2, 3, 4, 5]; | |
variables.timesTwo = []; | |
arrayEach(variables.myArray, function(num){ | |
arrayAppend(variables.timesTwo, num * 2); | |
}); | |
</cfscript> |
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
;;; FINANCIAL CALCULATORS | |
(define (fv-calc princ int per yrs) | |
(* princ (expt (+ 1 (/ int per)) (* per yrs))))) | |
(fv-calc 20000 .0325 2 10) | |
(define (pv-calc princ int per yrs) | |
(/ princ (expt (+ 1 (/ int per)) (* per yrs))))) | |
(pv-calc 27608.39 .0325 2 10) |
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 java.util.ArrayList; | |
import java.util.Arrays; | |
/** | |
* Created by mdexter on 8/11/2015. | |
*/ | |
public class WheelOfFortune | |
{ | |
public static String puzzleWord; | |
public static ArrayList<String> offensiveWords; |
NewerOlder