Skip to content

Instantly share code, notes, and snippets.

View jm3's full-sized avatar
💭
code

John Manoogian III jm3

💭
code
View GitHub Profile
@jm3
jm3 / Interesting Gems.md
Last active April 18, 2016 21:53
interesting gems to play with
@jm3
jm3 / twitter_user_timeline_search.rb
Created March 30, 2011 05:14 — forked from sferik/twitter_user_timeline_search.rb
download all Tweets using ruby
#!/usr/bin/env ruby
require 'twitter'
user = "bongs"
query = /dongs/i
(1..16).each do |page|
Twitter.user_timeline(user, :page => page, :count => 200).each do |tweet|
puts tweet.id.to_s + ": " + tweet.text if query.match(tweet.text)
end
@jm3
jm3 / dirty words list from google.txt
Last active November 25, 2023 18:58 — forked from jamiew/google_twunter_lol
Dirty word list (via GOOG + jamiew)
4r5e
5h1t
5hit
a55
anal
anus
ar5e
arrse
arse
ass
@jm3
jm3 / stock-image-services.md
Last active September 28, 2015 11:58
stock image services from Lau
@jm3
jm3 / patents.txt
Last active October 4, 2015 16:38
pmarca + peter thiel on patents
Marc Andreessen: There are some areas in tech—drugs and mechanical equipment,
for instance—where parents are fundamental. In these areas there are long
established historical norms for who gets to do what. But in software, things
change extremely quickly. The big companies used to have huge war chests full
of patents and use them to squash little guys. Now they’re fighting each
other. The ultimate terminal state of big companies seems to be a state in
which they build nothing. Instead, they just add 10,000 patents to their
portfolio every year and try to extract money through licensing. It’d be nice
if none of this were the case. But it’s not startups’ fault that the patent
system is broken. So if you have a startup, you just have to fight through it.
@jm3
jm3 / jm3-redis-stats.R
Created May 12, 2012 22:11
jm3-redis-stats
# aggregate stats from redis from our tweet research
# util: pretty-print bignums w/commas for readability
pp <- function(x){
format( x, big.mark=",", scientific=FALSE)
}
# open up access to redis data
library(rredis)
redisConnect()
@jm3
jm3 / jm3-tweet-stats.txt
Created May 20, 2012 19:15
tweet stats calculated with R
> summary(tweets)
date tweet tweet_id hashtag at_mention at_message
Min. :2006-12-12 06:40:00 Length:3352 10013526554: 1 Mode :logical Mode :logical Mode :logical
1st Qu.:2008-07-11 14:42:00 Class :character 10013835266: 1 FALSE:3005 FALSE:1746 FALSE:2752
Median :2009-12-19 14:03:00 Mode :character 10032221537: 1 TRUE :347 TRUE :1606 TRUE :600
Mean :2009-06-15 05:59:36 1003282393 : 1 NA's :0 NA's :0 NA's :0
3rd Qu.:2010-05-31 20:23:00 1004226635 : 1
Max. :2012-05-18 00:42:00 100425822 : 1
(Other) :3346
RT link proof_related link_pos.start
@jm3
jm3 / tweet-terms.txt
Created May 21, 2012 00:00
common tweet terms!
[1] "\024" "\031" "\034" "\035" "ad" "ads" "ah" "amazing" "api"
[10] "app" "apple" "apps" "article" "attention" "awesome" "ayn" "bad" "beautiful"
[19] "black" "blog" "breaking" "browser" "build" "building" "built" "business" "buy"
[28] "buzz" "call" "cant" "cc" "check" "chrome" "class" "code" "companies"
[37] "company" "cool" "creative" "cstoller" "data" "day" "design" "designers" "detroit"
[46] "didnt" "don\031" "dont" "dude" "dugsong" "echofon" "eg" "epic" "essl"
[55] "facebook" "favorite" "feel" "follow" "free" "friends" "fun" "funny
@jm3
jm3 / DHS-flagged-word-list.md
Last active June 21, 2023 03:59
DHS flagged word list

via: Analyst-Desktop-Binder-REDACTED.pdf and the Daily Mail UK

In addition to the following list of terms, the DHS can also add additional search terms circumstantially as deemed necessary.

DHS Media Monitoring Terms

2.13 Key Words & Search Terms

This is a current list of terms that will be used by the NOC when monitoring