Skip to content

Instantly share code, notes, and snippets.

View Lax's full-sized avatar

Liu Lantao Lax

View GitHub Profile
@Lax
Lax / 3969-plan.json
Last active October 21, 2026 06:56
3969 明日方舟基建排班表 + 干员练度(2026-10-21 更新:B203 升三级,芬入第三席)
{
"advanced_settings": {
"assistant_follows_schedule": true,
"dorm_isolation": [],
"drone_count_limit": 20,
"drone_interval": 1,
"favorite": "",
"fia_fool": true,
"fia_threshold": 0.9,
"free_room": false,
@Lax
Lax / 116578641-plan.json
Last active October 22, 2026 04:45
116578641 明日方舟基建排班表 + 干员练度(2026-10-22 更新:截云入主表)
{
"advanced_settings": {
"assistant_follows_schedule": false,
"dorm_isolation": [],
"drone_count_limit": 100,
"drone_interval": 3,
"favorite": "",
"fia_fool": true,
"fia_threshold": 0.9,
"free_room": false,
@Lax
Lax / 2966810-plan.json
Last active October 21, 2026 07:02
2966810 明日方舟基建排班表 + 干员练度(2026-10-21 更新)
{
"advanced_settings": {
"assistant_follows_schedule": false,
"dorm_isolation": [],
"drone_count_limit": 30,
"drone_interval": 3,
"favorite": "",
"fia_fool": true,
"fia_threshold": 0.9,
"free_room": false,
@Lax
Lax / 30031-plan.json
Last active October 21, 2026 07:02
30031 明日方舟基建排班表 + 干员练度(2026-10-21 更新)
{
"advanced_settings": {
"assistant_follows_schedule": false,
"dorm_isolation": [],
"drone_count_limit": 100,
"drone_interval": 3,
"favorite": "",
"fia_fool": true,
"fia_threshold": 0.9,
"free_room": false,
@Lax
Lax / fcitx5-shuangpin-abc-cloudpinyin.md
Last active November 6, 2026 03:12
Omarchy on MacBook 系统环境配置:快捷键/亮度修复 / fcitx5 智能ABC双拼 / sshd 安全加固 / 双机互信 / Mac 双系统启动(Limine chainload macOS) / meowium(Gentoo) 屏保·锁屏·免密解锁全链路

fcitx5 双拼(智能ABC)+ 云拼音 + 动态词频配置实录

环境:Omarchy (Arch Linux) / fcitx5 5.1.22 / fcitx5-chinese-addons 5.1.14 目标:智能ABC 双拼方案、云拼音(GoogleCN 后端)、基于使用频率的动态词频调整

1. 安装

sudo pacman -S --needed fcitx5-chinese-addons fcitx5-lua
# 依赖自动带入:libime、opencc、marisa
@Lax
Lax / fix-gnome-settings-daemon-conflict.md
Last active July 10, 2026 13:19
Portage USE dependency IUSE validation issue - gnome-settings-daemon 48->49

Portage USE dependency IUSE validation issue — gnome-settings-daemon 48→49

Problem

sudo emerge -DNauvp @world showed:

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

gnome-base/gnome-settings-daemon:0
@Lax
Lax / server-1.conf
Last active January 4, 2021 06:33
User-Agent based ACL - conditional redirecting rules
log_format client_ip "$remote_addr";
map $http_user_agent $whitelist_ua {
default 1;
"~*curl" 0;
}
server {
listen 80;
@Lax
Lax / vue.config.js
Last active June 23, 2019 09:47
vue.config.js for Vue+Electron App https://liulantao.com/electron-vuejs.html
const path = require("path");
module.exports = {
pages: {
index: "src/renderer/main.js"
},
chainWebpack: config => {
config.resolve.alias.set("@", path.resolve(__dirname, "src/renderer/"));
config.resolve.alias.set(
"@components",
@Lax
Lax / use-https-for-github.sh
Created June 15, 2019 17:30
Force git to use https:// instead of git:// and ssh://
git config --global url."https://github.com/".insteadOf git@github.com:
git config --global url."https://github.com".insteadOf git://github.com

This is a quick set-up guide on how to install Icecast for Mp3 and Ogg streaming, sort of online radio. Tested on Debian Wheezy. Probably works on Ubuntu, etc. Icecast is a "server-like". It offers the HTTP URL/port through which end-users can play the media. However, Icecast itself does not serve the files. It must get its input from other "client-like" software. For example, Ices0 sends mp3 input to Icecast and then Icecast delivers to the end user. Similarly, Ices2 sends ogg input to Icecast and then Icecast delivers to the end user.

Set up icecast

Start by installing:

sudo apt-get install icecast2