I hereby claim:
- I am zwithz on github.
- I am zwithz (https://keybase.io/zwithz) on keybase.
- I have a public key ASBohE7FJ4boNS8J_aKjUnHqSPded8DrTNT9PgdLfsSraQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys
and look for sec
, use the key ID for the next stepgit
to use GPG -- replace the key with the one from gpg --list-secret-keys
// ==UserScript== | |
// @name flomo-evergreen-theme | |
// @version 0.5 | |
// @author zwithz | |
// @match https://flomo.app/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
// ==UserScript== | |
// @name custom-style-for-notion | |
// @version 0.1 | |
// @author zwithz | |
// @match https://www.notion.so/zwithz/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
div.notion-page-content div { | |
line-height: 1.9rem !important; | |
} | |
div.notion-page-content div.notion-record-icon { | |
margin-bottom: 8px !important; | |
} | |
div { | |
font-family: Lyon-Text, Georgia, YuMincho, "Yu Mincho", "Songti SC", SimSun, "Nanum Myeongjo", NanumMyeongjo, Batang, serif; |
h3 { | |
color: #000 !important; | |
} | |
.el-tooltip { | |
border-radius: 5px !important; | |
} | |
div.user { | |
justify-content: space-between; |
# extract ILSVRC2012 without killing your SSD | |
import tarfile | |
import os | |
import sys | |
def mkdir(x): | |
try: | |
os.makedirs(x) | |
except OSError, e: |
sudo apt-get install autoconf automake libtool curl make g++ unzip -y
git clone https://github.com/google/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
make
make check
sudo make install
sudo ldconfig
// Use @substats, a open source repo on @Github, to fetch all my social medias' stats | |
const url = "https://api.spencerwoo.com/substats/?source=weibo&queryKey=2028434647&source=twitter&queryKey=zwithz1998&source=jikeFollower&queryKey=e1377acb-40ed-495e-9a73-158273b4090a" | |
const req = new Request(url) | |
const json = await req.loadJSON() | |
const data = json.data.subsInEachSource | |
const twitterFollowers = data.twitter |