Skip to content

Instantly share code, notes, and snippets.

meejah meejah

Block or report user

Report or block meejah

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
View packet switching network reading list
Congestion Control
[E2ECONGESTION] Floyd, S., Fall, K.,
"Promoting the Use of End-to-End Congestion Control in the Internet",
IEEE/ACM Transactions on Networking, May 1999,
<https://www.icir.org/floyd/papers/collapse.may99.pdf>.
[RFC896] Nagle, J., "Congestion Control in IP/TCP Internetworks",
View txasynciouvloop.py
"""
twisted async/await with asyncio reactor and uvloop
"""
import asyncio
import uvloop
from asyncio.tasks import ensure_future
try:
# as per github source the asyncio reactor is intended to be released in future version
@fasterthanlime
fasterthanlime / state-of-emergency-in-france.md
Last active Jul 25, 2016
What the state of emergency means in France, where it's been declared following the Paris attacks
View state-of-emergency-in-france.md
View cloudflare_challenge
I wasn't first to get the key. Nor was I second, third, or even fourth. I'm probably not even the
10th to get it (ok, looks like I was the 8th.) But I'm happy that I was able to prove to myself
that I too could do it.
First, I have to admit I was a skeptic. Like the handful of other dissenters, I had initially
believed that it would be highly improbable under normal conditions to obtain the private key
through exploiting Heartbleed. So this was my motivation for participating in Cloudflare's
challenge. I had extracted a lot of other things with Heartbleed, but I hadn't actually set out to
extract private keys. So I wanted to see first-hand if it was possible or not.
View app.py
import os
from flask import Flask, render_template, request
import stripe
stripe_keys = {
'secret_key': os.environ['SECRET_KEY'],
'publishable_key': os.environ['PUBLISHABLE_KEY']
}
stripe.api_key = stripe_keys['secret_key']
@adeel
adeel / gist:1240589
Created Sep 25, 2011
Null-route Facebook netblocks
View gist:1240589
#!/usr/bin/env python2
# http://bgp.he.net/AS32934#_prefixes
import os
netblocks = [
"31.13.24.0/21",
"66.220.144.0/21",
"66.220.152.0/21",
"69.63.176.0/21",
You can’t perform that action at this time.