Skip to content

Instantly share code, notes, and snippets.

:octocat:
NullPointerException.

Eana Hufwe blueset

:octocat:
NullPointerException.
Block or report user

Report or block blueset

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@blueset
blueset / README.rst
Last active Sep 17, 2019
Filter: A demo of advanced user interaction with master channel through middleware.
View README.rst

Filter: A demo of advanced user interaction with master channel through middleware

Usage

  1. Place filter.py to your EFB_DATA_PATH/modules directory.
  2. Enable this middleware as filter.FilterMiddleware
  3. Send filter` to any chat for the filter control panel of the chat.
@blueset
blueset / config.yaml
Created Aug 31, 2019
Rotational logger sample
View config.yaml
# ...
logging:
version: 1
disable_existing_loggers: false
formatters:
sample:
format: '%(asctime)s [%(levelname)s] %(name)s: %(message)s'
handlers:
rotation:
@blueset
blueset / conf.py
Created Aug 18, 2019
Sphinx(-intl?) bug reproduction
View conf.py
source_suffix = '.rst'
master_doc = 'index'
@blueset
blueset / README.md
Last active Jul 10, 2019
Download/Print StuDocu.com documents without watermark
View README.md

Usage

Add StuDocu Extracter to your Browser favorites, and click on it after you open the StuDocu document.

How it works

javascript:(function(){var a = "", x = document.getElementsByTagName("svg"); for(var i = 0; i < x.length; i++){a += x[i].outerHTML;} document.getElementsByTagName("body")[0].innerHTML = a;var a = document.getElementsByTagName("svg");for (var i = 0; i < a.length; i++){a[i].style.width="99.8%";a[i].style.height="auto";a[i].style.position="inherit";a[i].style.display="block";a[i].style.boxShadow="0 3px 3px rgba(0,0,0,0.3)";a
@blueset
blueset / README.md
Created Feb 24, 2018
Big Text Bot v2
View README.md

Demo: https://t.me/big_text_bot

Dependencies:

  • python-telegram-bot
  • node.js
  • libwebp
  • Full Noto fonts
  • Sqlite support of Python 3
  • puppeteer
  • (Headless) Chrome
@blueset
blueset / README.md
Last active Jun 6, 2019
big_text_bot: Pure text sticker Telegram inline bot.
View README.md
@blueset
blueset / README.md
Last active May 14, 2019
Filter all telegram stickers messages in groups for 60 seconds.
View README.md
  1. Clone https://github.com/vysheng/tg/, and install all necessary dependencies
  2. Apply documents.patch, then ./configure && make
  3. pip3 install pytg
  4. Modify main.py and change tgdir to the correct path.
  5. Log in your tg-cli
  6. nohup ./bin/telegram-cli --json -R -W -P 4458 --permanent-peer-ids --permanent-peer-ids > /dev/null &
  7. nohup python3 kagami.py > /dev/null &
View UnicodeSimilarAlphabets.json
{" ": " \t \u00a0\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u205f\u3000",
"A": "\u0391A\u00c0\u0410\u00c1\u1e00\u1f08\u1f09\u1f0a\u1f0b\u1f0c\u1fb8\u1fb9\u1fba\u1fbb\u1f0d\u1f0e\u1f0f\u1ea0\u1ea2\u1ea4\u1ea6\u1ea8\u1eaa\u1eac\u1eae\u1eb0\u1eb2\u1eb4\u1eb6\u00c2\u00c3\u00c4\u00c5\u0100\u0102\u0104\u01cd\u01de\u01e0\u01fa\u0202\u0226\u24b6\ud83c\udd50\uff21\ud835\udc00\ud835\udd6c\ud835\udc68\ud835\udcd0\ud835\udd38\ud835\ude70\ud835\udda0\ud835\uddd4\ud835\ude3c\ud835\ude08\ud83c\udd30\ud83c\udd70\u00c1\ud835\udd04\u00c4\u1d00\u023a\u2090\u1d2c",
"B": "B\u0392\u03b2\u00df\u1e02\u1e04\u1e06\u0412\u0181\u24b7\ud83c\udd51\uff22\ud835\udc01\ud835\udd6d\ud835\udc69\ud835\udcd1\ud835\udd39\ud835\ude71\ud835\udda1\ud835\uddd5\ud835\ude3d\ud835\ude09\ud83c\udd31\ud83c\udd71B\ud835\udd05\u1e04\u0299\u0243\u1d2e",
"C": "C\u0421\u216d\u2103\u00c7\u0106\u0108\u010a\u010c\u1e08\u0187\u24b8\ud83c\udd52\uff23\ud835\udc02\ud835\udd6e\ud835\udc6a\ud835\udcd2\u2102\ud835\ude72\ud835\udda2\ud835\uddd6\
@blueset
blueset / README.md
Created Apr 15, 2019
COMP30024 2019 S1 Project B: GUI Player (β)
View README.md
  • A GUI player for COMP30024 2019 S1 Project B in UniMelb.
  • Written in Python.
  • Adapted from texgen.py by Matt Farrugia (matt.farrugia@unimelb.edu.au).
  • Written with Tkinter, require Tk support to run.

Structure

The same server serves as both a server and a client. Its behaviour depends on how it is started.

You can’t perform that action at this time.