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
| #!/usr/bin/env python | |
| import pandas as pd | |
| import numpy as np | |
| import datetime | |
| top = 50 | |
| raw = pd.read_csv('leader.csv') | |
| raw['date'] = pd.to_datetime(raw['date']) | |
| lastmonth = (datetime.date.today().replace(day=1) - datetime.timedelta(days=1)).strftime("%Y-%m") | |
| print "Report for {}".format(lastmonth) |
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
| #!/usr/bin/env python | |
| import pandas as pd | |
| import numpy as np | |
| import datetime | |
| top = 50 | |
| raw = pd.read_csv('leader.csv') | |
| raw['date'] = pd.to_datetime(raw['date']) | |
| lastmonth = (datetime.date.today().replace(day=1) - datetime.timedelta(days=1)).strftime("%Y-%m") | |
| print "Report for {}".format(lastmonth) |
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
| ▄▄▄▄▄▄▄ ▄ ▄▄ ▄▄▄▄▄▄▄ | |
| █ ▄▄▄ █ ██ ▀▄ █ ▄▄▄ █ | |
| █ ███ █ ▄▀ ▀▄ █ ███ █ | |
| █▄▄▄▄▄█ █ ▄▀█ █▄▄▄▄▄█ | |
| ▄▄ ▄ ▄▄▀██▀▀ ▄▄▄ ▄▄ | |
| ██▀█▀ ▄▄▀▀▄ ▄▄▀ ██▀█ | |
| ▄▀█▀█▄▄ ▀▄▀▄ ▄ ▄▀ ██ | |
| ▄▄▄▄▄▄▄ █▄█▀ ▄ █▀▀ ▄▀ | |
| █ ▄▄▄ █ █ █▀▀▄██ ▄ | |
| █ ███ █ ▀█ ▀▄ ▀▄▄▀▀█ |
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
| VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 20 2017 15:55:48) | |
| Included patches: 1-494 | |
| Compiled by [email protected] | |
| Huge version with GTK2 GUI. Features included (+) or not (-): | |
| +acl +file_in_path +mouse_sgr +tag_old_static | |
| +arabic +find_in_path -mouse_sysmouse -tag_any_white | |
| +autocmd +float +mouse_urxvt -tcl | |
| +balloon_eval +folding +mouse_xterm +termguicolors | |
| +browse -footer +multi_byte +terminfo | |
| ++builtin_terms +fork() +multi_lang +termresponse |
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
| VIM - Vi IMproved 7.4 (2013 Aug 10, compiled May 8 2017 14:36:11) | |
| Included patches: 1-396 | |
| Compiled by [email protected] | |
| Normal version with GTK2 GUI. Features included (+) or not (-): | |
| +acl -farsi -mouse_netterm +syntax | |
| -arabic +file_in_path -mouse_sgr +tag_binary | |
| +autocmd +find_in_path -mouse_sysmouse +tag_old_static | |
| +balloon_eval +float -mouse_urxvt -tag_any_white | |
| +browse +folding +mouse_xterm -tcl | |
| +builtin_terms -footer +multi_byte +terminfo |
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 | |
| # initialize CAN and the robot | |
| # these functions allow us to source a calfile | |
| s() { | |
| eval s_$1=$2; | |
| } | |
| ok() { | |
| : | |
| } |
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
| ################################################## | |
| ################################################## | |
| #### ###### ## ## #### | |
| #### ########## ########## ## ########## #### | |
| #### ## ## ## ## ###### ## ## #### | |
| #### ## ## ########## ## ## ## #### | |
| #### ## ## #### ## ## ## ## #### | |
| #### ########## #### #### ########## #### | |
| #### ## ## ## ## #### | |
| #################### ## ######################## |
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
| #!/u/ddrucker/python32/bin/python | |
| # coding: utf-8 | |
| import matplotlib | |
| matplotlib.use('agg') | |
| import matplotlib.pyplot as plt | |
| import matplotlib.dates as dates | |
| from matplotlib.ticker import MaxNLocator | |
| import numpy as np | |
| from datetime import date, datetime, timedelta, time |
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
| answer(); | |
| log( "buttbuttinated" ); | |
| say("Welcome to butts lol."); | |
| butts=record("Please say the word butts", | |
| { | |
| beep:true, silenceTimeout: 1, maxTime:3, timeout:5, | |
| // onRecord:function(butts ) | |
| // { say("you said " + butts.recordURI ) } | |
| } ); |
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
| diff --git a/config.js b/config.js | |
| index 61087fe..e1a5626 100644 | |
| --- a/config.js | |
| +++ b/config.js | |
| @@ -1,8 +1,8 @@ | |
| const config = { | |
| // url | |
| - root: 'http://localhost:9091', | |
| - csv: '/history.csv', | |
| - json: '/data.json', |