环境:Omarchy (Arch Linux) / fcitx5 5.1.22 / fcitx5-chinese-addons 5.1.14 目标:智能ABC 双拼方案、云拼音(GoogleCN 后端)、基于使用频率的动态词频调整
sudo pacman -S --needed fcitx5-chinese-addons fcitx5-lua
# 依赖自动带入:libime、opencc、marisa| log_format client_ip "$remote_addr"; | |
| map $http_user_agent $whitelist_ua { | |
| default 1; | |
| "~*curl" 0; | |
| } | |
| server { | |
| listen 80; |
| 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", |
| 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.
Start by installing:
sudo apt-get install icecast2
| version: "3.2" | |
| services: | |
| shadowsocks: | |
| image: centos | |
| ports: | |
| - 2048:2048 | |
| restart: always | |
| command: bash -c "yum install python-setuptools -y && easy_install pip && pip install shadowsocks && ssserver -p 2048 -k ${PASSWORD:-DEFAULT_PASSWORD} -t 300 --fast-open --workers 3 -m aes-256-cfb --user nobody" |
sudo nginx
# Start the server. If it's already started you'll see
# a bunch of "bind" errors. If you want to restart you
# should do a "-s quit" first.
sudo nginx -s stop
# Stop the server quickly. (Sends the SIGTERM signal.)
| +--------+------+------------+ | |
| | public | Desc | Membership | | |
| +========+======+============+ | |
| | | | | | |
| +--------+------+------------+ | |
| | | | | | |
| +--------+------+------------+ |