Skip to content

Instantly share code, notes, and snippets.


Eana Hufwe blueset

View GitHub Profile
blueset /
Last active Jan 11, 2020
HHHHH: How the Heck are those Horrible Hobgoblins Haunting your ETM

HHHHH: How the Heck are those Horrible Hobgoblins Haunting your ETM

Forward all messaegs the bot got that's not from the admins, to somewhere else.

To be used with ETM 2.x.


  1. Get the ID of the chat you want HHHHH to forward those messages to
  2. Fill it in to the RECEIPIENT field
  3. Save this file to EFB_DATA_DIRECTORY/modules/hhhhh/
blueset /
Last active Feb 26, 2018
BOC Exchange Rate Monitor (AUD/CNY)
blueset /
Created Feb 24, 2018
Big Text Bot v2



  • python-telegram-bot
  • node.js
  • libwebp
  • Full Noto fonts
  • Sqlite support of Python 3
  • puppeteer
  • (Headless) Chrome
View Minimum example


from unittest import TestCase
from unittest.mock import patch, Mock
from foo import FooModule

class DemoTest(TestCase):
    def setUpClass(cls):
blueset / pok3r.json
Created Oct 10, 2017
Eana's Karabiner-Element Complex Modifications
View pok3r.json
"title": "Eana's POK3R Mods",
"rules": [
"description": "[POK3R] Cmd+ESC to Cmd+`",
"manipulators": [
"conditions": [{
"type": "device_if",
"identifiers": [{"vendor_id": 1241, "product_id": 321}]
blueset /
Created Sep 10, 2017
Utsushidasu Kagami ver 3
import telegram
import telegram.ext
import re
# Utsushidasu Kagami Bot v3
# With sticker removal and off-topic transfer.
# License: MIT
Copyright 2017 Eana Hufwe
blueset /
Last active May 14, 2017
COMP20007 Assignment 2: 2017 Sem 1 — Auto Test Script

Hash table assignment auto test script

This script generates random commands based on the method provided by cmdgen.c, feeds it to the program and verify automatically. All table prints for stage 1, 2, 3 should follow the format provided in the template. For stage 4, the template should follow the merged format of previous stages.

This script tests:

  • Result of insertion
  • Result of query
  • Availablity, preciseness, uniqueness of keys in the printed table
blueset /
Last active Apr 17, 2017
TC netem Drop packets from 32000 to 60000
modprobe sch_netem
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: prio priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
tc qdisc add dev eth0 parent 1:2 handle 20: netem loss 80% 20%
# tc filter add dev eth0 parent 1:0 protocol ip u32 match ip protocol 17 0xff match ip sport 32768 0xe000 flowid 1:2
tc filter add dev eth0 parent 1:0 protocol ip prio 1 basic match "cmp(u16 at 0 layer transport gt 31999) and cmp(u16 at 0 layer transport lt 60001) and u32(u8 0x11 0xff at 0x9)" flowid 1:2
tc qdisc ls
tc -s qdisc show dev eth0
blueset / telegram-zh.scpt
Last active Sep 6, 2018
Telegram Swift Native load language file
View telegram-zh.scpt
-- Telegram Native Swift 汉化脚本
-- 制作:Eana Hufwe
set zh_cn to "简体中文语言文件,来自 @zh_CN 的 GitHub Repo"
set zh_tw to "正體中文化文件(台灣),尚未收录"
set zh_hk to "繁體中文化文件(香港),尚未收录"
set tlocal to "本地语言文件"
set iinput to (choose file with prompt "选择您的 Telegram Native Swift 程序。" of type {"app"} default location "Applications") as string
set tgpath to POSIX path of iinput
blueset /
Last active Jun 6, 2019
big_text_bot: Pure text sticker Telegram inline bot.