Skip to content

Instantly share code, notes, and snippets.

View cmsax's full-sized avatar
⚠️
undefinedundefinedundefinedundefinedundefinedundefinedundefined

Mingshi Cai cmsax

⚠️
undefinedundefinedundefinedundefinedundefinedundefinedundefined
View GitHub Profile
@cmsax
cmsax / pprof.md
Created December 16, 2021 11:12 — forked from slok/pprof.md
Go pprof cheat sheet

Enable profiling

Default http server

import (
    _ "net/http/pprof"
    "net/http"
)
@cmsax
cmsax / youtube-search-filter-config.json
Last active September 29, 2024 11:34
UserScript for filtering youtube search result.
stone记
rfi
bbc news中文
熱點互動
热点互动
美国之音
老外看中国
唐浩
江峰
李蘭斯
[tool.poetry]
name = "spirit"
version = "0.1.0"
description = ""
authors = ["ChanceFocus"]
[tool.poetry.dependencies]
python = "^3.7"
docopt = "^0.6.2"
chance-config = "^0.0.11"
@cmsax
cmsax / settings.json
Created December 4, 2019 13:51
hyper.js sync settings
{}
@cmsax
cmsax / .zshrc
Created November 7, 2019 02:23
zsh-configuration #zsh
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$HOME/Library/Python/3.7/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/mingshicai/.oh-my-zsh"
# export http_proxy=http://192.168.0.168:8118
# export https_proxy=http://192.168.0.168:8118
export GO111MODULE=off
# Set name of the theme to load --- if set to "random", it will
select time, close_price from "transaction"."autogen"."transaction_history" where stock_id = '000001' and time >= '2014-01-01' and time <= '2016-01-01' and type='day'
@cmsax
cmsax / cloudSettings
Last active March 16, 2020 02:06
Linux configuration on the cloud.
{"lastUpload":"2020-03-16T02:06:26.690Z","extensionVersion":"v3.4.3"}