I hereby claim:
- I am limitpointinf0 on github.
- I am limitpointinf0 (https://keybase.io/limitpointinf0) on keybase.
- I have a public key ASBYxq-pzKywV-xkIx5_iEl0bcLtxQlxbXDI45Skwun86Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#Uninstall old versions | |
sudo apt-get remove docker docker-engine docker.io containerd runc | |
#Install Docker CE | |
sudo apt-get update | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ |
version: "3" | |
services: | |
jupyter: | |
container_name: "ds_jupyter" | |
image: jupyter/scipy-notebook | |
ports: | |
- 8888:8888 | |
superset: |
import numpy as np | |
import itertools | |
import math | |
import time | |
import os | |
def make_sqworld(num_loc=None): | |
dim = int(math.sqrt(num_loc)) | |
locs_arr=np.array(list(range(num_loc))) | |
return locs_arr.reshape((dim,dim)) |
lifegame/ | |
#!/bin/sh | |
sudo apt-get update | |
sudo mkdir /usr/local/java | |
sudo mv ~/jdk-8u171-linux-x64.tar.gz /usr/local/java/ | |
cd /usr/local/java/ | |
sudo tar zxvf jdk-8u171-linux-x64.tar.gz | |
cd ~ | |
export PATH=$PATH:/usr/local/java/jdk1.8.0_171/bin | |
wget https://downloads.lightbend.com/scala/2.12.6/scala-2.12.6.tgz | |
tar xvf scala-2.12.6.tgz |
import os | |
from datetime import datetime, timedelta | |
import time | |
import subprocess | |
import re | |
if os.geteuid() != 0: | |
exit("You need to have root privileges to run this script.") | |
class DeviceTracker(): |
# Import the module | |
import subprocess | |
class TextMessage(): | |
def __init__(self, url, from_, message, creds, number): | |
self.tool = 'curl' | |
self.url = url | |
self.from_ = 'From=%s' % from_ | |
self.message = 'Body=%s' % message |
"""The following script contains two functions. One for creating a wordcloud from a string. The second is for cleaning text found | |
in a dataframe column.""" | |
import numpy as np # linear algebra | |
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) | |
import os | |
from wordcloud import WordCloud, STOPWORDS | |
import string | |
import matplotlib.pyplot as plt | |
from nltk.corpus import stopwords |
import numpy as np # linear algebra | |
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv) | |
import os | |
from PIL import Image | |
import matplotlib.pyplot as plt | |
from matplotlib.pyplot import imshow | |
from skimage import transform | |
from sklearn.model_selection import train_test_split | |
import traceback | |
from sklearn.utils import shuffle |