本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
lain.church
說明
註冊
登入
whiteline
/
Scripts
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
migrating all my scripts to zsh
master
whiteline
1 年之前
父節點
3020a3007a
當前提交
d7ca2cf1ee
共有
12 個檔案被更改
,包括
12 行新增
和
12 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
N33R_status.sh
+1
-1
battery_monitor.sh
+1
-1
browse_source.sh
+1
-1
coding-terminal
+1
-1
disable_internet.sh
+1
-1
float_xinput_device.sh
+1
-1
gitlab.lain.la.auth.sh
+1
-1
host-cwd.sh
+1
-1
lainstream
+1
-1
weather
+1
-1
youtube-mp3
+1
-1
youtube-mp3-album
+ 1
- 1
N33R_status.sh
查看文件
@@ -1,2 +1,2 @@
#!/bin/
ba
sh
#!/bin/
z
sh
sudo nmap minecraft.youdieifyou.work -PN -n -sV -p minecraft
+ 1
- 1
battery_monitor.sh
查看文件
@@ -1,3 +1,3 @@
#!/bin/sh
#!/bin/
z
sh
BATTERY_PATH="/sys/class/power_supply/BAT1"
watch -tn 1 "cat $BATTERY_PATH/status && cat $BATTERY_PATH/capacity"
+ 1
- 1
browse_source.sh
查看文件
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
highlight -O ansi $1 | less -R
+ 1
- 1
coding-terminal
查看文件
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/
z
sh
#xrdb -merge ~/.Xresources.green
urxvt -fn xft:inconsolata-26:hinting=false -letsp 1 -im none -b 26 &
#xrdb -merge ~/.Xresources
+ 1
- 1
disable_internet.sh
查看文件
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
newgrp no-internet
+ 1
- 1
float_xinput_device.sh
查看文件
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
xinput --float `xinput | grep "$1" | grep -o 'id=[[:digit:]]\+' | cut -d'=' -f2`
+ 1
- 1
gitlab.lain.la.auth.sh
查看文件
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
age -d gitlab.lain.la.token.encrypted | oathtool -b --totp -
+ 1
- 1
host-cwd.sh
查看文件
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
ruby -run -e httpd . -p 8080 --bind-address=192.168.1.2
+ 1
- 1
lainstream
查看文件
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
exec mpv https://lainchan.org:8080/hls/stream.m3u8
+ 1
- 1
weather
查看文件
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
curl wttr.in/`echo $* | sed 's/ /%20/g'`
+ 1
- 1
youtube-mp3
查看文件
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
yt-dlp --extract-audio --audio-format mp3 -f best -o "%(playlist_index)s - %(title)s.%(ext)s" $1
+ 1
- 1
youtube-mp3-album
查看文件
@@ -1,2 +1,2 @@
#!/bin/sh
#!/bin/
z
sh
yt-dlp --extract-audio --split-chapters --audio-format mp3 -f best -o "chapter:%(section_number)s - %(section_title)s.%(ext)s" $1
Write
Preview
Loading…
取消
儲存