Skip to content

Instantly share code, notes, and snippets.

View kamitom's full-sized avatar
😳
I may be slow to respond.

S.W.TOM kamitom

😳
I may be slow to respond.
  • Taiwan
  • 07:42 (UTC +08:00)
View GitHub Profile
@kamitom
kamitom / settings.json
Created October 29, 2018 04:47 — forked from doggy8088/settings.json
Will 保哥的 VSCode 使用者設定檔
{
"explorer.openEditors.visible": 0,
"workbench.colorTheme": "Default Light+",
"workbench.iconTheme": "vscode-simpler-icons",
"workbench.sideBar.location": "right",
// 需下載安裝 Fira Code 字型 (安裝 OTF 格式)
// https://github.com/tonsky/FiraCode/releases
// 需下載客製化過的 Microsoft YaHei Mono 字型
@kamitom
kamitom / studenpackfree.md
Created January 15, 2019 14:40 — forked from qas612820704/studenpackfree.md
用學生信箱申請github提供的免費資源申請雲端主機(DigitalOcean+namecheap)

用學生信箱申請github提供的免費資源申請雲端主機(DigitalOcean+namecheap)

現在 github 有提出一系列對學生的優惠服務 詳情請點這裡

只要你是學生(擁有內含edu的信箱 ex:XXXXXX@mail.nchu.edu.tw)

如果你是學生又是黑客的話,就讓我們來申請吧!

Part I Get Student pack

@kamitom
kamitom / .git-commit-template.txt
Created February 12, 2019 09:09 — forked from jmaxhu/.git-commit-template.txt
一份建议的git commit模板
# <类型>: (类型的值见下面描述) <主题> (最多50个字)
# 解释为什么要做这些改动
# |<---- 请限制每行最多72个字 ---->|
# 提供相关文章和其它资源的链接和关键字
# 例如: Github issue #23
# --- 提交 结束 ---
# 类型值包含
@kamitom
kamitom / update-ca-certificates.md
Created March 15, 2019 05:52 — forked from epcim/update-ca-certificates.md
trusted certificates system update-ca-certificates

Adding trusted root certificates to the server

Mac OS X

sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/new-root-certificate.crt
sudo security delete-certificate -c "<name of existing certificate>"

Windows

certutil -addstore -f "ROOT" new-root-certificate.crt

@kamitom
kamitom / openbalena-start.md
Created March 20, 2019 08:24 — forked from dansku/openbalena-start.md
openBalena VPS Configuration

Locally installing to a server

Pre-requisites

# /etc/systemd/system/docker.service.d/override.conf
[Service]
@kamitom
kamitom / curl.md
Created April 27, 2019 14:49 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@kamitom
kamitom / mediumUsersFollowedByCount.js
Created January 16, 2022 11:06 — forked from newhouse/mediumUsersFollowedByCount.js
Medium API: get number of followers for User
/**
* Example of how to get the number of followers for a Medium.com User.
*
*
* Related links:
* https://github.com/Medium/medium-api-docs/issues/30#issuecomment-227911763
* https://github.com/Medium/medium-api-docs/issues/73
*/
// LODASH