Skip to content

Instantly share code, notes, and snippets.

View redshiftzero's full-sized avatar
🐉
✧・゚: *✧・゚:* (⊃。•́‿•̀。)⊃ *:・゚✧*:・゚✧

redshiftzero redshiftzero

🐉
✧・゚: *✧・゚:* (⊃。•́‿•̀。)⊃ *:・゚✧*:・゚✧
View GitHub Profile
@b-meson
b-meson / gist:361feeb689d88e3c4818
Created January 15, 2016 00:09
How to FOIA CPD for deadly OIS
Here are some basic steps to take when a CPD officer shoots and kill someone, and how to gather enough information.
- Identify the District.
Chicago is broken up into Districts and ach police district is divided into 3 sectors.
Each sector is further divided into 3 to 5 beats. For example, 712 would be District 7, sector 1 and beat 2.
https://portal.chicagopolice.org/portal/page/portal/ClearPath/Get%20Involved/How%20CAPS%20works/KnowYourDistrict
You can use that information, and an address to cross reference to make sure it is accurate. I used the Invisible Institute's
database on police misconduct complaints.

Building a grsec-patched Linux kernel for Debian 8 and DigitalOcean

It's possible to run a custom (instead of hypervisor-managed) kernel for use with Debian 8.x on a DigitalOcean droplet.

We'll build one with grsecurity, "an extensive security enhancement to the Linux kernel that defends against a wide range of security threats through intelligent access control, memory corruption-based exploit prevention, and a host of other system hardening".

Note: The stable patches for Linux 3.14.x and 3.2.x are not publicly available anymore, so we'll be applying the free 4.3.x (test) patch. The URLs and filenames in this document may become outdated, so fetch the latest from grsecurity.net and kernel.org.

Install dependencies:

@e000
e000 / donotuse.py
Created June 13, 2011 23:30
How to NEVER use lambdas.
##########################################################
# How to NEVER use Lambdas. An inneficient and yet educa-#
# tonal guide to the proper misuse of the lambda constru-#
# ct in Python 2.x. [DO NOT USE ANY OF THIS EVER] #
# by: e000 (13/6/11) #
##########################################################
## Part 1. Basic LAMBDA Introduction ##
# Well, it's worth diving straight into what lambdas are.
# Lambdas are pretty much anonymous "one line" functions