Skip to content

Instantly share code, notes, and snippets.

@tschubotz
tschubotz / python_environment_setup.md
Created Jul 24, 2021 — forked from Geoyi/python_environment_setup.md
Setting up your python development environment (with pyenv, virtualenv, and virtualenvwrapper)
View python_environment_setup.md

Overview

When you're working on multiple coding projects, you might want a couple different version of Python and/or modules installed. That way you can keep each project in its own sandbox instead of trying to juggle multiple projects (each with different dependencies) on your system's version of Python. This intermediate guide covers one way to handle multiple Python versions and Python environments on your own (i.e., without a package manager like conda). See the Using the workflow section to view the end result.

Use cases

  1. Working on 2+ projects that each have their own dependencies; e.g., a Python 2.7 project and a Python 3.6 project, or developing a module that needs to work across multiple versions of Python. It's not reasonable to uninstall/reinstall modules every time you want to switch environments.
  2. If you want to execute code on the cloud, you can set up a Python environment that mirrors the relevant
@tschubotz
tschubotz / test_data.py
Last active Nov 9, 2020
Script to submit a number of Multisend transactions to a Gnosis Safe via the REST API
View test_data.py
import argparse
import json
from random import randrange
from typing import List, Optional, Sequence
from urllib.parse import urljoin
import requests
from eth_account import Account
from eth_account.signers.local import LocalAccount
from hexbytes import HexBytes
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@tschubotz
tschubotz / reputation_for_tobias.md
Last active Oct 26, 2018
Genesis Alpha 2.0 DAO Reputation proposal Tobias Schubotz
View reputation_for_tobias.md

Another DAOstack supporter interested in DAO governance hoping to take part in voting processes of the Genesis DAO

Token Requested

220 Rep

About Proposer

My name is Tobias Schubotz. I work at Gnosis as product manager of the Gnosis Safe. I'm excited in trying out all kind of dApps out there.

Links

@tschubotz
tschubotz / metamask_and_rinkeby_eth.md
Last active Jan 11, 2022
Install Metamask and get Rinkeby ETH
View metamask_and_rinkeby_eth.md

This is a brief guide on how to set up Metamask and obtain Rinkeby testnet ETH from the faucet.

Setup Metamask

  • Open Metamask and setup your account
@tschubotz
tschubotz / gnosis_safe_developer_resources.md
Last active Jan 15, 2021
Gnosis Safe - Developer Resources and links
View gnosis_safe_developer_resources.md
View AAAppDelegate.m
//
// AAAppDelegate.m
#import "AAAppDelegate.h"
#import <Pushwoosh/PushNotificationManager.h>
@interface MMAppDelegate ()
@end