Skip to content

Instantly share code, notes, and snippets.

Benedikt Reinartz filmor

Block or report user

Report or block filmor

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
@filmor
filmor / Initialize CLR via ctypes.ipynb
Last active May 8, 2019
Initialize CLR via ctypes
View Initialize CLR via ctypes.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@filmor
filmor / eü_konvertieren.ipynb
Created Apr 27, 2019
Convert Einheitsübersetzung from a given APK to a (zipped) Sword module
View eü_konvertieren.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@filmor
filmor / dynamic.py
Last active Jan 30, 2016
Support for DLR types
View dynamic.py
from System.Dynamic import DynamicObject as _do
from System import Func, Array, Object
from System.Runtime.CompilerServices import CallSite
from Microsoft.CSharp.RuntimeBinder import (
Binder, CSharpBinderFlags, CSharpArgumentInfoFlags,
RuntimeBinderException, CSharpArgumentInfo
)
class _Injected:
@filmor
filmor / magic_logger.py
Created Jan 6, 2015
Magic logger class for python
View magic_logger.py
from logging import Logger, getLogger
class MagicLogger:
def __getattr__(self, name):
try:
from sys import _getframe
from inspect import getmodule
frame = _getframe(1)
mod_name = getattr(getmodule(frame), "__name__", None)
You can’t perform that action at this time.