I hereby claim:
- I am Equim-chan on github.
- I am ekyu (https://keybase.io/ekyu) on keybase.
- I have a public key whose fingerprint is B994 2CBB E0A4 CAE1 3F04 73C0 0534 B6F8 97D2 68E7
To claim this, I am signing this object:
#!/bin/sh | |
echo "******************************" | |
echo "* Equim's onekey-backup tool *" | |
echo "******************************" | |
read -p "接下来要对全盘进行物理备份,是否继续? [y\N] " | |
if [ "$REPLY"x == "yx" ]; then | |
TODAY=$(date +%y%m%d) | |
UPLOADER="/home/Equim/tools/bpcs_uploader/bpcs_uploader.php" |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# 饥荒简易启动脚本,附关闭与状态查询 | |
# by Equim | |
# on 17-07-01 | |
# 饥荒的安装路径 | |
INSTALLED_PATH="$HOME/Steam/steamapps/DST" | |
# Cluster 所在目录 | |
CLUSTER_PATH="$HOME/.klei/DoNotStarveTogether" | |
# 保存 PID 的目录 |
#!/usr/bin/env python | |
from operator import add, mul | |
from functools import reduce | |
def ncr(n, r): | |
''' | |
From https://stackoverflow.com/a/4941932 | |
''' | |
r = min(r, n-r) |
30 fu 30 fu | |
------------------------- ---------------------- | |
10 (3,5|11) [14,16|20] 15 (5) [20|30] | |
20 (5,10) [25,30|40] 29 (10|30) [40|58] | |
39 (10,20|40) [50,60|78] 58 (20|60) [80|116] | |
77 (20,39|79) [99,118|154] 116 (39|117) [156|232] | |
80 (20,40) [100,120|160] 120 (40) [160|240] | |
120 (30,60) [150,180|240] 180 (60) [240|360] | |
.. .. | |
160 (40,80) [200,240|320] 240 (80) [320|480] |
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"time" | |
"httptimer" | |
) |
#!/bin/bash | |
# Installation: | |
# | |
# 1. vim /etc/ssh/sshd_config | |
# PrintMotd no | |
# | |
# 2. vim /etc/pam.d/login | |
# # session optional pam_motd.so | |
# |
This document describes an SOP for archiving a YouTube livestream, either public or private.
The demonstrations below are operated under Arch Linux, but it should work on other systems as well, including Windows MSYS2.
This SOP was originally written for archiving Gawr Gura’s unarchived streams.