Skip to content

Instantly share code, notes, and snippets.

View liaowang11's full-sized avatar
🎯
Focusing

Wang Liao liaowang11

🎯
Focusing
  • Alibaba
  • Hangzhou
View GitHub Profile
@liaowang11
liaowang11 / dracula.css
Created June 8, 2025 17:01
Tridactyl Custom Colorscheme
:root {
/* Dracula Colors */
--bg: #282a36;
--currentline: #44475a;
--fg: #f8f8f2;
--comment: #6272a4;
--cyan: #8be9fd;
--green: #50fa7b;
--orange: #ffb86c;
--pink: #ff79c6;
This file has been truncated, but you can view the full file.
@font-face {
font-family: "IosevkaTermSS14NerdFont";
font-style: normal;
font-weight: 400;
src: url(data:font/ttf;charset-utf-8;base64,AAEAAAASAQAABAAgR0RFRu7Io3gALftQAAAJVEdQT1Nsfzw2AC7foAAFkCxHU1VCNU0lFgAuBKQAANr6T1MvMpE4iToAAAGoAAAAYFBmRWQW5NdDADRvzAAAAjhjbWFwPFaI9wABI5gAAC5qY3Z0IDMmFCIAAWD4AAAAyGZwZ22KwxsEAAFSBAAADhVnYXNwAAAAEAAt+0gAAAAIZ2x5Zm0wylMAAoN0ACeIdGhlYWTQ8dG3AAABLAAAADZoaGVhBTVH4gAAAWQAAAAkaG10eArCWoYAAAIIAAEhkGxvY2GpF/OgAAFhwAABIbRtYXhwS+MOhQAAAYgAAAAgbmFtZfXk9dgAKgvoAAAJ53Bvc3SDnMoeACoV0AAD5XdwcmVw/5SyzQABYBwAAADZAAEAAAAbTMz9zCaZXw889QAfA+gAAAAA4ULrPwAAAACO9FaA/DP9qQU6BKUAAAAAAAIAAQAAAAAAAQAAA8X+4wAAA+j8M/y6BToAAQAAAAAAAAAAAAAAAAAASFwAAQAASGwIzQBcATQAEgACAMABOACNAAABsgNIAAkAAgAEAfQBkAAFAAACmQLMAAAAjwKZAswAAAHrADMBCQgJAgAFCQMAAAAABOEAAv9QQP3/AwQAIAAAIAhVS1dOAcAADf//A8X+4wAAA8UBHSAAAR/EAAAAAggC3wAAACAAzAH0AEAAAAAAAAAAAAH0AAAB9AC0AfQAawH0AAcB9AA2AfQAGAH0ADcB9ADPAfQATgH0AIAB9AAmAfQAQAH0AJwB9ABAAfQArAH0ADsB9AA4AfQAIwH0AD4B9AA+AfQAOAH0AD8B9AA4AfQAQAH0ADgB9AA4AfQArAH0AJwB9ABAAfQAQAH0A
@liaowang11
liaowang11 / Snazzy.js
Last active September 19, 2021 05:55
Blink
foreground = '#eff0ea';
background = '#272935';
black = '#000000';
red = '#ff5b56';
green = '#5af78d';
yellow = '#f3f99c';
blue = '#57c7fe';
magenta = '#ff69c0';
cyan = '#9aedfe';
white = '#f1f1f0';
@liaowang11
liaowang11 / tcpdump IPv6 router advertisement
Created September 22, 2020 08:11 — forked from hgn/tcpdump IPv6 router advertisement
Capture of IPv6 advertisement message via tcpdump
@virgo:~ $ sudo tcpdump -vvvv -ttt -i eth1 icmp6 and 'ip6[40] = 134'
00:00:00.000000 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 200) fe80::b675:eff:fefa:1cb > ip6-allnodes: [icmp6 sum ok] ICMP6, router advertisement, length 200
hop limit 0, Flags [managed, other stateful], pref medium, router lifetime 1800s, reachable time 0s, retrans time 0s
source link-address option (1), length 8 (1): b4:75:0e:fa:01:cb
0x0000: b475 0efa 01cb
mtu option (5), length 8 (1): 1280
0x0000: 0000 0000 0500
prefix info option (3), length 32 (4): 2a01:ffff:43f::/64, Flags [onlink, auto], valid time 7200s, pref. time 1800s
0x0000: 40c0 0000 1c20 0000 0708 0000 0000 2a01
0x0010: ffff 043f 0000 0000 0000 0000 0000
#!/bin/bash
PROXY_BYPASS_USER="proxy"
PROXY_BYPASS_CGROUP="0x16200000"
PROXY_FWMARK="0x162"
PROXY_ROUTE_TABLE="0x162"
PROXY_DNS_SERVER="127.0.0.1:1053"
PROXY_FORCE_NETADDR="198.18.0.0/16"
PROXY_TUN_DEVICE_NAME="clash0"
#!/bin/bash
PROXY_BYPASS_USER="proxy"
PROXY_BYPASS_CGROUP="0x16200000"
PROXY_FWMARK="0x162"
PROXY_ROUTE_TABLE="0x162"
PROXY_DNS_SERVER="127.0.0.1:1053"
PROXY_FORCE_NETADDR="198.18.0.0/16"
PROXY_TUN_DEVICE_NAME="clash0"
@liaowang11
liaowang11 / README-Template.md
Created December 20, 2019 06:34 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@liaowang11
liaowang11 / README.md
Created April 2, 2019 05:40 — forked from bhb/README.md
Clojure friendly mode, inspired by https://github.com/slipset/friendly
@liaowang11
liaowang11 / frp systemd.md
Created October 10, 2018 07:28 — forked from ihipop/frp systemd.md
FRP systemd 启动脚本

/etc/systemd/system/frps.service

[Unit]
Description=FRP Server Daemon

[Service]
Type=simple
ExecStartPre=-/usr/sbin/setcap cap_net_bind_service=+ep /opt/bin/frps
ExecStart=/opt/bin/frps -c /opt/etc/frps.ini
Restart=always
@liaowang11
liaowang11 / .cvimrc
Last active May 7, 2018 16:47
cvimrc
set smoothscroll
set cncpcompletion
set nohud
set noregex
set insertmappings
set noautoupdategist
set typelinkhints
set noautofocus
set defaultnewtabpage
let scrollduration = 50