I hereby claim:
- I am RedL0tus on github.
- I am kaymw (https://keybase.io/kaymw) on keybase.
- I have a public key whose fingerprint is 39B2 9DC9 5B30 8595 FCED 14AE 547E 5906 116A 1966
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Year Progress | |
| export LENGTH=20; | |
| function GET_PERCENTAGE { | |
| local CURRENT_YEAR=$(date +%Y); | |
| if [ $((CURRENT_YEAR % 400)) -eq 0 ]; then | |
| local TOTAL_DAYS=366; | |
| elif [ $((CURRENT_YEAR % 100)) -eq 0 ]; then | |
| local TOTAL_DAYS=365; | |
| elif [ $((CURRENT_YEAR % 4)) -eq 0 ]; then |
| #!/usr/bin/env python3 | |
| #-*- encoding: utf-8 -*- | |
| # please install pytg and telegram-cli before running this script | |
| # pytg: https://github.com/luckydonald/pytg | |
| # telegram-cli: https://github.com/vysheng/tg | |
| from pytg import Telegram | |
| def main(): |
| { | |
| "against": [ | |
| "\u4e0d\u662f" | |
| ], | |
| "blacklist": { | |
| "chars": [ | |
| "\u200b" | |
| ], | |
| "ids": [] | |
| }, |
| #!/bin/bash | |
| # Ayy blyat! | |
| # Replace all f-words with "blyat". | |
| # set -x; | |
| declare -A WORDS; | |
| WORDS=( ["fuck"]="blyat" | |
| ["fucK"]="blyaT" |
| #!/usr/bin/env python3 | |
| # -*- encoding: utf-8 -*- | |
| # Telegram Spammer as a Service - Test how fast your anti-spam bot is | |
| # Copyright (C) 2018 Kay Lin <[email protected]> | |
| # 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 | |
| # (at your option) any later version. |
| #!/usr/bin/env python3 | |
| # -*- encoding: utf-8 -*- | |
| import time | |
| FIRST_NAME = '咸鱼' | |
| LAST_NAME = '@ %H:%M GMT' # Follow the rules of Python's strftime | |
| START_TIME = time.time() |
| [Unit] | |
| Description=Telegram nickname updater | |
| After=network-online.target | |
| [Service] | |
| User=yourname | |
| Type=oneshot | |
| WorkingDirectory=/path/to/updater | |
| ExecStart=/path/to/updater/venv/bin/python3 /path/to/updater/updater.py |
| #!/usr/bin/env run-cargo-script | |
| //! A verification of the question with boxes and balls. | |
| //! | |
| //! ```cargo | |
| //! [dependencies] | |
| //! rand = "0.6" | |
| //! num_cpus = "1.10" | |
| //! ``` | |
| extern crate rand; |
| const HTMLResponse = `<!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta name="description" content="白学家关起来"> | |
| <title>白学家关起来</title> | |
| </head> | |
| <body style="margin:0;padding:0;"> |