Skip to content

Instantly share code, notes, and snippets.

View datatalking's full-sized avatar
💭
I try to update daily, fix monthly.

Andrew Schell datatalking

💭
I try to update daily, fix monthly.
View GitHub Profile
@datatalking
datatalking / CalendarView
Created October 5, 2023 21:04
CalenderView with Franklin-Covey html formatting
from datetime import datetime
import streamlit as st
import datetime
import sqlite3
from googleapiclient.discovery import build
from google.oauth2 import service_account
from pandas.tseries.offsets import Week
import sys
import os
import CalendarView
@datatalking
datatalking / t-test
Created April 14, 2023 16:06
t-test of two distributions null vs alternative
import seaborn as sns, numpy as np
from scipy import stats
import numpy as np
import statistics
Null_Hypothesis = "YieldA = YieldB"
Alternate_Hypothesis = "YieldA != YieldB"
Vx1_1 = [4618, 3094, 158, 4701, 2692, 2012, 2569, 1233, 1895, 181]
Vx2_1 = [3352, 174, 1661, 1984, 1518, 3594, 3346, 1834, 3300, 3816]
@datatalking
datatalking / read_apple_notes.ipynb
Created June 19, 2022 21:55 — forked from paultopia/read_apple_notes.ipynb
attempt to read apple notes from python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@datatalking
datatalking / README.md
Created May 15, 2022 18:29 — forked from hofmannsven/README.md
Git Cheatsheet
@datatalking
datatalking / data_downloader.ipynb
Created August 30, 2021 13:12 — forked from buswedg/data_downloader.ipynb
pulling_free_us_stock_market_data\data_downloader
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@datatalking
datatalking / cuda_check.py
Created August 3, 2021 20:54 — forked from f0k/cuda_check.py
Simple python script to obtain CUDA device information
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Outputs some information on CUDA-enabled devices on your computer,
including current memory usage.
It's a port of https://gist.github.com/f0k/0d6431e3faa60bffc788f8b4daa029b1
from C to Python with ctypes, so it can run without compiling anything. Note
that this is a direct translation with no attempt to make the code Pythonic.
@datatalking
datatalking / tensorflow_1_8_high_sierra_gpu.md
Created August 3, 2021 18:31 — forked from Willian-Zhang/tensorflow_1_8_high_sierra_gpu.md
Install TensorFlow 1.8 on macOS High Sierra 10.13.4 with CUDA
@datatalking
datatalking / speed_testing_sample.py
Created July 31, 2021 06:21
A function to test network internet speed
#!/usr/bin/python
import os
import sys
import csv
import datetime
import time
def main():
run_simple_speedtest()
@datatalking
datatalking / checkDuplicates.py
Created July 28, 2021 17:48 — forked from vinovator/checkDuplicates.py
Python script to find duplicate files from a folder
# checkDuplicates.py
# Python 2.7.6
"""
Given a folder, walk through all files within the folder and subfolders
and get list of all files that are duplicates
The md5 checcksum for each file will determine the duplicates
"""
import os
@datatalking
datatalking / Python3 Virtualenv Setup.md
Created December 28, 2017 22:18 — forked from pandafulmanda/Python3 Virtualenv Setup.md
Setting up and using Python3 Virtualenv on Mac

Python3 Virtualenv Setup

Requirements
  • Python 3
  • Pip 3
$ brew install python3