Skip to content

Instantly share code, notes, and snippets.

@soloradish
soloradish / WrappedStreamingBody
Created September 25, 2018 03:50 — forked from debedb/WrappedStreamingBody
Wrap boto3's StreamingBody object to provide enough Python fileobj functionality fileobj functionality so that GzipFile is satisfied.
class WrappedStreamingBody:
"""
Wrap boto3's StreamingBody object to provide enough
fileobj functionality so that GzipFile is
satisfied. Sometimes duck typing is awesome.
@soloradish
soloradish / make.sh
Created August 1, 2016 08:12 — forked from artzub/make.sh
Install JetBrains Hub + YouTrack + UpSource + Nginx
#!/bin/bash
apt-get install mc htop git unzip wget curl -y
echo
echo "====================================================="
echo " WELCOME"
echo "====================================================="
echo
echo "Hub"