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
// gcc -Wall tracker_log_analyzer.c && ./a.out | sort | uniq -c | sort -nr > rank.txt | |
#include<stdio.h> | |
#include<stdlib.h> | |
#include<string.h> | |
#include<ctype.h> | |
#define BUF_SIZE (1024 * 64) | |
#define PREFIX "info_hash=" |
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 -e | |
AUTH_KEY='' | |
QQ='' | |
SESSION_KEY="$(http :8080/auth "authKey=${AUTH_KEY}" | jq -r .session)" | |
[ "$(http :8080/verify "sessionKey=${SESSION_KEY}" "qq=${QQ}" | jq '.code')" = 0 ] || exit 1 | |
echo "SESSION_KEY=${SESSION_KEY}" |
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 -e | |
SRC=source | |
MARGIN=5 | |
WIDTH=512 | |
HEIGHT=512 | |
function step() { | |
PREV="$1" | |
CURR="$2" |
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
setting: | |
source: | |
dir: src | |
format: jpg | |
output: | |
dir: _output | |
format: jpg | |
height: 1920 | |
width: 1350 | |
digits: 3 |
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/bash -e | |
# 用于在维护后启动 TFCLOUD 实例的脚本 | |
# 获取更新:https://gist.github.com/vizv/e55741af2b16acad861a424549bae520 | |
# boot.sh Copyright (C) 2020 Viz <viz@linux.com> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |
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/bash | |
[ $# -eq 1 ] || { echo "Usage: $0 URL" >&2; exit 1; } | |
GD_DIR_MIME='application/vnd.google-apps.folder' | |
JQ_COND_DIR="select(.mimeType == \"${GD_DIR_MIME}\")" | |
JQ_COND_FILE="select(.mimeType != \"${GD_DIR_MIME}\")" | |
URL="${1%/}" |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDVbeZcLeYUjeBQdWBIw0/+3dNshXMC9oeszs5MAf4Mm0F/VlDxouZjJ84fI6JXtlLOpRBEJ6ZT8lUG3V6ELwCVXoa2FYVWU4FxhBuVascEFrXjBqaF0LlhmSgQmknrsx/Q6lVOVKjUs6cK6KHPVBOf7tv3v5kpinl8vyKeein3fKm1tAjTIIDtv6DFp8XFbN3UKltDJF1PJfaDLUhH/0TIePQSE6jNI2A70viJEBW1N/28/vj8ZMQ8hUk2nfMM0d+PDK1a2TS2SzMh5VjTxQPfElM68uf65qiukQdm+dUtncs66e2jjV1dGat88cffwgVLXUYRfby+bCzJ/meHTHXpb1TaQN+I4wgTqyFw4mdY8ujAifceCk5MLffjKTuurXh5Her75Ntrex0YOHk+zqUTs7y5XyJ+Y1rCiUystqrU+YhXBhrr3K+PXH4L7iz2N9A3dLbrQ/mxfPQ8PN+ApxJGFMiT5rZj7RtmVsmDExGaq5v6bAaKGln2Ml+4CkF20kSaimChEgc3Zn/U6XSCwzFOQAttPB1pByluHoJ26KjXBqqQNhuBsXEpFJ9nN3UQ1PJV1TPkE2znmsvlcgX10ZRPHs/UPyAM/8AHfsgOktkAlst6b7hgy6rk+EPhIjLz0l+r4Ckh0tJorhskHnV7KRB/fPZ/8yAOQ82xhZjFKdG8lw== viz |
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 -e | |
# preflight & usage | |
CMD="$1" | |
FILE="$2" | |
[ -z "$CMD" ] || [ -z "$FILE" ] && { | |
cat >&2 <<EOF | |
usage: $(basename "$0") encode FILE | |
$(basename "$0") decode FILE | |
EOF |
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
// ==UserScript== | |
// @name Outlook Notification | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Send desktop notification from Outlook Web Application | |
// @author Wenxuan Zhao | |
// @match https://outlook.office.com/mail/inbox | |
// @iconURL http://ow2.res.office365.com/owamail/2019031801.04/resources/images/favicons/mail-seen.ico | |
// @updateURL https://gist.githubusercontent.com/vizv/0a2b53d4c15569020152aa52e43fd0cb/raw/outlook-notification.js | |
// @grant GM_notification |
This file has been truncated, but you can view the full file.
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
hQIMA0kOatb/vzB7AQ/9HGB+i5kpm7KAhnLFxi95BS362YikIkGdQVddHyrqVy+1a9avobZWLQrc | |
Eu5PzQSYJ/Q921U2t6qv+bIxpmg2QJPemrtYTJllgsjudmpLoxezCoegopTpTvNS+mUmZXcxDz1D | |
33RexC49TUZg6kXe3AfMMO6KLjDdsz7jSN56HV2WeiXttqSOIzmsY+G1SZyWkRZKZmv6KOCCzjId | |
sIoDOaFTlqBZ15bdyp+4NTwwTk63N9M8JIh2NPSAOf7lxLVmGrwEd2Ul1+dRg75FRPOin7GygCaR | |
jMvYDlnkICMA5aiQYZmu24BKL4xl3qfg+Xv3DiLyH28ogSYShlHRSBO6J8IDFLbe1CUlZ48zjOlU | |
bvzVCR/xP+uqO8w1Ugl5z24TGxJ0qnjDa/r97cj1jCUbk7f28/QR08RT6nYB3Rgs4o2u5u83Ylrk | |
NiySfunKes54BWrwbvuDdmIZNBGP8OV3QA18h/V/UH0V9Trr/NxY5hIdiiexjD2uYWaQRHQPJouW | |
XHLEkserjTzKlFJTO7kjwF/D4ASBTxEnZYzPSGVRTJAeBF5pd5RahfpQGmCVzBnDg7OkzRbq5QKM | |
aP3+nSB/h7GZU3oG0QkY/xDTNOp+bRp0pXzqFewqYWxxAUclgD+bM8zeajyG6eiShwv23rQu1j6z | |
UoeIpxwADee4BPi7/6XS7QHJzMb27E5ChtTX6oWS+h9VP4yG8fBPWz0XVgEi+i/emjUFHFOBjtg6 |