Skip to content

Instantly share code, notes, and snippets.

David E. Weekly dweekly

Block or report user

Report or block dweekly

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dweekly
dweekly / odd_npn.py
Created Apr 29, 2018
Strange NPN issue with Python SSL: any protocol is valid...?
View odd_npn.py
import ssl
import socket
import certifi
ca_store = certifi.where()
ctx = ssl.create_default_context()
ctx.load_verify_locations(ca_store)
server = "www.twitter.com"
View gist:e0fa533881aaf61a3c49ce9a4017060d
Verifying my Blockstack ID is secured with the address 1JRQ5TqtLkPb135YTUYEuDSi5fguQJhbB3 https://explorer.blockstack.org/address/1JRQ5TqtLkPb135YTUYEuDSi5fguQJhbB3
View FB Sex Spam Rabbithole 4
# https://www.facebook.com/profile.php?id=100021987032074&fref=jewel
# My link to see photos, vidio, that will make your eyes bulging [heart] https://goo.gl/j1XPuk
Last login: Tue Sep 5 09:00:45 on ttys001
dweekly-macbookpro3:~ dweekly$ curl -v -v "https://goo.gl/j1XPuk"
* Trying 2607:f8b0:4005:801::200e...
* TCP_NODELAY set
* Connected to goo.gl (2607:f8b0:4005:801::200e) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.google.com
View gist:c12458128d541d9ba8c1c449fcf3c042
https://www.facebook.com/profile.php?id=100021634270674&fref=jewel
Hello dear,
I will introduce my latest sex video ==> https://goo.gl/Qyiz1G
Feel the latest sensation 
<3 
<3
View gist:36bcb4282bb0070a9611bbe0af960e15
# Source spam FB profile https://www.facebook.com/profile.php?id=100021530630872
# included profile pic caption:
# "Hello dear, I will introduce my latest sex video ==> https://goo.gl/pv9rZg Feel the latest sensation <3 <3"
dweekly-macbookpro3:~ dweekly$ curl -v -v https://goo.gl/pv9rZg
* Trying 2607:f8b0:4005:808::200e...
* TCP_NODELAY set
* Connected to goo.gl (2607:f8b0:4005:808::200e) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.google.com
@dweekly
dweekly / comcast.html
Created Jul 17, 2017
Comcast Injected HTML
View comcast.html
<!--
Page Loading starts on 2017/07/16 20:35:47, Total time elapsed to render is 0.14907363 seconds, Server: pub2w.slate.com
-->
<script language="JavaScript" type="text/javascript">
// Copyright (C) 2015 Comcast Cable Communications, LLC
// Contact Us: http://customer.xfinity.com/contact-us/
// Intended use of this message is to display critical and time sensitive notifications to customers.
/*
This program is free software; you can redistribute it and/or
View Installing Caffe on Ubuntu 16.04 LTS with CUDA
# Below are instructions for building Caffe, assuming CUDA 8.0 & CUDNN are alrady installed.
# get dependencies
sudo apt install liblmdb-dev libhdf5-dev libgoogle-glog-dev libgflags-dev libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler python-numpy python-yaml
sudo apt install --no-install-recommends libboost-all-dev
# get Caffe latest
git clone https://github.com/BVLC/caffe.git
cd caffe
View gist:e24bc37ce4b1c5cf3a24
Verifying myself: My Bitcoin username is +dweekly. https://onename.io/dweekly
@dweekly
dweekly / gitsetup.sh
Created Jul 26, 2013
How to set up a new repository with GitHub
View gitsetup.sh
# This sounds a little ridiculous but reliably setting up a new repository on GitHub
# with some initial local source was a little more involved than I expected.
# Visit https://github.com/new and create your repo PROJECT name.
# Now cd to your project directory. You should be at the top level.
git init
git remote add origin git@github.com:USERNAME/PROJECT.git
git branch --set-upstream master origin/master
git pull
# at this point you might need to resolve any .gitignore or README.MD conflicts you might have.
@dweekly
dweekly / gist:5873953
Last active Dec 19, 2015
Get Emscripten Running on OS X 10.8
View gist:5873953
# Based on https://github.com/kripken/emscripten/wiki/Tutorial
# prerequisites
cd ~/
brew install node
sudo ln -s /usr/bin/python2.7 /usr/bin/python2
curl http://llvm.org/releases/3.2/clang+llvm-3.2-x86_64-apple-darwin11.tar.gz > llvm.tgz
tar xzvf llvm.tgz
ln -s clang+llvm-3.2-x86_64-apple-darwin11 llvm
You can’t perform that action at this time.