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 ( | |
| "myapp/webserver/app/common" | |
| "github.com/golang/glog" | |
| "github.com/gorilla/mux" | |
| "encoding/json" | |
| "strconv" | |
| "flag" | |
| "fmt" | 
  
    
      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
    
  
  
    
  | // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console | 
  
    
      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
    
  
  
    
  | My name is {{.Name}} and I'm {{.Age}} years old!! | 
  
    
      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
    
  
  
    
  | @import url(http://fonts.googleapis.com/css?family=Raleway:700,800); | |
| html, body { margin: 0; } | |
| :focus { outline: none; } | |
| ::-webkit-input-placeholder { color: #DEDFDF; } | |
| ::-moz-placeholder { color: #DEDFDF; } | |
| :-moz-placeholder { color: #DEDFDF; } | |
| ::-ms-input-placeholder { color: #DEDFDF; } | 
  
    
      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 "net" | |
| import "fmt" | |
| func main() { | |
| fmt.Println(IsPrivateIP("111.11.191.17")) | |
| fmt.Println(IsPrivateIP("192.168.0.100")) | |
| fmt.Println(IsPrivateIP("10.0.8.100")) | |
| } | 
  
    
      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 ( | |
| "io" | |
| "log" | |
| "mime/multipart" | |
| "net/http" | |
| "os" | |
| "path/filepath" | |
| "runtime" | 
NewerOlder