Skip to content

Instantly share code, notes, and snippets.

View VioletVivirand's full-sized avatar
👻
Always searching for the next job 😜

Chung-Ping Huang VioletVivirand

👻
Always searching for the next job 😜
  • Chunghwa Telecom
  • Kaohsiung, Taiwan
  • 15:25 (UTC +08:00)
View GitHub Profile
I keep losing my keys. How can I keep track of them?
@VioletVivirand
VioletVivirand / 0-README.md
Last active October 19, 2021 00:22
KinBot installation (Under construction)

KinBot Installation

👷‍♀️🚧🚧🚧👷 To strangers: this is a DRAFT. Don't do the same things as me!

Dependencies:

  • Python 2.7 / 3.6
  • Open Babel with Python Binding
    • Officially recommended: Compile with Python Binding option enabled
  • Compiling Open Babel (Latest Release: GitHub)
@VioletVivirand
VioletVivirand / 0-revision-classify-text-into-categories-with-the-natural-language-api.txt
Last active March 23, 2021 08:28
Revision list for Qwiklabs Challenge Labs: Classify Text into Categories with the Natural Language API (https://google.qwiklabs.com/focuses/12704?parent=catalog)
Revision list for Qwiklabs Challenge Labs: Classify Text into Categories with the Natural Language API (https://google.qwiklabs.com/focuses/12704?parent=catalog)
@VioletVivirand
VioletVivirand / 0-revision-classify-text-into-categories-with-the-natural-language-api.txt
Last active March 23, 2021 08:14
Revision list for Qwiklabs Lab: Classify Text into Categories with the Natural Language API (https://google.qwiklabs.com/focuses/1749?parent=catalog)
Revision list for Qwiklabs Lab: Classify Text into Categories with the Natural Language API (https://google.qwiklabs.com/focuses/1749?parent=catalog)
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "黃種平",
"label": "資料工程師 @ 台灣塑膠工業股份有限公司",
"picture": "",
"email": "purpleslovemail@gmail.com",
"phone": "",
"summary": "曾擔任 6 年以上之資料分析師及資料工程師,擅長於進行機器學習領域之資料處理、收集、建立預測模型、持續整合管線、及部署推論模型事務。能快速學習新科技並應用於地端及雲端。具有醫療領域及製造業之 MLOps 建構經驗。",
"location": {
@VioletVivirand
VioletVivirand / threedoors.py
Last active December 29, 2020 07:27
三門問題模擬:換門跟不換門的中獎機率
import random
ROUNDS = 10000 # The times to re-play
COUNT_CHANGE = 0 # If we change the chosen door, the times receiving the car
COUNT_NOT_CHANGE = 0 # If we don't change the chosen door, the times receiving the car
# Play the game, and choose to change the door after first picked
for _ in range(ROUNDS):
# Create 3 doors
doors = {0: 0, 1: 0, 2: 0}
@VioletVivirand
VioletVivirand / netscience.gml
Last active February 26, 2019 08:09
binder-plotly
Creator "Mark Newman on Sat Jul 22 06:24:59 2006"
graph
[
directed 0
node
[
id 0
label "ABRAMSON, G"
]
node
@VioletVivirand
VioletVivirand / demo.py
Created February 1, 2019 08:42
BeautifulSoup with XML
from bs4 import BeautifulSoup
# Read XML with XML parser
with open('template.xml') as fp:
soup = BeautifulSoup(fp, 'xml')
# Modify value of a tag
soup.size.width.string = 'Something New'
# Equal to soup.annotation.size.width
@VioletVivirand
VioletVivirand / cudnn.md
Last active November 1, 2022 00:27
Python venv and Nvidia Driver installation instruction (https://bit.ly/2E3H9Rk)

Nvidia GPU Computing Prerequisites

Step-by-step

  1. Nvidia Driver
  2. CUDA (Compute Unified Device Architecture)
  3. cuDNN (NVIDIA CUDA® Deep Neural Network library)
  4. Install tensorflow-gpu

Nvidia Driver

@VioletVivirand
VioletVivirand / remove.sh
Last active November 2, 2018 08:45
Remove Jupyter Notebook's Output
# Ref: https://stackoverflow.com/a/47774393/2975670
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --to notebook input.ipynb --output output.ipynb
jupyter nbconvert --clear-output --to notebook boston.ipynb --output output.ipynb