Skip to content

Instantly share code, notes, and snippets.

View jordanorelli's full-sized avatar
🎴

Jordan Orelli jordanorelli

🎴
View GitHub Profile
@jordanorelli
jordanorelli / game.txt
Created September 18, 2019 14:57
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[61,"0",44,"f",115,"0",22,"f",1,"6",22,"f",115,"0",21,"f",2,"6",5,"f",1,"6",7,"f",3,"6",6,"f",115,"0",9,"f",5,"5",6,"f",4,"6",4,"f",1,"6",7,"f",1,"6",1,"f",1,"6",2,"f",3,"6",1,"f",115,"0",7,"f",3,"5",3,"b",2,"5",4,"f",3,"6",6,"f",1,"6",6,"f",1,"6",2,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",6,"f",3,"5",5,"b",1,"5",4,"f",1,"6",1,"f",1,"6",6,"f",1,"6",6,"f",2,"6",1,"f",1,"6",2,"f",1,"6",1,"f",1,"6",1,"f",115,"0",5,"f",2,"5",7,"b",1,"5",4,"f",3,"6",6,"f",1,"6",7,"f",3,"6",2,"f",3,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",3,"6",4,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",1,"5",2,"b",3,"4",3,"b",1,"5",6,"f",1,"6",1,"f",2,"6",3,"f",1,"6",9,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",3,"b",2,"5",6,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",4,"f",2,"5",2,"b",2,"4",2,"b",2,"5",5,"f",1,"6",1,"f",1,"6",2,"f",1,"6",3,"f",1,"6",2,"f",2,"6",5,"f",1,"6",4,"f",1,"6",1,"f",115,"0",5,"f",8,"
@jordanorelli
jordanorelli / game.txt
Created September 18, 2019 14:48
flickgame
{"gameLink":"www.flickgame.org","canvasses":[[4035,"0",8,"d",151,"0",10,"d",149,"0",12,"d",148,"0",12,"d",147,"0",14,"d",146,"0",6,"d",2,"0",6,"d",145,"0",6,"d",4,"0",6,"d",144,"0",6,"d",4,"0",6,"d",143,"0",6,"d",6,"0",6,"d",142,"0",6,"d",6,"0",6,"d",142,"0",5,"d",8,"0",5,"d",5,"0",5,"d",131,"0",6,"d",8,"0",5,"d",4,"0",7,"d",13,"0",3,"d",114,"0",6,"d",8,"0",6,"d",2,"0",15,"d",4,"0",6,"d",113,"0",5,"d",9,"0",6,"d",1,"0",26,"d",112,"0",6,"d",10,"0",5,"d",1,"0",26,"d",112,"0",6,"d",10,"0",32,"d",112,"0",5,"d",11,"0",31,"d",113,"0",5,"d",11,"0",19,"d",1,"0",9,"d",115,"0",5,"d",10,"0",20,"d",125,"0",5,"d",8,"0",21,"d",126,"0",6,"d",6,"0",20,"d",128,"0",6,"d",4,"0",19,"d",132,"0",5,"d",3,"0",19,"d",134,"0",3,"d",2,"0",14,"d",1,"0",5,"d",139,"0",15,"d",144,"0",9,"d",1,"0",6,"d",143,"0",8,"d",3,"0",5,"d",143,"0",8,"d",3,"0",6,"d",142,"0",7,"d",5,"0",6,"d",141,"0",7,"d",5,"0",6,"d",142,"0",6,"d",6,"0",6,"d",141,"0",6,"d",6,"0",6,"d",142,"0",6,"d",5,"0",7,"d",142,"0",5,"d",5,"0",7,"d",142,"0",6,"d",4,"0",7,"d",143,"0",
@jordanorelli
jordanorelli / hostapd.conf
Last active October 26, 2023 13:13
Raspberry Pi 3 B+ access point config
# this is the built-in wifi chip
interface=wlan0
driver=nl80211
ssid=jorelli's raspberry pi
# this config got me 30mbps
# this is 2.4GHz 802.11n configuration
############################################
@jordanorelli
jordanorelli / got-s7e1.md
Last active February 25, 2018 20:02
GoT predictions before Season 7 premiere

I'm writing this off the top of my head the day that Season 7 premieres. I haven't used any reference materials, I'm just jotting down my pre-season predictions so that I can review them at the end of the season.

  • Daenerys will likely be instrumental in fighting the walkers. She'll be seen as a hero in season 7 but she's actually the final boss of season 8 and therefore the series.
  • Daenerys will go mad with power and become the season 8 villain.
  • Bran is named after Bran the Builder because Bran the Builder is Bran, because of time travel.
diff --git a/modules/blobcast.js b/modules/blobcast.js
index a1c2e8f..e4e66b7 100644
--- a/modules/blobcast.js
+++ b/modules/blobcast.js
@@ -28,7 +28,9 @@ function BlobCast(cfg)
this.sessionModules = require('./session-modules').setup(cfg);
- this.serverManager.resetServer();
+ this.serverManager.resetServer(function(err) {
diff --git a/main.go b/main.go
index 3f9169b..edd5f4f 100644
--- a/main.go
+++ b/main.go
@@ -1,26 +1,49 @@
package main
import (
+ "flag"
"github.com/symondsandson/stats/scanner"
diff --git a/main.go b/main.go
index 3f9169b..edd5f4f 100644
--- a/main.go
+++ b/main.go
@@ -1,26 +1,49 @@
package main
import (
+ "flag"
"github.com/symondsandson/stats/scanner"
package main
import (
"flag"
"fmt"
"log"
"net"
"os"
"os/signal"
"time"
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://unix:/tmp/example-sockets/$http_example_socket:/;
proxy_set_header Host $host;
proxy_set_header Port $remote_addr;
}
}
server {
listen 9500;
server_name beta.rumblemonkey.com;
# This header enables the Cross-site scripting (XSS) filter
# add_header X-XSS-Protection "1; mode=block";
ssl off;
location / {