Skip to content

Instantly share code, notes, and snippets.

View axionl's full-sized avatar
ArielAxionL is typing...

ArielAxionL axionl

ArielAxionL is typing...
View GitHub Profile
@axionl
axionl / sway config
Last active January 23, 2022 08:55
sway 1.7 release debug information
# Global Mod Key
set $mod Mod4
# Auto Start
exec mako
exec sworkstyle
exec wlr-gamma-service
exec across
exec telegram-desktop
exec fcitx5 --replace
title = "QRay Configuration Example"
config_version = "0.1.0"
# https://toml.io/en/v1.0.0
toml_version = "1.0.0"
[options]
[options.interface]
# ["en_US", "zh_CN"]
language = "en_US"
@axionl
axionl / unbound.conf
Created February 22, 2019 13:36 — forked from raymond-yn/unbound.conf
unbound.conf
#Use this to include other text into the file.
include: "/usr/local/etc/unbound/conf.d/*.conf"
forward-zone:
name: "."
forward-addr: 8.8.8.8
# The server clause sets the main parameters.
server:
# number of threads to create. 1 disables threading.
num-threads: 1
@axionl
axionl / PKGBUILD
Last active December 6, 2018 05:24
# Maintainer: Sherlock Holo <sherlockya(at)gmail.com>
# Contributors: Ariel AxionL <i [at] axionl [dot] me>
pkgbase='dns-over-https'
pkgname=('dns-over-https-client' 'dns-over-https-server')
pkgver=1.4.2
pkgrel=2
pkgdesc="Client and server software to query DNS over HTTPS, using Google DNS-over-HTTPS protocol"
url="https://github.com/m13253/dns-over-https"
arch=('x86_64')
@axionl
axionl / fonts.conf
Created November 26, 2018 10:18
.config/fontconfig/fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Default font (no fc-match pattern) -->
<match>
<edit mode="prepend" name="family">
<string>Noto Sans</string>
</edit>
</match>
<!-- Default font for the ja_JP locale (no fc-match pattern) -->
## fcitx5
GTK_IM_MODULE=fcitx5
QT_IM_MODULE=fcitx5
XMODIFIERS=@im=fcitx5
## program binary
# PATH="$HOME/.pyenv/bin:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/go/bin:/usr/lib/ccache/bin/:$PATH"
## make pkg cache
CCACHE_DIR=/tmp/ccache
@axionl
axionl / tmux-cheatsheet.markdown
Created September 14, 2018 06:03 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
NextSeqNum = InitialSeqNumber
SendBase = InitialSeqNumber
loop (forever) {
switch(evnet)
event: data received from application above
// create TCP segment with sequence number NextSeqNum
if (timer currently not running)
start timer
// pass segment to IP
@axionl
axionl / SieloBrowser-PKGBUILD
Last active July 1, 2018 18:18
SieloBrowser-PKGBUILD
# Maintainer: Ariel AxionL <axionl@aosc.io>
pkgname=sielo-browser-git
_pkgname=sielo-browser
pkgver=r1071.0787986
pkgrel=1
pkgdesc="A simple, customizable and fast web browser"
arch=('x86_64')
depends=('qt5-base' 'qt5-webengine')
makedepends=('git' 'cmake' 'imagemagick'
'qt5-webchannel' 'qt5-location' 'qt5-declarative')
@axionl
axionl / .cargo_config
Last active December 7, 2018 15:39
My common config
[source.crates-io]
replace-with = 'ustc'
[source.ustc]
registry = "https://mirrors.ustc.edu.cn/crates.io-index"