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 / 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 / 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
@datatalking
datatalking / csv_to_mm.py
Created July 23, 2017 19:38 — forked from gpoulter/csv_to_mm.py
Build Freemind MindMap from Excel file
#!/usr/bin/python
"""Convert CSV table to MindMap format
Usage: python csv_to_mm.py sometable.csv > mymap.mm
CSV format is rows representing tree leaves, e.g.:
A1,
A1,B1
A1,B1,C1
A1,B1,C2
from scipy.stats.distributions import binom
data = [
{'name': 'ISTJ', 'count': 12, 'expected': 0.1160},
{'name': 'ISFJ', 'count': 4, 'expected': 0.1380},
{'name': 'INFJ', 'count': 14, 'expected': 0.0150},
{'name': 'INTJ', 'count': 206, 'expected': 0.0210},
{'name': 'ISTP', 'count': 16, 'expected': 0.0540},
{'name': 'ISFP', 'count': 1, 'expected': 0.0880},
{'name': 'INFP', 'count': 56, 'expected': 0.0430},