Skip to content

Instantly share code, notes, and snippets.

@lisez
lisez / shoppee_2021_v1.py
Last active March 10, 2021 01:37
Shopee 2021 #1
import json
import pandas as pd
import numpy as np
filepath = "/content/contacts.json"
with open(filepath, "r") as raw:
df = pd.DataFrame(json.load(raw)).set_index("Id")
fields = ["Email", "Phone", "OrderId"]
@lisez
lisez / colab_display_cht_on_plots.ipynb
Created November 2, 2020 10:39
colab_display_cht_on_plots.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lisez
lisez / hugo-auto-deoply.yml
Last active January 9, 2024 15:10
如何使用 Github Actions 自動部署 Hugo
# link: https://sujingjhong.com/posts/how-to-deploy-hugo-automatically-with-github-actions/
# author: lisez <mm4324@gmail.com>
name: Auto publish to public site
# 只有推送到 master 才自動化
on:
push:
branches:
- master