Skip to content

Instantly share code, notes, and snippets.

View zeroaltitude's full-sized avatar
🏠
Working from home

Edward Abrams zeroaltitude

🏠
Working from home
View GitHub Profile
@zeroaltitude
zeroaltitude / client.py
Created March 13, 2020 22:13
idt complexity
>>> from client import *
>>> get_idt_complexity(BAD_DNA_SEQ)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: get_idt_complexity() missing 1 required positional argument: 'seq'
>>> with requests.Session() as session:
... session.post(LOGIN_URL, data={FORM_FIELD_USER: USERNAME, FORM_FIELD_PASS: PASSWORD})
... get_idt_complexity(session, BAD_DNA_SEQ)
...
<Response [200]>
@zeroaltitude
zeroaltitude / non.txt
Created March 12, 2020 02:45
big data
[
{
"MappedAminoAcids": [
{
"AminoAcid": "M",
"ChosenCodonIndex": 0,
"Codons": [
{
"Fraction": 1,
"IsOriginal": true,
5887, 5888, 5889, 5890, 5892, 5894, 5899, 5900, 5901, 5904, 5909, 5911, 5914, 5915, 5916, 5919, 5920, 5924, 5928, 5931, 5932, 5933, 5936, 5937, 5939, 5945, 5947, 5948, 5949, 5950, 5951, 5952, 5953, 5954, 5955, 5956, 5957, 5958, 5960, 5961, 5962, 5964, 5967, 5968, 5969, 5971, 5973, 5978, 5980, 5981, 5982, 5983, 5985, 5987, 5988, 5990, 5991, 5992, 5993, 5994, 5997, 6002, 6006, 6009, 6010, 6012, 6013, 6015, 6016, 6046, 6094, 6104, 6105, 6113, 6114, 6115, 6119, 6122, 6124, 6128, 6130, 6198, 6208, 6233, 6234, 6235, 6238, 6239, 6240, 6242, 6244, 6245, 6246, 6247, 6250, 6251, 6256, 6258, 6259, 6260, 6261, 6263, 6265, 6267, 6269, 6275, 6276, 6278, 6279, 6281, 6283, 6286, 6287, 6288, 6289, 6290, 6291, 6292, 6293, 6296, 6298, 6300, 6302, 6303, 6304, 6305, 6306, 6309, 6311, 6315, 6316, 6318, 6321, 6322, 6323, 6324, 6326, 6334, 6336, 6337, 6338, 6369, 6423, 6485, 6487, 6488, 6489, 6490, 6492, 6494, 6496, 6499, 6576, 6581, 6592, 6600, 6622, 6624, 6625, 6627, 6628, 6631, 6632, 6635, 6638, 6644, 6653, 6657, 6658, 6661, 6663
@zeroaltitude
zeroaltitude / keybase.md
Created September 2, 2014 17:51
keybase.md

Keybase proof

I hereby claim:

  • I am zeroaltitude on github.
  • I am zeroaltitude (https://keybase.io/zeroaltitude) on keybase.
  • I have a public key whose fingerprint is 2FB4 ED61 E543 F0C3 3E18 0AFF D635 B1DD 503B E2AD

To claim this, I am signing this object:

(thalamus-venv)Administrators-MacBook-Pro:thalamus eddie$ run_ml
Starting run
Setting run id to 5
Loading files from S3
File ./Manifest_QC_Clinical_BW_012414.just_metabolon_samples.txt exists, skipping get from s3
File ./Manifest_QC_Clinical_BW_012414.txt exists, skipping get from s3
File ./counts_v2_genes_exons.gc.frozen_ref.txt exists, skipping get from s3
File ./counts_v2_genes_exons.gc.just_genes.frozen_ref.txt exists, skipping get from s3
File ./restricted_features_mx_lx_21Feb14.txt exists, skipping get from s3
File ./scaled_imp_mx_lx_formatted_21Feb14.txt exists, skipping get from s3
cc;Legal;CTO;dfw;01606;91107
Valerian Zigzag
1 Elliquiy Way
Internet, World 192.150.16.117
To whom it concerns:
It has come to our attention that you have used the trademarked (US Trademark Office, item #012-358-867-5309, 2013) term, "Knismets (tm)" without an appropriate designation of said trademark, or applicable secondary citation of said trademark.
@zeroaltitude
zeroaltitude / js html thing
Created August 16, 2013 04:53
Html for the Js timestamp cracker
<!doctype html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script src="fun.js"></script>
</head>
<body>
<p>
Hi. Let's solve some timestamps!
</p>
@zeroaltitude
zeroaltitude / timestamp_cracker
Last active December 21, 2015 03:49
Timestamp cracker, javascript
//
// Cracker for Ingress timestamps. YMMV. BBIAB. KK.
// See this page for example codes to test this with: https://gist.github.com/zeroaltitude/6213498
//
// Usage: main(<cipher> <hour> <trial number> <otp hash>)
//
// E.g.
//
// main('ISGDVWWJXCYSDRXDLSSOVOKIEUJNTVQLJSXQCLCYLRFEFYWVTZILMLACAKVTCCZJNOBYOJ', '2', '2', '7527D47FE0E8F422EE269B666C1A2CA2')
// !!!!!!!!!!! FOUND OTP/TIMESTAMP: WOGLBFSXTPFVKVJGDAVOCRRMQXVQRKCJZVSCIUFMDELLBGZVGWLGYRJJCNILPYCRJMNLLR/MEASUREMENTXTWOXISXATXTWOXOXCLOCKXFOURXMINUTESXANDXFOURTYXNINEXSECONDS
@zeroaltitude
zeroaltitude / timestamp_cracker
Last active December 21, 2015 01:19
Timestamp cracker, Python, version zeroaltitude
#!/usr/bin/env python -tt -3
# -*- coding: utf-8 -*-
# This code should be python 2 and python 3 safe -- use range() instead of xrange(), though
from __future__ import unicode_literals, print_function
import sys
import hashlib
from itertools import chain, product, permutations
from timeit import default_timer as timer
@zeroaltitude
zeroaltitude / Timestamps
Created August 12, 2013 18:19
Timestamp formats for thingy
2007-03-01T13:00:00Z