I hereby claim:
- I am elidickinson on github.
- I am esd (https://keybase.io/esd) on keybase.
- I have a public key whose fingerprint is 6884 A79C 69EC C924 961C 95B9 2CEB 89F6 30BC 7837
To claim this, I am signing this object:
<!--[if mso]> | |
<center> | |
<table><tr><td width="580"> | |
<![endif]--> | |
<div style="max-width:580px; margin:0 auto;"> | |
<p>This text will be centered and constrained to 580 pixels even on Outlook which does not support max-width CSS</p> | |
</div> | |
<!--[if mso]> |
from django.contrib import admin | |
from django.contrib.flatpages.models import FlatPage | |
# Note: we are renaming the original Admin and Form as we import them! | |
from django.contrib.flatpages.admin import FlatPageAdmin as FlatPageAdminOld | |
from django.contrib.flatpages.admin import FlatpageForm as FlatpageFormOld | |
from django import forms | |
from ckeditor.widgets import CKEditorWidget |
class SaferProxyFix(object): | |
"""This middleware can be applied to add HTTP proxy support to an | |
application that was not designed with HTTP proxies in mind. It | |
sets `REMOTE_ADDR`, `HTTP_HOST` from `X-Forwarded` headers. | |
If you have more than one proxy server in front of your app, set | |
num_proxy_servers accordingly | |
Do not use this middleware in non-proxy setups for security reasons. | |
# What 8 letter word can have a letter taken away, and each time still make another word, until only one letter (and one word) are left? | |
words_by_length = [set(), set(), set(), set(), set(), set(), set(), set(), set()] | |
with open('scrabble2019.txt') as f: | |
for w in f: | |
word = w.strip() | |
word_len = len(word) | |
if word_len <= 8: | |
words_by_length[word_len].add(word) | |
answers = set() |
var x = $(".gb-domain-name").each(function(i,x) { console.log($(x,"span").text())}); window.scrollBy(0,600) |
I hereby claim:
To claim this, I am signing this object:
import tweepy | |
import tempfile | |
import urllib | |
from time import sleep | |
import os | |
url = 'http://wwc.instacam.com/instacamimg/KDCA/KDCA_l.jpg' | |
# The consumer keys can be found on your application's Details | |
# page located at https://dev.twitter.com/apps (under "OAuth settings") |
# This file has been modified by Eli Dickinson to update detection rules and to | |
# send a Vary header downstream. It has also been updated to | |
# work with newer versions of Varnish. | |
# | |
# A simple mobile device detection implementation in VCL | |
# http://fangel.github.com/mobile-detection-varnish-drupal | |
# | |
# The file is based upon initial work done by Audun Ytterdal, which can be |
# pip install pydns | |
import DNS, smtplib | |
import csv, re | |
in_filename = 'input.csv' | |
skip_to = None | |
# DNS.DiscoverNameServers() | |
DNS.defaults['server'].append('208.67.222.222') |