We can now drop the GET
version of DuckDuckGo, such as
https://duckduckgo.com/?q=%s
and adopt the POST
version below.
#!/bin/bash | |
# Installation: | |
# | |
# 1. vim /etc/ssh/sshd_config | |
# PrintMotd no | |
# | |
# 2. vim /etc/pam.d/login | |
# # session optional pam_motd.so | |
# |
#!/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" |
#!/bin/bash | |
# 饥荒简易启动脚本,附关闭与状态查询 | |
# by Equim | |
# on 17-07-01 | |
# 饥荒的安装路径 | |
INSTALLED_PATH="$HOME/Steam/steamapps/DST" | |
# Cluster 所在目录 | |
CLUSTER_PATH="$HOME/.klei/DoNotStarveTogether" | |
# 保存 PID 的目录 |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"time" | |
"httptimer" | |
) |
#!/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] |
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.