View similar-tweets.json
{
"rows": [
"cell": [ "08/04/17 08:00:45", "MEXICAN - ATLANTE UTN", "Atlante", "#BuenD\u00eda #Azulgranas #YaEsViernes y tu coraz\u00f3n los sabe.\n\u00a1HOY juega el Potro!\n#TodosSomosAtlante https://t.co/lYh0VAjzzn", "893441576344723456", "Yes", "91.59", "tweet", "similarity-threshold" ] },
"cell": [ "08/03/17 18:04:42", "MEXICAN - ATLANTE UTN", "Atlante", "Acude a #LaPreviaAzulgrana en el #Andr\u00e9sQuintanaRoo antes del partido Atlante vs Celaya.\n#TodosSomosAtlante https://t.co/mU7ETBqLt7", "893231176705507332", "Yes", "93.62", "tweet", "similarity-threshold" ] },
"cell": [ "08/03/17 17:36:22", "MEXICAN - ATLANTE UTN", "Atlante", "A retomar el paso ganador: \n\u201cPotro\u201d Guti\u00e9rrez\n\n++ Atlante va ante Celaya ante su afici\u00f3n por su segundo triunfo... https://t.co/FECLUSFQW7", "893224045927436288", "Yes", "93.82", "tweet", "similarity-threshold" ] },
"cell": [ "08/03/17 12:19:23", "MEXICAN - ATLANTE UTN", "Atlante", "#LizandroEcheverr\u
View hack.js
function click_all_the_things() {
buttons = $('.sgbutton').toArray()
function clickbutton() {
console.log(buttons.length)
if(buttons.length > 0){
button = buttons.pop();
console.log("clicking button", button);
button.click();
View example.py
from bson.objectid import ObjectId
from analysis.tw import *
import pprint
client = pymongo.MongoClient('mongodb://algdev.sportsmanias.com')
db = client['sportmanias']['tweets']
parent = Tw(db.find_one({'id_str':'890067420207042561'}))
a = Tw(db.find_one({'id_str':'889706097598054400'}))
View clustering.py
import numpy as np
from sklearn.cluster import MeanShift, estimate_bandwidth
import os
import stat
files = ['archives/2017-07/{}'.format(f) for f in list(os.walk('archives/2017-07/'))[0][2]]
ar = []
arr = []
View curl_commad.sh
curl 'https://books.google.com/books/content?id=KJFXX0zox7MC&pg=PA10&img=1&zoom=3&hl=en&sig=ACfU3U0U0rYWMZiM6vueUddCdUMr6fn3Gg' \
-H 'pragma: no-cache' \
-H 'accept-encoding: gzip, deflate, br' \
-H 'accept-language: en-US,en;q=0.8' \
-H 'upgrade-insecure-requests: 1' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36' \
-H 'x-chrome-uma-enabled: 1' \
-H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' \
-H 'cache-control: no-cache' \
-H 'authority: books.google.com' \
View pet-snippet.toml
[[snippets]]
description = "Grep all files in a folder"
command = "grep -rn \"texthere\" ."
output = ""
[[snippets]]
description = "Sync only certain files using filters and rsync"
command = "rsync -rv --include '*/' --include '*something*' --exclude '*' --prune-empty-dirs Source/ Target/"
output = ""
View normal-quote.raw.json
[
{ "_id" : { "$oid" : "58d205734e6336f85a8b473e" }, "created_at" : { "$date" : "2017-03-22T05:02:41.000+0000" }, "id" : { "$numberLong" : "844414001492742150" }, "id_str" : "844414001492742150", "text" : "Arizona Women's Basketball's LaBrittney Jones Achieves On and Off the Court\nPhoto Cred: Douglas Taylor… https://t.co/CKsnV06Qxj", "display_text_range" : [ { "$numberLong" : "0" }, { "$numberLong" : "140" } ], "source" : "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>", "truncated" : true, "in_reply_to_status_id" : null, "in_reply_to_status_id_str" : null, "in_reply_to_user_id" : null, "in_reply_to_user_id_str" : null, "in_reply_to_screen_name" : null, "user" : { "id" : { "$numberLong" : "403798720" }, "id_str" : "403798720", "name" : "ZonaZealots Go Cats!", "screen_name" : "ZonaZealots", "location" : "Tucson, AZ", "url" : "http://www.ZonaZealots.com", "description" : "Zona Zealots is a Sports Illustrated http://Fansided.com site, get the latest in Arizona Wildcats sports news and op
View smart-quote.raw.json
[
{ "_id" : { "$oid" : "58d151084e63367a1e8b45da" }, "created_at" : { "$date" : "2017-03-21T16:12:55.000+0000" }, "id" : { "$numberLong" : "844220283263377409" }, "id_str" : "844220283263377409", "text" : "Women’s Basketball Set for WBI Semifinals with Milwaukee Thursday at Fleming Gymnasium https://t.co/QN4SZhGnXn #letsgoG", "source" : "<a href=\"https://about.twitter.com/products/tweetdeck\" rel=\"nofollow\">TweetDeck</a>", "truncated" : false, "in_reply_to_status_id" : null, "in_reply_to_status_id_str" : null, "in_reply_to_user_id" : null, "in_reply_to_user_id_str" : null, "in_reply_to_screen_name" : null, "user" : { "id" : { "$numberLong" : "29792721" }, "id_str" : "29792721", "name" : "UNCG Athletics", "screen_name" : "uncgsports", "location" : "Greensboro, NC", "url" : "http://www.uncgspartans.com", "description" : "The official twitter account of UNCG Athletics. Located on the web at http://www.uncgspartans.com", "protected" : false, "verified" : true, "followers_count" : { "$numberLong" : "7130" }, "f
View 3000-words.txt
a
abandon
ability
able
abortion
about
above
abroad
absence
absolute