- Place
filter.py
to yourEFB_DATA_PATH/modules
directory. - Enable this middleware as
filter.FilterMiddleware
- Send
filter
` to any chat for the filter control panel of the chat.
import requests | |
import argparse | |
import os | |
import re | |
import json | |
import mutagen | |
import base64 | |
from mutagen import easyid3 | |
import sys | |
from Crypto.Cipher import AES |
This is the place for me to share my solutions to the Grok Learning Worksheets for the COMP10001
Foundation of Computing course in the University of Melbourne in Semester 2, 2016.
Take note that all code released here are EXPIRED, i.e. they are no longer available to be submitted as examinable works. And all codes below is licensed under MIT license.
Note that some codes used below may include advanced contents that may not be taught before the deadline. Also, some “dirty tricks”, like joining code into one long line, is strongly not recommended to be used in your projects.
In the meanwhile, you might be interested in my solution to the Practice Projects.
- -------------------------------- !ALERT! --------------------------------- -
[ | |
{ | |
"reading": "ああ", | |
"notation": "", | |
"meaning": "あのように。あんな。" | |
}, | |
{ | |
"reading": "ああいう", | |
"notation": "", | |
"meaning": "あのような。あんな。" |
Add StuDocu Extracter to your Browser favorites, and click on it after you open the StuDocu document.
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
{ | |
"version": 1, | |
"notes": "", | |
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n", | |
"keyboard": "massdrop/ctrl", | |
"keymap": "massdrop_ctrl_layout_mine", | |
"layout": "LAYOUT", | |
"layers": [ | |
[ | |
"KC_ESC", |
#%% | |
key = open("/Users/blueset/Downloads/key.txt", "r").read() | |
idx = key.find("3jX8lFiNQ7JHQBVuXAEQXIajamj1EDqa9n34eHZ7y0XbfuxPt7pMj") | |
key = key[idx - 143:] | |
# key = key[idx - 200:] | |
#%% | |
def vba_decode(sequence, offset, key): | |
# Input a list and an integer | |
# key = "XAEQXIajamj1EDqa9n34eHZ7y0XbfuxPt7pMj3jX8lFiNQ7JHQBVu" |
import re | |
from typing import Any, Tuple, Union | |
"""A very rough JSON parser. | |
Implementing the standard outlined in https://www.json.org/json-en.html | |
Number parsing is handled by Python. | |
Usage: | |
>>> data, _ = parse_json('{"key": ["value", -1e20, true, false, null]}') | |
>>> assert data == {"key": ["value", -1e20, True, False, None]} |
This is the place for me to share my solutions to Project 1 for the COMP10001 Foundation of Computing course in the University of Melbourne in Semester 2, 2016.
Take note that all code released here are EXPIRED, i.e. they are no longer available to be submitted as examinable works. And all codes below is licensed under MIT license.
Copyright (c) 2016 Eana Hufwe
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation