Skip to content

Instantly share code, notes, and snippets.

View bertjiazheng's full-sized avatar
👋

Jia Zheng bertjiazheng

👋
View GitHub Profile
@bertjiazheng
bertjiazheng / clash.md
Created October 28, 2024 13:24 — forked from jw-foss/clash.md
Installing clash proxy with command line on Linux distros

How to install clash on POSIX system with command line.

Pre-request: You need to know which executable your distro can run without complaining.

  1. Go to https://github.com/Dreamacro/clash/releases to find the latest or the version you desired.
  2. Find the correct distro version, for example, if you are running a distro with arm64 archtecture, you should download the one with armv8 suffix.
  3. Download the executables with curl or wget at your wish.
$ curl -O [url/to/clash]
@bertjiazheng
bertjiazheng / PY-Drawing3D.ipynb
Created October 31, 2022 13:12 — forked from WetHat/PY-Drawing3D.ipynb
Matplotlib: 3D Arrows and 3D Annotations
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bertjiazheng
bertjiazheng / ieee_fullname.bst
Created September 29, 2020 10:30 — forked from Randl/ieee_fullname.bst
CVPR bibliography with natbib support
% Fixed extra right bracket
%
% Evgenii Zheltonozhskii, 09/28/2020, [email protected]
%
% ---------------------------------------------------------------
% Modified CVPR ieee_fullname.bst to support natbib
%
% Evgenii Zheltonozhskii, 03/10/2019, [email protected]
%
% ---------------------------------------------------------------
@bertjiazheng
bertjiazheng / gans_vs_deep.py
Created September 18, 2018 10:56 — forked from jponttuset/gans_vs_deep.py
Scrape Paper Titles from CVF Open Access and Plot Evolution of GANs vs Deep in XKCD Style
import matplotlib.pyplot as plt
def get_percent_from_files(confs, keywords):
percents = []
for conf in confs:
file = open('titles/'+conf+'.txt', 'r')
all_titles = [line.rstrip('\n') for line in file.readlines()]
file.close()
count = 0