abbr | full name |
---|---|
addr | Address |
adm | Administrator |
app | Application |
arg | Argument |
asm | assemble |
asyn | asynchronization |
avg | average |
DB | Database |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#EXTM3U name="bj-unicom-iptv" | |
#EXTINF:-1,CCTV1 | |
rtp://239.3.1.1:8000 | |
#EXTINF:-1,CCTV2 | |
rtp://239.3.1.2:8004 | |
#EXTINF:-1,CCTV4 | |
rtp://239.3.1.4:8216 | |
#EXTINF:-1,CCTV7 | |
rtp://239.3.1.7:8024 | |
#EXTINF:-1,CCTV9 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
TARGET="/data/BTSync/ws/" | |
# config | |
ARCHIVE_LINE=`awk '/^__ARCHIVE_CONTENT__/ {print NR+1;exit 0;}' "$0"` | |
tail -n+$ARCHIVE_LINE "$0" | xargs -I{} echo "rsync -aviP {} ${TARGET}" | sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = | |
email = | |
[core] | |
editor = vim | |
autocrlf = input | |
excludesfile = ~/.gitignore_global | |
[color] | |
diff = auto | |
status = auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local key = KEYS[1] | |
if redis.call('EXISTS', key) == 1 then | |
local r = 0 | |
for i, v in ipairs(ARGV) do | |
if redis.call('SISMEMBER', key, v) == 1 then | |
r=r+1 | |
end | |
end | |
return r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Apply OS updates and make bash the default shell (reboot required) | |
sudo apt-get update && sudo apt-get -y dist-upgrade && sudo rm -f /bin/sh && sudo ln -sf bash /bin/sh && sudo reboot | |
### Install Linux kernel headers and essential development tools | |
sudo apt-get update && sudo apt-get -y install git build-essential linux-headers-$(uname -r) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0. 安装 | |
# 启动时选择第二项boot(non-free),Manjaro自带的驱动精灵会帮你安装好所需驱动,笔记本双显卡则会帮你安装bumblebee | |
driver boot(non-free) | |
如果是WIndows+Manjaro双系统安装, | |
步骤可以参考:https://my.oschina.net/langxSpirit/blog/1633384 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- HTTP POST script which simulates a file upload | |
-- HTTP method, body, and adding a header | |
-- See https://tools.ietf.org/html/rfc1867 | |
function read_txt_file(path) | |
local file, errorMessage = io.open(path, "r") | |
if not file then | |
error("Could not read the file:" .. errorMessage .. "\n") | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: shadowsocks server | |
# Required-Start: $local_fs $remote_fs $named $network $time | |
# Required-Stop: $local_fs $remote_fs $named $network $time | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 | |
# Short-Description: Shadowsocks server | |
# Description: Shadowsocks proxy server | |
### END INIT INFO |
NewerOlder