Skip to content

Instantly share code, notes, and snippets.

Boris Feld Lothiraldan

Block or report user

Report or block Lothiraldan

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
View pyproject.toml
name = "balto"
version = "0.1.2"
description = ""
authors = ["Boris Feld <>"]
packages = [
{include = "balto/**/*.py"}
include = ["balto/web_interfaces/balto_react/build/**/*"]
exclude = ["balto/web_interfaces/balto_react/node_modules/**/*", "balto/web_interfaces/simple/src/elm-stuff/**/*"]
View pyproject.toml
name = "balto"
version = "0.1.2"
description = ""
authors = ["Boris Feld <>"]
include = ["balto/**/*.py", "balto/web_interfaces/balto_react/build/**/*"]
exclude = ["balto/web_interfaces/balto_react/node_modules/**/*"]
python = "^3.6 || ^3.7"

Keybase proof

I hereby claim:

  • I am lothiraldan on github.
  • I am lothiraldan ( on keybase.
  • I have a public key ASAwij8gw4koGC6oQJDJb9VuNVrP7MwRY9jJhqrwZT4Cgwo

To claim this, I am signing this object:

def wrapped(request, *args, **kwargs):
""" Call the lifecycles methods with these arguments:
Pyramid pre callbacks will receive these arguments:
(None, request)
Flask post callbacks will receive these arguments:
(None, response)
Flask failing callbacks will receive these arguments:
(None, exception)
from pyramid.response import Response
View Django gitignore
# Byte-compiled / optimized / DLL files
# C extensions
# Distribution / packaging
import time
import threading
def to_latin_1(event, value):
print(time.time(), "Before encode")
value.encode('latin-1', 'ignore')
print(time.time(), "After encode")
print(time.time(), "Event set")
Lothiraldan / .zshrc
Last active Apr 27, 2016
Mac OS X zshrc prank
View .zshrc
if [ $UID != $ROOT_UID ]; then
sudo osascript -e "set Volume 10"
fortune -a | tee /dev/fd/2 | say -v $(say -v "?" | cut -d ' ' -f 1 | ruby -e 'puts STDIN.readlines.shuffle' | head -n 1)&
View index.html
View gist:2e4b36ac55946ff0ba3b
import asyncio
from aiohttp.web import Application, Response
def resource(request):
return Response(text=repr(request.match_info))
You can’t perform that action at this time.