Skip to content

Instantly share code, notes, and snippets.

Rev. Dr. William J. Barber, II, President of the North Carolina NAACP November 11, 2017

This is a transcript of the "Post-Election "Moral Message Moving Forward" NC NAACP Press Call" held on November 11, 2017. https://www.youtube.com/watch?v=xYxAQv6IC5I

I apologize for any errors in transcription.

SHIRI: Welcome to the North Caroline NAACP press call. My name is Shiri and I will be your operator for today's call. Please note that this conference is being recorded. I would like to now turn this call over to Tyler Swanson. You may begin.

SWANSON: Thank you. Tonight, Reverend Dr. William J Barber II, president of the North Carolina NAACP is making an ultimate public statement to all one hundred branches of the ... of the NC NAACP, members of the Forward Together moral movement, and the state of North Carolina. Dr. Barber will take questions immediately after his statement.

@gcr
gcr / a.py
Created September 23, 2016 17:38
Right-aligned python
import re
python_regex = re.compile(r"^(.*?)(\s*)$")
from IPython.core.magic import register_cell_magic, cell_magic, magics_class, Magics
@magics_class
class RightAlignMagics(Magics):
@cell_magic
def right_align(self, line, cell):
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"ein.tags": [
"worksheet-0"
]
},
"source": [
#!/usr/bin/env python
import sys
from glob import glob
"""
Convert the XML file into a nice-looking HTML file suitable for reading in
Chrome
"""
json = require 'cjson'
function buildNcduLayer(name, module)
local result = nil
if torch.isTensor(module) then
if module:numel() ~= 0 then
local strt = {name..': [' .. torch.typename(module) .. ' of size '}
for i=1,module:nDimension() do
table.insert(strt, module:size(i))
if i ~= module:nDimension() then
json = require 'cjson'
function buildNcduLayer(name, module)
local result = nil
if torch.isTensor(module) then
if module:numel() ~= 0 then
local strt = {name..': [' .. torch.typename(module) .. ' of size '}
for i=1,module:nDimension() do
table.insert(strt, module:size(i))
if i ~= module:nDimension() then
th> x = torch.randn(3,3)
[0.0001s]
th> x
-0.9764 1.3443 0.4054
1.7598 1.9367 -0.6121
-0.1593 -0.0788 -0.2321
[torch.DoubleTensor of size 3x3]
[0.0002s]
th> x:mean(1)

Little Machines lyrics

Portal – Lights

(sweet guitar solo)
In the throes of the ruby red river that flows through the darkening
concrete devouring ghosts that float by, I'm with them.
Up in the current and taken in whole, I've been struggling,
strangling, others in tow. Have my eyes gone missing?

#!/usr/bin/env python
from IPython.parallel.client import client
import argparse
import sys
import numpy as np
import datetime
import time
REDBULLET = u"\x1b[1;31m\u25cf\x1b[0m".encode('utf-8')
@gcr
gcr / alexnet-BETTER.lua
Last active October 12, 2016 08:16
AlexNet in Torch.
------- AlexNet: Using my own weight initialization
model = nn.Sequential()
model:add(cudnn.SpatialConvolution(3,96,11,11,4,4,2,2))
model.modules[#model.modules].weight:normal(0, 0.01)
model.modules[#model.modules].bias:fill(0)
model:add(cudnn.ReLU())
model:add(inn.SpatialCrossResponseNormalization(5, 0.0001, 0.75, 1))
model:add(nn.SpatialMaxPooling(3,3,2,2))
model:add(cudnn.SpatialConvolution(96,256,5,5,1,1,2,2))
model.modules[#model.modules].weight:normal(0, 0.01)