This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| docker run -t -i --rm -p 8001:8001 -p 8080:8080 -p 4200:4200 -p 3000:3000 -p 8000:8000 -p 9000:9000 -p 35729:35729 --volumes-from my-data hourback/docker-ember.js-and-go |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "log" | |
| "net/http" | |
| "strconv" | |
| "os" | |
| "github.com/emicklei/go-restful" | |
| "github.com/emicklei/go-restful/swagger" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "strconv" | |
| "os" | |
| "github.com/emicklei/go-restful" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| _ "github.com/lib/pq" | |
| //"database/sql" | |
| //"github.com/jmoiron/sqlx" | |
| "log" | |
| "io" | |
| "net/http" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| _ "github.com/lib/pq" | |
| //"database/sql" | |
| //"github.com/jmoiron/sqlx" | |
| "log" | |
| "io" | |
| "net/http" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| _ "github.com/lib/pq" | |
| //"database/sql" | |
| //"github.com/jmoiron/sqlx" | |
| "log" | |
| "io" | |
| "net/http" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| _ "github.com/lib/pq" | |
| //"database/sql" | |
| //"github.com/jmoiron/sqlx" | |
| "log" | |
| "io" | |
| "net/http" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"notification":{"status":"vvvvvvvvvvvvv","date_opened":null,"time_opened":null,"date_closed":null,"time_closed":null,"subsystem_affected":null,"who_resolved_it":null,"who_sent_it":null,"reason":null,"impact":null,"resolution":null,"description_of_problem":"vvvvvvvvvvvvv","downtime_date_begin":null,"downtime_time_begin":null,"number_of_days":null,"number_of_hours":null,"number_of_minutes":null,"downtime_date_end":null,"downtime_time_end":null,"notification_number":null,"begin_user":null,"end_user":null,"subject":null}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2014/10/02 22:13:27 Entering PostNotification.... | |
| 2014/10/02 22:13:27 &{0xc210047240 {<nil>}} | |
| 2014/10/02 22:13:27 decoder is: &{0x976c20 [] {[] 0 {<nil> false [] <nil> false 0 <nil> 0} {<nil> false [] <nil> false 0 <nil> 0} <nil | |
| > false} {<nil> false [] <nil> false 0 <nil> 0} <nil>} | |
| 2014/10/02 22:13:27 http: panic serving 192.168.59.3:24847: EOF | |
| goroutine 3 [running]: | |
| net/http.func·009() | |
| /usr/lib/go/src/pkg/net/http/server.go:1093 +0xae | |
| runtime.panic(0x651de0, 0xc21000a030) | |
| /usr/lib/go/src/pkg/runtime/panic.c:248 +0x106 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REM archive.ubuntu.com | |
| route add 91.189.92.201 mask 255.255.255.255 172.16.1.1 | |
| route add 91.189.92.200 mask 255.255.255.255 172.16.1.1 | |
| route add 91.189.91.15 mask 255.255.255.255 172.16.1.1 | |
| route add 91.189.91.14 mask 255.255.255.255 172.16.1.1 | |
| route add 91.189.91.13 mask 255.255.255.255 172.16.1.1 | |
| route add 91.189.88.153 mask 255.255.255.255 172.16.1.1 | |
| route add 91.189.88.149 mask 255.255.255.255 172.16.1.1 | |
| REM pastebin.com | |
| route add 190.93.241.15 mask 255.255.255.255 172.16.1.1 |