Skip to content

Instantly share code, notes, and snippets.

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

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 March 5, 2024 05:01
Script to submit a number of Multisend transactions to a Gnosis Safe via the REST API
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
@tschubotz
tschubotz / keybase.md
Created November 18, 2019 15:57
Keybase proof

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 October 26, 2018 14:45
Genesis Alpha 2.0 DAO Reputation proposal Tobias Schubotz

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 February 28, 2023 04:13
Install Metamask and get Rinkeby ETH

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 January 15, 2021 16:11
Gnosis Safe - Developer Resources and links
//
// AAAppDelegate.m
#import "AAAppDelegate.h"
#import <Pushwoosh/PushNotificationManager.h>
@interface MMAppDelegate ()
@end