Skip to content

Instantly share code, notes, and snippets.

View jroes's full-sized avatar

Jon Roes jroes

  • Streamlit
  • Charlotte, NC
  • X @jroes
View GitHub Profile
-----> Python app detected
-----> Installing python-3.6.12
-----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
-----> Installing SQLite3
-----> Installing requirements with pip
Collecting pycaret==1.0.0
Downloading pycaret-1.0.0-py3-none-any.whl (188 kB)
Collecting streamlit==0.58.0
Downloading streamlit-0.58.0-py2.py3-none-any.whl (7.1 MB)
Collecting nltk
@jroes
jroes / with-rosetta-2.txt
Last active December 5, 2020 05:31
Console output attempting to install streamlit with Rosetta 2 and without
jroes@Jons-MacBook-Pro ~ % pip3 install streamlit
Collecting streamlit
Downloading https://files.pythonhosted.org/packages/a3/3b/8b70128553de980a5120b512c8eedc3667deced9554fc399703414b1d8cf/streamlit-0.72.0-py2.py3-none-any.whl (7.4MB)
|████████████████████████████████| 7.4MB 5.4MB/s
Collecting requests (from streamlit)
Downloading https://files.pythonhosted.org/packages/39/fc/f91eac5a39a65f75a7adb58eac7fa78871ea9872283fb9c44e6545998134/requests-2.25.0-py2.py3-none-any.whl (61kB)
|████████████████████████████████| 61kB 16.2MB/s
Collecting numpy (from streamlit)
Downloading https://files.pythonhosted.org/packages/c5/63/a48648ebc57711348420670bb074998f79828291f68aebfff1642be212ec/numpy-1.19.4.zip (7.3MB)
|████████████████████████████████| 7.3MB 46.3MB/s
#!/bin/bash
machine_name=dev
interface=vboxnet1
sudo route -n delete 192.168.99.0
sudo route -n add -net 192.168.99.0/24 -interface $interface
docker-machine rm $machine_name
docker-machine create --driver virtualbox $machine_name
eval "$(docker-machine env $machine_name)"
#!/usr/bin/env ruby
# encoding: utf-8
#
# Download 1136x1136 screenshots and 512x512 icon from iTunes for a list of
# search terms.
#
# Jon Roes <jroes@heroku.com>
#
# Example:
# $ iosgfx search_terms.txt

Keybase proof

I hereby claim:

  • I am jroes on github.
  • I am jroes (https://keybase.io/jroes) on keybase.
  • I have a public key whose fingerprint is EC5E AA03 1431 9CC3 ED98 B1FC 94CA BF6B 82AB 1638

To claim this, I am signing this object:

@jroes
jroes / homerow
Last active December 29, 2015 09:09
QGMLWB words
added
addend
addenda
adead
adenase
adenose
adnate
adossed
aenean
aesthete
@jroes
jroes / gist:7009325
Last active December 25, 2015 16:58
package main
import (
"io/ioutil"
"os"
"sort"
"strings"
)
func main() {
@jroes
jroes / gist:6794136
Created October 2, 2013 13:51
My current Vocola 2 config.
# Voice commands for putty
# tmux
mux next = {Ctrl + T} {n};
mux prev = {Ctrl + t} {p};
mux 0..9 = {Ctrl + T} {$};
mux detach = {Ctrl + T} {d};
mux attach = "tmux attach {enter}";
mux reattach = "tmux attach -d {enter}";
@jroes
jroes / gist:5635991
Last active December 17, 2015 16:00
Shield your eyes!
# Test with:
#
# $ curl -o sample1.wav https://api.twilio.com/2010-04-01/Accounts/AC44d08277b616939d314d0c81832c389a/Recordings/REb9c469219996e51b1b9aee996b3ff48309
# $ curl -o sample2.wav https://api.twilio.com/2010-04-01/Accounts/AC44d08277b616939d314d0c81832c389a/Recordings/REf7ba239cedd653ce75390c925ed51aad
# $ python compare_audio.py sample1.wav sample2.wav
import wave
import sys
import numpy as np
@jroes
jroes / gist:5497853
Last active December 16, 2015 21:09
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;;;;;;;;;;;;;;;;;;;:::::::::::;;;;:::;;;;;;;;;;;;;;;;;;;::::::::::;;;;;;;;;;;;;;;:::::::::,,,;+';;;;::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;;;;;;;;;;;;;;;;;;;::::::::::::::::::;;;;;;;;;;;;;;;;;;;::::::::.;;;;;;;;;;;;;;;::::::::,,,:'##+;;:::::;::::::::::::::::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;::::::;;:::;;;;;:;;::::::::::::::::;;;;:;;:::;;;;;;;;;;;;;;;;;;;;;:::::.;;;;;;;;;;;;;;;;:::::,,,,:'+++++':::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;:;;;:;::::::;::::::;:;::;;:::;;;;;;;;;;;;;;;;;;;;;::::,:;;;;;;;;;;;;;;::::::,,,,;'++++++';::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;:;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::;;;::::;;;;;;;;:::;;;;;;;;;;;;;;;;;;;;;:::,:;;;;;;;;;;;;:::::::,,,,;''';''++#+'::::::::::::::::::::::
:::::::::::::::::::