This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getCookie(cname) { // Stolen From -> https://www.w3schools.com/js/js_cookies.asp | |
var name = cname + "="; | |
var decodedCookie = decodeURIComponent(document.cookie); | |
var ca = decodedCookie.split(';'); | |
for(var i = 0; i <ca.length; i++) { | |
var c = ca[i]; | |
while (c.charAt(0) == ' ') { | |
c = c.substring(1); | |
} | |
if (c.indexOf(name) == 0) { |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"chapter": "1", | |
"book": "Genesis", | |
"verse": "1", | |
"text": "In the beginning God created the heaven and the earth." | |
}, | |
{ | |
"chapter": "1", | |
"book": "Genesis", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
# Terrible Data Dumper for Gab Data | |
# | |
# https://archive.org/details/Gab-Scrape-01092017-050518 | |
# https://archive.org/details/Gab-Scrape-03272017 | |
# | |
# Put script in same directory as download, and use. | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
import json | |
import lzma | |
import redis | |
import glob | |
from datetime import timedelta | |
r = redis.Redis() | |
ids = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
import redis | |
r = redis.Redis() | |
print("LOADING...") | |
k = r.keys("GABPOST*") | |
print("SORTING...") | |
y = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
import orjson | |
from datetime import datetime | |
strp = "%Y-%m-%dT%H:%M:%S+00:00" | |
with open("gab_posts.json", 'r') as f: | |
for line in f: | |
j = orjson.loads(line) | |
d = datetime.strptime(j['created_at'], strp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"2016-08-10":24, | |
"2016-08-11":22, | |
"2016-08-12":14, | |
"2016-08-13":10, | |
"2016-08-14":30, | |
"2016-08-15":45, | |
"2016-08-16":1094, | |
"2016-08-17":1247, | |
"2016-08-18":1701, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
import orjson as json | |
accounts_have_posted = 0 | |
accounts_have_posted_10 = 0 | |
no_data = 0 | |
with open('/xs/Archive-Gab/ddosecrets_gabdump.json') as f: | |
for line in f: | |
j = json.loads(line) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"2016-08-10":29, | |
"2016-08-11":16, | |
"2016-08-12":7, | |
"2016-08-13":5, | |
"2016-08-14":4, | |
"2016-08-15":20, | |
"2016-08-16":113, | |
"2016-08-17":32, | |
"2016-08-18":51, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
import orjson as json | |
from datetime import datetime | |
import dateutil.parser | |
import collections | |
dates = {} | |
with open('/xs/Archive-Gab/ddosecrets_gabdump.json') as f: | |
for line in f: |
OlderNewer