Skip to content

Instantly share code, notes, and snippets.

View yuzhi535's full-sized avatar
😺
Focusing

栗悟饭とカメハメ波 yuzhi535

😺
Focusing
View GitHub Profile
@yuzhi535
yuzhi535 / kitty_notification.sh
Last active January 26, 2025 03:21
kitty_notification.sh
#!/bin/bash
# 设置默认值
function show_notification() {
local message="$1"
kitten notify "kitty notification" "$message"
}
@yuzhi535
yuzhi535 / zplug.zsh
Created August 15, 2024 14:44
zplug initialization script
#!/bin/zsh
#
#
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
echo "source ~/.zplug/init.zsh" >> ~/.zshrc
echo "zplug load" >> ~/.zshrc
source ~/.zshrc
@yuzhi535
yuzhi535 / cv.txt
Last active February 29, 2024 06:34
scholar boost
! name: Scholar Boost for cv
! description: Boost websites which provide scholarly and/or research papers for computer vision.
! public: true
! author: yuzhi535
! homepage: https://gist.githubusercontent.com/yuzhi535/f394f1123804917118a885c64f92c7ec/raw/f36ab2d897b16e3f960d8ca6d887152eeb01fee7/cv.txt
! avatar: #ca0800
openreview.net$boost=15
thecvf.com$boost=15
arxiv.org$boost=15
@yuzhi535
yuzhi535 / latex.yml
Created May 19, 2023 13:05
generate latex pdf workflow (chinese)
name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
@yuzhi535
yuzhi535 / aria2.conf
Created February 13, 2023 01:48
my aria2.conf
## Basic ###
# The directory to store the downloaded file.
dir=${HOME}/Downloads
# Downloads the URIs listed in FILE.
input-file=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to FILE on exit.
save-session=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0
save-session-interval=60
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5
@yuzhi535
yuzhi535 / coco.sh
Last active November 2, 2022 02:08 — forked from mkocabas/coco.sh
Download COCO dataset. Run under 'datasets' directory.
mkdir coco
cd coco
mkdir images
cd images
wget -c http://images.cocodataset.org/zips/train2017.zip
wget -c http://images.cocodataset.org/zips/val2017.zip
wget -c http://images.cocodataset.org/zips/test2017.zip
wget -c http://images.cocodataset.org/zips/unlabeled2017.zip
@yuzhi535
yuzhi535 / clash.yaml
Created August 21, 2022 11:06
my clash configuration
port: 30144
socks-port: 30145
allow-lan: true
mode: Rule
log-level: info
external-controller: :9090
# DNS server settings
# This section is optional. When not present, the DNS server will be disabled.
dns:
var GB2260 = {
"110000": "北京市",
"110100": "北京市市辖区",
"110101": "北京市东城区",
"110102": "北京市西城区",
"110103": "北京市崇文区",
"110104": "北京市宣武区",
"110105": "北京市朝阳区",
"110106": "北京市丰台区",
"110107": "北京市石景山区",
@yuzhi535
yuzhi535 / Activate Office 2019 for macOS VoL.md
Created July 11, 2022 08:07 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@yuzhi535
yuzhi535 / gist:f8ed799c572b8fe01438d6b65192102d
Created April 19, 2022 07:34
can't hide magisk on xiaomi eu
answer: close MIUI optimization
方法:关掉MIUI优化