- 安裝至 local
wget -q -O /usr/local/bin/verify https://git.io/DL
chmod 755 /usr/local/bin/verify
- 直接使用
wget -q -O verify.sh https://git.io/DL
chmod +x verify.sh
Make Telegram World Better!
- Fork this gist (If you don't have GitHub account, just skip this step)
- Translate Play Store listing (Title and Description)
- Please come here to translate/improve translations.
- About section in this app (5. about.json)
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
#!/usr/bin/env python3 | |
# | |
# Google Live Photo extractor | |
# Extracts static photo and video from the live photo taken by Google Camera | |
# | |
# Usage: | |
# $ googlelive_extract.py <image.jpg> | |
# | |
# Creates two new files - image_static.jpg and image_video.mp4 | |
# |
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
var checkSheet = 'Seat'; | |
function onEdit(e) { | |
if (e.source.getSheetName() == checkSheet) | |
checkDuplicates(); | |
} | |
function checkDuplicates() { | |
var sheet = SpreadsheetApp.getActiveSpreadsheet(); | |
var dataRange = sheet.getDataRange(); |
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
## AWS | |
# Amazon Web Services (No Header Required) | |
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
http://169.254.169.254/latest/user-data | |
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME] | |
http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME] | |
http://169.254.169.254/latest/meta-data/ami-id | |
http://169.254.169.254/latest/meta-data/reservation-id | |
http://169.254.169.254/latest/meta-data/hostname | |
http://169.254.169.254/latest/meta-data/public-keys/0/openssh-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
// ==UserScript== | |
// @name NCTU Score Prettifier | |
// @author Sean | |
// @version 1 | |
// @grant none | |
// @include https://regist.nctu.edu.tw/p_student/* | |
// ==/UserScript== | |
var grid = document.getElementById("GridView1"); | |
var rows = grid.firstElementChild.children; |
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
from PIL import Image | |
from sys import argv | |
if len(argv) == 1: | |
print("Usage: %s file1.ppm [file2.png file3.gif ...]" % argv[0]) | |
quit() | |
for arg in argv[1:]: | |
ext = arg[-4:] | |
name = arg[:-4] |
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
12345678 Advanced | |
Testkey1 Hello CS | |
00000000 Galois!! | |
STANDARD Classics | |
Learning 12345678 | |
Enigma!! security |
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
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
cd "$(dirname "$0")" || exit 1 | |
main() { | |
while true; do | |
ans="$((16#$(openssl rand -hex 4) % 101))" | |
echo -n " > " | |
say -v Thomas "$ans" | |
say -v Amélie "$ans" |