Hacking
Legislative:
- H.R. 1232: Federal Information Technology Acquisition Reform Act as passed house
| Hello and welcome to the Mail-in-a-Box setup guide. Mail-in-a-Box | |
| helps you take control of your email with an easy to deploy mail | |
| server in a box. This video tutorial will walk you through the same | |
| instructions that are found in the setup guide on the Mail-in-a-Box | |
| website. This will take you about two hours. | |
| Let’s say I want a new email address for myself, say, [email protected]. | |
| I’m going to need a domain name --- that’s joshmail.xyz. And a server. | |
| Mail-in-a-Box configures that servers to that it provides mail server | |
| functionality, including support for mobile devices, webmail, spam |
| ### Keybase proof | |
| I hereby claim: | |
| * I am JoshData on github. | |
| * I am joshdata (https://keybase.io/joshdata) on keybase. | |
| * I have a public key whose fingerprint is 5F4C 0E73 13CC D744 693B 2AEA B920 41F4 C10B DD81 | |
| To claim this, I am signing this object: |
| #!/bin/bash | |
| # Start an AWS instance with one of the AMIs provided by: | |
| # http://www.louisaslett.com/RStudio_AMI/ | |
| # | |
| # Get this script. | |
| # wget https://gist.githubusercontent.com/JoshData/615aa18cecb8a6596f59/raw/1b43765552862af98cb16d95dd236a81f6c5b464/build_logins.sh | |
| # chmod +x build_logins.sh | |
| # | |
| # Then use this script to create many logins on the system. |
Hacking
Legislative:
| import subprocess, binascii | |
| chars = ("Ö", "ö") | |
| print(" ", chars[0], chars[1], sep="\t") | |
| charsets = subprocess.check_output("iconv -l", shell=True).decode("ascii").split("\n") | |
| for charset in charsets: | |
| try: | |
| encoded = [] | |
| for c in chars: |
| #!/usr/bin/python3 | |
| # Gets a dump of all of the data in the We The People (read) API. | |
| # See https://petitions.whitehouse.gov/developers. | |
| ################################################################# | |
| import json, urllib.request, datetime, sys | |
| def fetch(uri): | |
| print(uri, file=sys.stderr) |
| #!/usr/bin/python3 | |
| #Get the Census's TIGER/Line roads database for the District of Columbia and convert it into GeoJSON: | |
| # | |
| # wget ftp://ftp2.census.gov/geo/tiger/TIGER2013/ROADS/tl_2013_11001_roads.zip | |
| # unzip tl_2013_11001_roads.zip | |
| # ogr2ogr -f geojson dcroads2.geojson tl_2013_11001_roads.shp | |
| import sys, json, datetime, math |
| #!/usr/bin/python3 | |
| import math, io, csv, zipfile, pickle | |
| datadir = '/home/user/data/fec' | |
| def fec_file(name, cycle): | |
| # read the comma-separated header field names | |
| with open('%s/%s_header_file.csv' % (datadir, name)) as header: | |
| fieldnames = list(csv.reader(header))[0] |
| // see https://github.com/JoshData/semweb-dotnet | |
| using System; | |
| using System.Collections; | |
| using System.IO; | |
| using System.Web; | |
| using SemWeb; | |
| public class Validator { |
| Server Error in '/ConsumerPortal' Application. | |
| Child actions are not allowed to perform redirect actions. | |
| Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. | |
| Exception Details: System.InvalidOperationException: Child actions are not allowed to perform redirect actions. | |
| Source Error: |