This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import re | |
import sys | |
import twitter | |
import markov | |
from htmlentitydefs import name2codepoint as n2c | |
from local_settings import * | |
def connect(): | |
api = twitter.Api(consumer_key=MY_CONSUMER_KEY, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THE HUNGRY DC | |
Stories of the hungry and the people who serve them | |
ARRAY(1) { [0]=> STRING(1) "0" } ["_EDIT_LAST"]=> ARRAY(1) { [0]=> STRING(1) "1" } ["_WP_PAGE_TEMPLATE"]=> ARRAY(1) { [0]=> STRING(7) "DEFAULT" } ["PAGE_LAYOUT"]=> ARRAY(1) { [0]=> STRING(12) "CONTENT-LEFT" } ["HERO_ALIGNMENT"]=> ARRAY(1) { [0]=> STRING(11) "CENTER-TEXT" } ["HERO_TITLE_COLOR"]=> ARRAY(1) { [0]=> STRING(7) "#FFFFFF" } ["HERO_TEXT_COLOR"]=> ARRAY(1) { [0]=> STRING(7) "#FFFFFF" } ["HERO_BUTTON_TEXT_COLOR"]=> ARRAY(1) { [0]=> STRING(7) "#FFFFFF" } ["HERO_BUTTON_BACKGROUND"]=> ARRAY(1) { [0]=> STRING(7) "#000000" } ["HERO_BUTTON_TEXT_HOVER"]=> ARRAY(1) { [0]=> STRING(7) "#DD1C1C" } ["HERO_BUTTON_BACKGROUND_HOVER"]=> ARRAY(1) { [0]=> STRING(1) "#" } ["SLIDE_GROUP_SELECT"]=> ARRAY(2) { [0]=> STRING(18) "A:1:{I:0;S:1:"6";}" [1]=> STRING(18) "A:1:{I:0;S:1:"6";}" } ["_EDIT_LOCK"]=> ARRAY(1) { [0]=> STRING(12) "1399058876:5" } ["HERO_TITLE"]=> ARRAY(1) { [0]=> STRING(13) "THE HUNGRY DC" } ["HERO_CAPTION"]=> ARRAY(1) { [0]=> STRING(51) "ST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Original code by Adafruit | |
import os | |
import glob | |
import time | |
from twilio.rest import TwilioRestClient | |
client = TwilioRestClient(account='abc', token='123') | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Default Variable Declarations | |
DEFAULT="Default.txt" | |
FILEEXT=".ovpn" | |
CRT=".crt" | |
KEY=".3des.key" | |
CA="ca.crt" | |
TA="ta.key" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" href="scrabble.css" type="text/css" /> | |
<link rel="stylesheet" href="css/ui-dark.css" type="text/css" /> | |
<script type="text/javascript" src="js/base.js" ></script> | |
<script type="text/javascript" src="js/ui.js" ></script> | |
<script type="text/javascript" src="scrabble.js" ></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local 192.168.2.0 # SWAP THIS NUMBER WITH YOUR RASPBERRY PI IP ADDRESS | |
dev tun | |
proto udp #Some people prefer to use tcp. Don't change it if you don't know. | |
port 1194 | |
ca /etc/openvpn/easy-rsa/keys/ca.crt | |
cert /etc/openvpn/easy-rsa/keys/Server.crt # SWAP WITH YOUR CRT NAME | |
key /etc/openvpn/easy-rsa/keys/Server.key # SWAP WITH YOUR KEY NAME | |
dh /etc/openvpn/easy-rsa/keys/dh1024.pem # If you changed to 2048, change that here! | |
server 10.8.0.0 255.255.255.0 | |
# server and remote endpoints |