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
| console.log("Hello world!"); |
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
| <?php | |
| function getStreamMetadata($streamUrl) { | |
| $needle = 'StreamTitle='; | |
| $ua = 'Dailymate Radio/1.0'; | |
| $opts = ['http' => ['method' => 'GET', | |
| 'header' => 'Icy-MetaData: 1', | |
| 'user_agent' => $ua] | |
| ]; |
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" | |
| ) | |
| func main() { | |
| conn, err := net.Dial("udp", "8.8.8.8:80") |
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/julienschmidt/httprouter" | |
| "html/template" | |
| "log" | |
| "net/http" | |
| ) | |
| func Home(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>My Title</title> | |
| </head> | |
| <body> | |
| <table> | |
| {{range .}} | |
| <tr> |
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/julienschmidt/httprouter" | |
| "html/template" | |
| "log" | |
| "net/http" | |
| ) | |
| func Home(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { |
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/julienschmidt/httprouter" | |
| "html/template" | |
| "log" | |
| "net/http" | |
| ) | |
| func Home(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>My Title</title> | |
| </head> | |
| <body> | |
| My name is {{.Name}} and my age is {{.Age}}. | |
| </body> | |
| </html> |
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/julienschmidt/httprouter" | |
| "html/template" | |
| "log" | |
| "net/http" | |
| ) | |
| func Home(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>My Title</title> | |
| </head> | |
| <body> | |
| My name is {{.}}. | |
| </body> | |
| </html> |
NewerOlder