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
| start G-code: | |
| G28 ;Home | |
| G1 Z15.0 F6000 ;Move the platform down 15mm | |
| ;Prime the extruder | |
| G92 E0 | |
| G1 F200 E3 | |
| G92 E0 | |
| end G-code: |
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
| ''' | |
| Bo Wen | |
| v1: Dec 25, 2019 | |
| v2: Nov 21, 2020 | |
| v3: Jun, 2021 - updated for tmobile's new summary pdf layout | |
| v4: Dec 2022 - check phone number exists in the summary before processing to avoid error | |
| require: | |
| Python3 | |
| pipenv install pdfplumber |
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
| brew cask install anaconda | |
| setup path and load script in .zshrc or .bashrc | |
| setup notebook env plug-in: conda install nb_conda_kernels (in base) |
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
| export PATH=/usr/local/anaconda3/bin:$PATH | |
| # If you come from bash you might have to change your $PATH. | |
| export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="/Users/Solon/.oh-my-zsh" | |
| # Set name of the theme to load --- if set to "random", it will | |
| # load a random theme each time oh-my-zsh is loaded, in which case, |
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
| import sched, time | |
| from threading import Thread | |
| def print_time(a='default'): | |
| print("From print_time", time.time(), a) | |
| s = sched.scheduler(time.time, time.sleep) | |
| s.enterabs(time.time()+1, 0, print_time, argument=('before',)) | |
| def start(): |
NewerOlder