I hereby claim:
- I am chrislennon on github.
- I am chrislennon (https://keybase.io/chrislennon) on keybase.
- I have a public key whose fingerprint is 90B3 7670 0E27 E40E 4151 7CD4 F9E4 3280 401D 6886
To claim this, I am signing this object:
# Build the app on top of Ubuntu | |
FROM ubuntu:xenial | |
# RUN echo 'deb http://ppa.launchpad.net/chris-lea/redis-server/ubuntu xenial main' > /etc/apt/sources.list.d/redis-server.list && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C7917B12 | |
# Patch and Install Dependencies | |
RUN apt-get -y update && apt-get -y install software-properties-common build-essential git make libpq-dev python3-pip python3-dev postgresql postgresql-contrib redis-server \ | |
&& apt-get -y clean \ | |
&& pip3 install --upgrade pip \ | |
&& ln -s /usr/bin/python3 /usr/local/bin/python |
{ | |
"pokemon": { | |
"1": { | |
"name": "bulbasaur", | |
"types": ["poison", "grass"] | |
}, | |
"2": { | |
"name": "ivysaur", | |
"types": ["poison", "grass"] | |
}, |
#!/bin/bash | |
# Yes/No | |
# These commands are incorrect (need SOCKS see below), kept for history | |
PROXY_STATUS="$(networksetup -getwebproxy 'Wi-Fi' | grep Enabled: -m1 | cut -d ' ' -f2)" | |
SECURE_STATUS="$(networksetup -getsecurewebproxy 'Wi-Fi' | grep Enabled: -m1 | cut -d ' ' -f2)" | |
# SOCKS status | |
SOCKS_STATUS="$(networksetup -getsocksfirewallproxy 'Wi-Fi' | grep Enabled: -m1 | cut -d ' ' -f2)" | |
#1 False, 2 True | |
TOR_SERVICE_STATUS="$(launchctl list | grep homebrew.mxcl.tor | tee >(wc -l) | awk 'END{print NR}')" | |
TOR_CON_STATUS="$(lsof -nP -i4TCP:9050 | grep LISTEN | tee >(wc -l) | awk 'END{print NR}')" |
import praw | |
import pprint | |
import json | |
filename = 'user.subs' | |
user_agent = 'test-py' | |
client_id='xxx' | |
client_secret="xxx" | |
username='xxx' | |
password='xxx' |
import praw | |
import pprint | |
import json | |
filename = 'user.subs' | |
user_agent = 'test-py' | |
client_id='xxx' | |
client_secret="xxx" | |
username='xxx' | |
password='xxx' |
{ | |
"GetServicesIntent" : { | |
"session": { | |
"new": false, | |
"sessionId": "SessionId.<session_id>", | |
"application": { | |
"applicationId": "amzn1.ask.skill.<skill_id>" | |
}, | |
"attributes": {}, | |
"user": { |
I hereby claim:
To claim this, I am signing this object: