Skip to content

Instantly share code, notes, and snippets.

View Riverfount's full-sized avatar
🏠
Working from home

Vicente Marçal Riverfount

🏠
Working from home
View GitHub Profile
# PyCharm Configurations
.idea/
.classpath
.project
.settings/
bin/
*.sqlite3
.venv/
#!/bin/zsh
# This hook is sourced after every virtualenv is deactivated.
# Put this file into ~/.envs/ directory
unalias manage
unalias test
unalias startapp
unalias runserver
unalias testm
unalias makemigrations
unalias migrate
[user]
name = Vicente Marçal
email = vicente.marcal@gmail.com
[core]
editor = vim
excludesfile = /home/riverfount/.gitignore_global
[merge]
tool = vimdiff
[color]
status = auto
def generate_batch(generator, batch_size=10):
batch = []
for e in generator:
if len(batch) == batch_size:
yield batch
batch = []
batch.append(e)
if batch:
yield batch

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: