cd /tmp
# 编译环境准备&安装依赖包
apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev asciidoc xmlto git
# 克隆源码
git clone https://github.com/shadowsocks/shadowsocks-libev.git
# 开始编译
Save $25 for your Cloud Computing Solution with Digital Ocean.
1.) Use this link to Sign Up and save your first $10.
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/bash | |
method=$1 | |
ss-tunnel -k test -m $method -l 8387 -L 127.0.0.1:8388 -s 127.0.0.1 -p 8389 & | |
ss_tunnel_pid=$! | |
ss-server -k test -m $method -s 127.0.0.1 -p 8389 & | |
ss_server_pid=$! | |
iperf -s -p 8388 & |
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
from sys import argv | |
import requests | |
import json | |
import os | |
import itertools | |
endpoint_url = "https://ssl.seiga.nicovideo.jp" | |
OUT_DIR = "out" | |
# endpoint + "/api/v1/comicwalker/episodes/" + episode_id + "/frames" |
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
/** | |
* 新浪微博mid与url互转实用工具 | |
* 作者: XiNGRZ (http://weibo.com/xingrz) | |
*/ | |
var WeiboUtil = { | |
// 62进制字典 | |
str62keys: [ | |
"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", | |
"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", |
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
FROM python:3.7-alpine | |
EXPOSE 8000 | |
WORKDIR /app | |
COPY . . | |
RUN apk add --update --no-cache --virtual .build-deps \ | |
g++ \ | |
python-dev \ | |
libxml2 \ | |
libxml2-dev && \ |
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
星空のメモリア考察 | |
本編は普通って感じだったがEternal Heartやったらすごくお気に入りになった。多分夢アフターが人生(CLANNAD AfterStory)だからだと思うんだけど。 | |
いっこ気になったので考察書いてみる。 | |
・別のルートの結果(メアアフター含む)が夢アフターに平然と出てくるのはなぜか | |
ぶっちゃけ一番まともな解は「そこまで細かくシナリオライターが考えてない」って事なんだろうけど、もうちょっと違った視点で見てみる。 |