Skip to content

Instantly share code, notes, and snippets.

View EYHN's full-sized avatar
๐ŸŽฏ
Focusing

EYHN EYHN

๐ŸŽฏ
Focusing
View GitHub Profile
@EYHN
EYHN / EYHN's GitHub Stats
Last active September 5, 2025 08:06
๐Ÿ’ช๐Ÿป History of GitHub
โญ Total Stars: 6.2k
โž• Total Commits: 14.7k
๐Ÿ”€ Total PRs: 921
๐Ÿšฉ Total Issues: 101
๐Ÿ“ฆ Contributed to: 11
@EYHN
EYHN / I'm a night ๐Ÿฆ‰
Last active September 2, 2023 00:14
๐ŸŒ™ Work at night
๐ŸŒž Morning 41 commits โ–ˆโ–ˆโ–ˆโ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 15.3%
๐ŸŒ† Daytime 76 commits โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‰โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 28.4%
๐ŸŒƒ Evening 103 commits โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 38.4%
๐ŸŒ™ Night 48 commits โ–ˆโ–ˆโ–ˆโ–Šโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 17.9%
@EYHN
EYHN / ๐Ÿ“Š Weekly development breakdown
Last active August 19, 2025 01:35
๐Ÿ“Š Weekly Development
Rust ๐Ÿ•“ 26h56m โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 63.7%
TypeScript ๐Ÿ•“ 11h22m โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–Žโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 26.9%
Other ๐Ÿ•“ 1h17m โ–Šโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 3.1%
C++ ๐Ÿ•“ 53m โ–Œโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 2.1%
JavaScript ๐Ÿ•“ 47m โ–Œโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 1.9%
@EYHN
EYHN / channel_ranking.py
Created April 15, 2018 17:23
telegram ้ข‘้“็ƒญ้—จไฟกๆฏๆŽ’ๅ๏ผŒๆ นๆฎ้˜…่ฏปๆ•ฐ้‡ๆŽ’ๅ
from telethon import TelegramClient
from telethon.tl.functions.messages import GetMessagesViewsRequest
import socks
import sys, time
# Open http://telethon.readthedocs.io/en/latest/extra/basic/creating-a-client.html#creating-a-client and login with your phone number.
# Click under API Development tools.
# A Create new application window will appear. Fill in your application details. There is no need to enter any URL, and only the first two fields (App title and Short name) can currently be changed later.
# Click on Create application at the end. Remember that your API hash is secret and Telegram wonโ€™t let you revoke it. Donโ€™t post it anywhere!
@EYHN
EYHN / deploy_gh_page.sh
Created February 25, 2018 05:12
Auto deploy github page.
mkdir ./deploy-gh-page
cp -rf "${DeployPath}" ./deploy-gh-page
cd ./deploy-gh-page
git init
git config --global push.default matching
git config --global user.email "${GitHubEmail}"
git config --global user.name "${GitHubUser}"
git add --all .
{
"extends": ["tslint:recommended", "tslint-react"],
"rules": {
"arrow-parens": false,
"arrow-return-shorthand": [false],
"comment-format": [true, "check-space"],
"import-blacklist": [true, "rxjs"],
"interface-over-type-literal": false,
"interface-name": false,
"max-line-length": [true, 120],
@EYHN
EYHN / telegram-forward.py
Created September 21, 2017 12:12
Python github forward telegram bot
from telegram import Bot,ParseMode
from github import Github
import time
from datetime import datetime
import calendar
import traceback
bot = Bot("xxxxxxxx:xxxxxxxxxxxxxxxxxxxxxx") #Telegram bot token
def newEvent(event):