Skip to content

Instantly share code, notes, and snippets.

View jordanorelli's full-sized avatar
🎴

Jordan Orelli jordanorelli

🎴
View GitHub Profile
@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 / {
package main
import (
"fmt"
"log"
"net"
"net/http"
"os"
)
package main
import (
"bufio"
"log"
"net"
)
func handle(conn *net.TCPConn) {
defer conn.Close()
package main
import (
"html/template"
"log"
"net/http"
// "sync"
// "unsafe"
)