I hereby claim:
- I am tillson on github.
- I am ttg (https://keybase.io/ttg) on keybase.
- I have a public key whose fingerprint is A767 598E E16F 8A98 CA07 B7A3 4A63 068F 1918 6869
To claim this, I am signing this object:
Blocking the Property of Certain Persons Engaging in Significant Malicious Cyber-Enabled Activities | |
By the authority vested in me as President by the Constitution and the laws of the United States of America, including the International Emergency Economic Powers Act (50 U.S.C. 1701 | |
et seq.) (IEEPA), the National Emergencies Act (50 U.S.C. 1601 | |
et seq.) (NEA), section 212(f) of the Immigration and Nationality Act of 1952 (8 U.S.C. 1182(f)), and section 301 of title 3, United States Code, | |
I, BARACK OBAMA, President of the United States of America, find that the increasing prevalence and severity of malicious cyber-enabled activities originating from, or directed by persons located, in whole or in substantial part, outside the United States constitute an unusual and extraordinary threat to the national security, foreign policy, and economy of the United States. I hereby declare a national emergency to deal with this threat. |
from pydriller import RepositoryMining | |
import re | |
import base64 | |
foundSet = set() | |
for commit in RepositoryMining('./').traverse_commits(): | |
for mod in commit.modifications: | |
if mod.source_code_before != None: | |
regex = re.findall(r"<text encoding=\"base64\">[^>]+</text>", mod.source_code_before) | |
for result in regex: |
### Keybase proof | |
I hereby claim: | |
* I am tillson on github. | |
* I am ttg (https://keybase.io/ttg) on keybase. | |
* I have a public key whose fingerprint is 14F1 D442 FD1C 4A67 1D55 CD73 DBFC A31E 1B06 5864 | |
To claim this, I am signing this object: |
public void printString() { | |
int i = 0; | |
while (i < table.length) { | |
MapEntry<K, V> entry = table[i]; | |
System.out.print(i + ": "); | |
while (entry != null) { | |
System.out.print(entry.getKey() + " -> "); | |
entry = entry.getNext(); | |
} | |
System.out.println(""); |
/** | |
* Tests for hw7 | |
* @author Tillson Galloway | |
* @version 1.0.4 | |
*/ | |
public class Tests { | |
// if the output of the tests have weird symbols instead of colors, set this to false (generally a problem on Windows) | |
private final static boolean USE_COLORS = true; |
//: Calculate the value of pi by integrating arctan's Taylor Series | |
/*: | |
arctan(1) - arctan(0) == integral of 1/(1+x^2) from 0 to 1 | |
arctan(1) - 0 = pi/4 | |
the sum 1/(1+x^2) is geometric, we can rewrite in the form of Sn = 1/1-r in order to easily write it as a taylor series | |
Sn = 1/(1 - (-x^2)) | |
taylor series for arctan is therefore (-x^2)^n | |
= (-1)^n * (x^2n) |
import java.util.ArrayList; | |
import java.util.List; | |
/** | |
* Tests for hw6 | |
* @author Tillson Galloway | |
* @version 1.1.2 | |
*/ | |
public class Tests { |
#!/usr/bin/env python | |
import sys | |
""" | |
Daily heart rate exporter | |
Turns Apple Health app export for a given day into a simple csv file | |
Params: | |
input file - Input file (.xml format, by default after export is export.xml) | |
date - YYYY-MM-DD format | |
(optional) outputFile - CSV output file location |
for(i=0;5>i;i++)angular.element($(".center")).scope().filters[0].options[i].value=+new Date(2016,5,i+13);$(".active").click() |
I hereby claim:
To claim this, I am signing this object: