Skip to content

Instantly share code, notes, and snippets.


LXFY luoxufeiyan

View GitHub Profile
luoxufeiyan /
Last active Feb 22, 2020
Rescale between laptop built-in monitor and external hi-dpi monitor
# Ref:
xrandr --query | grep ' connected' | grep 2560 > /dev/null
if [ $result -ne 0 ]; then
# HD
# gsettings set org.gnome.nautilus.icon-view default-zoom-level standard
# gsettings set org.gnome.desktop.interface cursor-size 24
luoxufeiyan /
Created Dec 18, 2019
Automatically Backup Dokuwiki Data Using Shell Script
# Automatically Backup Dokuwiki Data Using Shell Script
# $Id: 328 2004-12-22 13:15:20Z dp $
# Original script:
# Blog post:
# config
WIKIPATH="/var/www/" # path to your wiki data directory, no symbolic links are allowed!
# for debian etch: /var/lib/dokuwiki
luoxufeiyan / tv.bilibili.player.xml
Last active Jul 18, 2017
View tv.bilibili.player.xml
<item enabled="true">u=dbaa1002</item>
<item enabled="true">u=1834340f</item>
<item enabled="true">u=bd4f7193</item>
<item enabled="true">u=285a2b69</item>
<item enabled="true">u=0bdffb47</item>
<item enabled="true">r=失踪人口|人口回归|完结撒花|高产|^高产似|发来贺电$|报道$|火钳刘明|刘明$|先投再看|再看|个小伙伴|考古</item>
<item enabled="true">r=前方|高能|核能|屏蔽|弹幕|字幕|檀木</item>
<item enabled="true">r=空耳|空耳君|空耳菌</item>
<item enabled="true">r=我要学|^教练,我要学|我想学</item>

Keybase proof

I hereby claim:

  • I am luoxufeiyan on github.
  • I am lxfy ( on keybase.
  • I have a public key whose fingerprint is ED2E 36B0 6131 8D06 D0CC 74E2 008C 2DB5 CF1F A5FA

To claim this, I am signing this object:

You can’t perform that action at this time.