Skip to content

Instantly share code, notes, and snippets.


Jacqui Lough jacqui

View GitHub Profile
View fcc_open_internet.json
"Blocks": [
"Id": "2",
"Type": "tofile",
"Rule": {
"Filename": "doc.json"
"Position": {
"X": 409.991455078125,
View streamtoolscrisis.json
{"Blocks":[{"Id":"1","Type":"webRequest","Rule":{"BodyPath":".","Headers":{"Content-Type":"'application/json'"},"Method":"GET","Url":"","UrlPath":""},"Position":{"X":337,"Y":197}},{"Id":"20","Type":"unpack","Rule":{"Path":""},"Position":{"X":369,"Y":273}},{"Id":"16","Type":"histogram","Rule":{"Path":".name","Window":"1h40m0s"},"Position":{"X":493,"Y":533}},{"Id":"5","Type":"bang","Rule":null,"Position":{"X":306,"Y":120}},{"Id":"8","Type":"tolog","Rule":null,"Position":{"X":320,"Y":511}},{"Id":"23","Type":"unpack","Rule":{"Path":".tags"},"Position":{"X":452,"Y":434}},{"Id":"26","Type":"filter","Rule":{"Filter":"$exists(., 'tags')"},"Position":{"X":407,"Y":346}}],"Connections":[{"Id":"11","FromId":"5","ToId":"1","ToRoute":"in"},{"Id":"21","FromId":"1","ToId":"20","ToRoute":"in"},{"Id":"27","FromId":"20","ToId":"26","ToRoute":"in"},{"Id":"28","FromId":"26","ToId":"23","ToRoute":"in"},{"Id":"29","FromId":"23","ToId":"8","ToRoute":"in"},{"Id":"30",
jacqui / redis_psub.json
Created Jul 21, 2014
Streamtools pattern for getting psub data out of redis
View redis_psub.json
"Blocks": [
"Id": "1",
"Type": "redis",
"Rule": {
"Arguments": [
"Command": "PSUBSCRIBE",
jacqui /
Created May 8, 2014
my notes from @jprbnsn and @brnstz's GopherCon recap
jacqui / fontawesome.html
Created Apr 25, 2014
sample font awesome
View fontawesome.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="css/font-awesome.min.css">
jacqui /
Last active Aug 29, 2015
Streamtools Ideas

Streamtools Ideas


  • IRC
  • email (SMTP or IMAP reader?)
  • RSS/atom
  • IFTT
jacqui / allmytweets.txt
Created Jan 26, 2014
all of "kingmickeyp"'s tweets
View allmytweets.txt
@ejacqui hahahaha fuck you. don't call the cops when you're in trouble you dumb cunt #rat 🐀 Jan 25, 2014
@Clemenparty and 1 in my bed #YourMom Jan 25, 2014
@Clemenparty Yeah. Pedicures are in douchebag. What's weird is being 22 and not partying ur face off on a Saturday #pussy Jan 25, 2014
RT @TimboSlice8: First ever Stadium Club Fièsta. Free mustaches and a piñata filled with live bee's at midnight. Jan 25, 2014
“@Mikey_Wagz: Fireballs at 2pm should be illegal” mandatory** Jan 25, 2014
RT @kelseywilsonn: @kingmickeyp 10.5 Jan 25, 2014
@ejacqui ur a beat off with no friends Jan 25, 2014
@vickaloo LOL 😂 Jan 25, 2014
@vickaloo @KatlinBewley ur beatoff boyfriend slept w me. Woke up w his leg around me Jan 25, 2014
@HOPondees I will do that favor right noe. Jan 25, 2014
View gist:6093737
If you have an OO background - or have read Sandy Metz’ book [link] - you’ll notice something about this conventional Rails code. Not only is it a huge mess of dependencies, it violates damn near every part of SOLID object-oriented design [link to] that we practice as a means of keeping our code nimble.
View dirtyword.rb
require 'sinatra'
require 'sanitize'
TO_REMOVE = ["", " ", "&nbsp;"]
get '/' do
<form method="post" action="sanitize">
<textarea name="dirty" style="width:100%;height:800px;"></textarea>
<input type="submit" value="Submit">
You can’t perform that action at this time.