Skip to content

Instantly share code, notes, and snippets.

View elimisteve's full-sized avatar
💭
Be more ambitious. The future depends on it.

Steve Phillips elimisteve

💭
Be more ambitious. The future depends on it.
View GitHub Profile
@elimisteve
elimisteve / metaviews.py
Created June 23, 2017 02:24
Django metaview experiment
def edit_model(cls, get_dict, update_keys, update_dict_eval):
def _edit_model_view(request):
instance = get_object_or_404(cls, **get_dict)
model_name = cls_to_name(cls)
ModelForm = eval(model_name + 'Form')
if request.method == 'POST':
form = ModelForm(request.POST, request.FILES)
if form.is_valid():
updated_instance = cls()
@elimisteve
elimisteve / youtube api video category id list
Created March 24, 2017 07:29 — forked from dgp/youtube api video category id list
youtube api video category id list
2 - Autos & Vehicles
1 - Film & Animation
10 - Music
15 - Pets & Animals
17 - Sports
18 - Short Movies
19 - Travel & Events
20 - Gaming
21 - Videoblogging
22 - People & Blogs
@elimisteve
elimisteve / youtube api video category id list
Created March 24, 2017 07:29 — forked from dgp/youtube api video category id list
youtube api video category id list
2 - Autos & Vehicles
1 - Film & Animation
10 - Music
15 - Pets & Animals
17 - Sports
18 - Short Movies
19 - Travel & Events
20 - Gaming
21 - Videoblogging
22 - People & Blogs
@elimisteve
elimisteve / links.md
Last active August 4, 2016 05:02
Google Searches of ReviewJournal.com for references to the 214 federal prisoners whose sentences Obama commuted
import React, { Component } from 'react'
import { Link } from 'react-router'
import SignUpForm from '../components/SignUpForm'
class SignUp extends Component {
constructor(props) {
super(props)
this.state = {
@elimisteve
elimisteve / alexa500-bad-python.txt
Created May 27, 2016 02:07
Alexa Top 500 sites that do NOT use SSL (as detected by a Python script I wrote)
qq.com
360.cn
blogspot.com
aliexpress.com
diply.com
gmw.cn
kat.cr
outbrain.com
go.com
360.com
@elimisteve
elimisteve / unsafe-alexa500.txt
Created May 27, 2016 01:08
The Alexa Top 500 sites NOT protecting their users with HTTPS (they're HTTP only)
baidu.com
qq.com
yahoo.co.jp
sina.com.cn
hao123.com
chinadaily.com.cn
xvideos.com
rakuten.co.jp
nicovideo.jp
youth.cn
@elimisteve
elimisteve / safe-alexa500.txt
Created May 27, 2016 01:07
The Alexa Top 500 sites using HTTPS
google.com
youtube.com
yahoo.com
wikipedia.org
amazon.com
twitter.com
google.co.in
taobao.com
bing.com
google.co.jp
google.com
youtube.com
facebook.com
baidu.com
yahoo.com
wikipedia.org
amazon.com
twitter.com
qq.com
live.com

#Power Not Paranoia ##Digital Security Skill Share ###Prepared for the Stop LAPD Spying Coalition

=== ##Assessing Risk ####Who/what are we protecting?
####From who are we protecting? ####What are we going to do to protect?