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)
#!/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" |
12345678 Advanced | |
Testkey1 Hello CS | |
00000000 Galois!! | |
STANDARD Classics | |
Learning 12345678 | |
Enigma!! security |
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] |
// ==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; |
## 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 |
var checkSheet = 'Seat'; | |
function onEdit(e) { | |
if (e.source.getSheetName() == checkSheet) | |
checkDuplicates(); | |
} | |
function checkDuplicates() { | |
var sheet = SpreadsheetApp.getActiveSpreadsheet(); | |
var dataRange = sheet.getDataRange(); |
#!/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 | |
# |
Make Telegram World Better!