Skip to content

Instantly share code, notes, and snippets.

View clansty's full-sized avatar
🐱
nyanyan~

凌莞~(=^▽^=) clansty

🐱
nyanyan~
View GitHub Profile
.bar {
--speed-factor: calc(1.5);
--speed-factor2: calc(100);
// 一条文字的宽度,包括 padding
--text-w: 330;
// 屏幕小会重叠,所以我们不能用屏幕宽度,我们要用所有字加起来的宽度
--single: calc(var(--text-w) * 10);
@clansty
clansty / activate-notification.applescript
Created April 2, 2022 13:26
用快捷键打开通知
tell application "Finder"
set screenResolution to bounds of window of desktop
end tell
set screenWidth to item 3 of screenResolution
tell application "System Events"
click at {screenWidth - 100, 100}
end tell
@clansty
clansty / nuist-avatar.user.css
Created February 10, 2022 06:12
i.nuist.edu.cn 头像
div.smallp-img {
background: url(https://cdn.lwqwq.com/pic/338886_dOfhnpC7.webp) !important;
background-size: cover !important;
}
pacstrap /mnt base base-devel linux-zen linux-zen-headers linux-firmware vim dhcpcd openssh
ln -s /usr/bin/vim /usr/bin/vi
# systemd-boot
bootctl --path=/boot install
bootctl update
vi /boot/loader/entries/arch.conf
# 全套 cjk 字体