Skip to content

Instantly share code, notes, and snippets.

View DasIch's full-sized avatar

Daniel Neuhäuser DasIch

View GitHub Profile
import sys
import dis
import inspect
NO_ATTRIBUTE = object()
class SeparateNamedspacedMeta(type):
def __new__(cls, name, bases, attributes):
from nonlocal_ import nonlocal_
def foo():
a = 1
def bar():
nonlocal_('a')
a = 2
bar()
return a
#!/usr/bin/env python3.5
"""
f4hackingsolver
~~~~~~~~~~~~~~~
Solver for the Fallout 4 Hacking Mini Game.
Within Fallout 4 you sometimes encounter terminals that need to be hacked.
When hacking a terminal you are presented with a screen that contains a
list of potential passwords all with the same length.