Skip to content

Instantly share code, notes, and snippets.

Seppo Yli-Olli nanonyme

  • Finland
Block or report user

Report or block nanonyme

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
nanonyme /
Created Jan 2, 2019
JSON to YAML conversion
from ruamel.yaml import YAML
import json
from pathlib import Path
import sys
from collections import OrderedDict
import collections
from ruamel.yaml.comments import CommentedMap
def convert(filename):
yaml = YAML()
nanonyme /
Last active Jul 13, 2017
Creating a 32bit Steam Flatpak
#!/bin/sh -xe
flatpak remote-add --if-not-exists flathub
flatpak install flathub org.freedesktop.Platform/i386 org.freedesktop.Sdk/i386
if [ ! -d com.valvesoftware.Steam ]
git clone git://
cd com.valvesoftware.Steam
git pull
flatpak-builder --repo=$HOME/flatpak-builds --disable-cache --force-clean --arch=i386 com.valvesoftware.Steam com.valvesoftware.Steam.json
nanonyme / gist:6268358
Last active Dec 21, 2015
brainstorming on suds + python-requests thinamabob, MIT-licensed
View gist:6268358
from suds.transport import Transport, Reply
from suds.client import Client
import requests
from StringIO import StringIO
class RequestsTransport(Transport):
def open(self, request):
""" suds assumes urllib2 which doesn't have keepalives so things can go royally wrong if it doesn't
read the entire request. Hence, read it all up and give a StringIO object instead.
You can’t perform that action at this time.