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
| Initializing repository, done. | |
| Counting objects: 185, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (174/174), done. | |
| Writing objects: 100% (185/185), 31.05 KiB | 0 bytes/s, done. | |
| Total 185 (delta 108), reused 0 (delta 0) | |
| -----> Fetching custom git buildpack... done | |
| -----> Go app detected | |
| -----> Installing go1.2.2... done |
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> | |
| <title>Clustermap</title> | |
| <script type="text/javascript" src="pixi.js"></script> | |
| </head> | |
| <body> | |
| <script type="text/javascript"> | |
| // It works with pixi.js 1.6 |
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
| // I want to construct an URI for a project that a user created. | |
| function getProjectURI(userName, projectName, q) { | |
| return '/users/' + encodeURIComponent(userName) | |
| + '/projects/' + encodeURIComponent(projectName) | |
| + '?' + q; | |
| } | |
| function getProjectFragmentURI(userName, projectName, q) { | |
| return '?' + q | |
| + '#!/users/' + encodeURIComponent(userName) |
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 ( | |
| "errors" | |
| "log" | |
| "net/http" | |
| ) | |
| type Handler interface { | |
| ServeHTTPContext(w http.ResponseWriter, r *http.Request, c *Context) |
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 ( | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "strings" | |
| ) | |
| type Role int |
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 ( | |
| "database/sql" | |
| "encoding/json" | |
| "errors" | |
| "log" | |
| "strconv" | |
| ) |
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
| .git | |
| README.md |