title: 'Making shit work with markdown to pandoc to pdflatex to biber and back' author: 'Kevin Thompson' shorttitle: 'Making shit work' abstract: | don't forget to indent these paragraphs
if you don't it seem to get pissed about long sentences. ...
import json | |
import os | |
from collections import defaultdict | |
from random import sample | |
population = defaultdict(list) | |
sample_size = 2 | |
final_sample = defaultdict(list) | |
# i = getIncident('blahblahblah.json') |
title: 'Making shit work with markdown to pandoc to pdflatex to biber and back' author: 'Kevin Thompson' shorttitle: 'Making shit work' abstract: | don't forget to indent these paragraphs
if you don't it seem to get pissed about long sentences. ...
{ | |
"actor_id": "41D3AF17-147D-4DCC-ABE6-684174325D66", | |
"country": [ | |
{ | |
"country": "CN", | |
"source": [ | |
1, | |
2 | |
] | |
}, |
Here are some things that I would like to accomplish in 2014. This list might be too long (as I keep adding to it) and might need to get sorted into minimum goals and stretch goals. Something else I might want to consider is how can I add a system to this, so that rather than setting a specific goal, I have a system that helps me achieve things I want.
http://www.utphysicians.com/21756/uthealth-informs-patients-incident-related-patient-information/ (20130830),http://healthitsecurity.com/2013/08/29/ut-physicians-informs-patients-of-data-breach/ (20130830) | |
https://oag.ca.gov/system/files/Final%20version%20of%20breach%20notification%20in%20PDF%20format%20%2800751822%29_0.PDF http://www.phiprivacy.net/burglar-snatches-laptop-with-patient-medical-records-from-san-jose-internists-office/ | |
http://doj.nh.gov/consumer/security-breaches/documents/waste-management-20070403.pdf |
Multiplication with your fingers. http://lifehacker.com/5942037/quickly-multiply-single+digit-numbers-with-your-hands
def aggregateIndustry(inArray): | |
returnArray = [{'_id':'31-33','friendly_name':'Manufacturing','count':0}, | |
{'_id':'44-45','friendly_name':'Retail','count':0}, | |
{'_id':'48-49','friendly_name':'Transportation','count':0}] | |
for eachIndustry in inArray: | |
if eachIndustry['_id'] in ['31','32','33']: | |
returnArray[0]['count'] += eachIndustry['count'] | |
continue | |
if eachIndustry['_id'] in ['44','45']: | |
returnArray[1]['count'] += eachIndustry['count'] |
library(verisr) | |
library(ggplot2) | |
# Load the data | |
vcdb.dir <- "../vcdb/data/json" | |
vcdb <- json2veris(vcdb.dir) | |
# Filter out the Unknowns | |
filt <- !getfilter(vcdb, list("action.hacking.variety"="Unknown")) |
#!/usr/bin/env python | |
import json | |
vDict=json.loads(open('verisc-enum.json').read()) | |
def dict_walker(inCollection, pre=None): | |
pre = pre[:] if pre else [] | |
#print(pre) | |
if isinstance(inCollection, dict): |