Skip to content

Instantly share code, notes, and snippets.

@fredbenenson
fredbenenson / app.R
Created June 20, 2019 20:13
Tweet Explore
# install.packages("mongolite")
require("mongolite")
require("tidyverse")
require("lubridate")
library(DT)
connection <- mongo(collection = "tweets", db = "tweets", url = "mongodb://localhost")
query <- '{
"$and": [
@fredbenenson
fredbenenson / generate_unicode.rb
Created October 8, 2019 00:23
Generate Unicode
#!/usr/bin/env ruby
# encoding: utf-8
require "unicode/name"
require "csv"
require "slugify"
(4884..4886).each do |char|
begin