Skip to content

Instantly share code, notes, and snippets.

View theme1256's full-sized avatar

Folkmann theme1256

View GitHub Profile
##
## Groot
##
$the_cow = <<EOC;
$thoughts
$thoughts
.^. . _
/: ||`/ ~ ,
, [ & / y'
{v': ` / `&~-,
@theme1256
theme1256 / progress.py
Last active January 10, 2018 15:12 — forked from vladignatyev/progress.py
Python command line progress bar in less than 10 lines of code.
# The MIT License (MIT)
# Copyright (c) 2016 Vladimir Ignatev
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the Software
# is furnished to do so, subject to the following conditions:
#
#!/usr/bin/env python
# -*- coding: utf8 -*-
"""
This is a script that takes input from one MIDI device, maps it and sends it out on another
Currently it's been setup to use a MIDI device, starting with the name "UM-ONE"
It's meant to run on a Raspberry Pi, I'm using a 3B+
It's meant to be used as an adapter, so that a normal drumset can be used to play GuitarHero
"""