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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
</style> | |
<canvas></canvas> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<script> | |
var width = 960, | |
height = 800; |
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 sys | |
import os | |
from os.path import isfile, join | |
from os import listdir | |
import comtypes.client | |
wdFormatPDF = 17 | |
INPUT_PAHT_DOC = 'output/doc/' | |
OUTPUT_PAHT_PDF = 'output/pdf/' |
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
# Check if user logged in | |
def is_logged_in(f): | |
@wraps(f) | |
def wrap(*args, **kwargs): | |
if 'logged_in' in session: | |
return f(*args, **kwargs) | |
else: | |
flash('Unauthorized, Please login', 'danger') | |
return redirect(url_for('login')) | |
return wrap |
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 openpyxl import load_workbook | |
from os import listdir | |
from os.path import isfile, join | |
from purchaseModel import Purchase | |
from investmentModel import Investment | |
from docx import Document | |
from shutil import copyfile | |
from docx.enum.dml import MSO_THEME_COLOR | |
from docx.shared import RGBColor | |
import datetime |
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
class DateTimeExtensions | |
{ | |
/// <summary> | |
/// Adds/subtruct business days to date | |
/// pass negative number to subtruct | |
/// </summary> | |
/// <param name="date">date that we are adding/subtructing days to</param> | |
/// <param name="days">number of days</param> | |
/// <returns>found datetime</returns> | |
public DateTime AddBusinessDays(DateTime date, int days) |
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
{ | |
"sleep": [{ | |
"dateOfSleep": "2018-04-14", | |
"duration": 33900000, | |
"efficiency": 97, | |
"endTime": "2018-04-14T06:32:00.000", | |
"infoCode": 0, | |
"isMainSleep": true, | |
"levels": { | |
"data": [{ |
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
license: mit |
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
license: mit |
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
{ | |
"family":[ | |
{ | |
"display_name":"f__Akkermansiaceae", | |
"min":0, | |
"range_low":0, | |
"average":0.593, | |
"range_high":3.35, | |
"max":12.6, | |
"key":"f__Akkermansiaceae", |
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
{"explore_tabs":[{"tab_id":"all_tab","tab_name":"all","pagination_metadata":{"has_next_page":false},"sections":[{"backend_search_id":"1cb75a53-d59d-43ab-88a4-b950d8757597","display_type":"carousel","experiments_metadata":[],"result_type":"refinements","search_session_id":"32a7c68a-7059-48cf-8b27-c95935c001ac","section_id":"32a7c68a-7059-48cf-8b27-c95935c001ac","section_type_uid":"REFINEMENTS","title":"Explore Garden City","is_paginated":false,"bankai_section_id":"32","refinements":[{"count":267,"image":{"id":370208422,"picture":"https://a0.muscache.com/im/pictures/8b7519ec-2c82-4c09-8233-fd4d2715bbf9.jpg?aki_policy=large"},"search_params":{"params":[],"place_id":"ChIJDYt7zkUSVIcRjm8CuWUqz-E","query":"Garden City, UT, United States","refinement_paths":["/homes"],"refinement_path":"/homes","tab_id":"home_tab"},"title":"Homes","subtitle":"","style":"BASIC"},{"count":1,"image":{"id":452737301,"picture":"https://a0.muscache.com/im/pictures/cb8b3101-d419-4c17-8e2f-4989b39b98c3.jpg?aki_policy=large"},"search_params" |
OlderNewer