This file contains hidden or 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 | |
set -e -o pipefail | |
wget -O- 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | \ | |
awk -F\| '/CN\|ipv4/ { printf("%s/%d\n", $4, 32-log($5)/log(2)) }' |
This file contains hidden or 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
version: '3' | |
services: | |
web: | |
image: nginx | |
volumes: | |
- .:/usr/share/nginx/html | |
ports: | |
- "8080:80" |
This file contains hidden or 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
pkgname=npm | |
pkgver=5.0.4 | |
pkgrel=0 #temp version | |
pkgdesc='A package manager for javascript' | |
arch=('any') | |
url='https://www.npmjs.com/' | |
license=('custom:Artistic') | |
depends=('nodejs' 'semver') | |
provides=('nodejs-node-gyp') | |
makedepends=('procps-ng' 'marked-man' 'npm') |
This file contains hidden or 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 /etc/rc.common | |
# | |
# Copyright (C) 2016 Jian Chang <[email protected]> | |
# | |
# This is free software, licensed under the GNU General Public License v3. | |
# See /LICENSE for more information. | |
# | |
START=90 | |
STOP=15 |
This file contains hidden or 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/fish | |
for packageName in (cat packages.txt) | |
echo 正在限制 $packageName 的自动唤醒 | |
adb shell cmd appops set $packageName RUN_IN_BACKGROUND ignore | |
end |
This file contains hidden or 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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<alias binding="strong"> | |
<family>sans-serif</family> | |
<prefer> | |
<family>Roboto</family> | |
<family>Source Han Sans SC</family> | |
</prefer> | |
</alias> |