Skip to content

Instantly share code, notes, and snippets.

View peterhs73's full-sized avatar

Peter Sun peterhs73

View GitHub Profile
@peterhs73
peterhs73 / gsites2md.py
Last active June 7, 2021 21:22
Convert classic google sites to markdown files
"""
Peter Sun
Jun 7, 2020
https://github.com/peterhs73
Custom script that convert google sites to markdown files.
The output is for github wiki specifically.
How to:
Extract all google sites page html using google takeout feature
@peterhs73
peterhs73 / sublime_text_configs.md
Last active December 4, 2019 05:24
setup sublime text as python IDE

Sublime Text Setttings

A quick starter guide to use the sublime (with personal preference on linting). Its used as a Python specific IDE.

PACKAGE settings

The followings are the user settings to the packages:

Install anaconda package and use anaconda lint

@peterhs73
peterhs73 / virtualenv_n_jupyter_kernel.md
Last active February 23, 2024 17:37
Python Virtual Environments and Jupyter Notebook Kernel Guide

Create Python Virtual Environment and Install iPython Kernel for researchers working with Jupyter notebooks.

TL;DR

  • Virtual Environment
    • Virtualenv
      virtualenv env_to_create  
      \folder_to_create\Scripts\activate