Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am filmor on github.
  • I am filmor (https://keybase.io/filmor) on keybase.
  • I have a public key ASBmlycxlFn5zxsoeP6neD0ZLaCp0f8aB6q06IRU8YZrygo

To claim this, I am signing this object:

@filmor
filmor / Initialize CLR via ctypes.ipynb
Last active Dec 15, 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.