Picked these from here
| Command | Note |
|---|---|
| Ctrl + a | go to the start of the command line |
| Ctrl + e | go to the end of the command line |
| Ctrl + k | delete from cursor to the end of the command line |
| package main | |
| import ( | |
| "bytes" | |
| "compress/gzip" | |
| "crypto/tls" | |
| "crypto/x509" | |
| "encoding/pem" | |
| "io/ioutil" | |
| "log" |
Picked these from here
| Command | Note |
|---|---|
| Ctrl + a | go to the start of the command line |
| Ctrl + e | go to the end of the command line |
| Ctrl + k | delete from cursor to the end of the command line |
| QUESTION: | |
| I have a simple MySQL table thats contains a list of categories, level is determined by parent_id: | |
| id name parent_id | |
| --------------------------- | |
| 1 Home 0 | |
| 2 About 1 | |
| 3 Contact 1 | |
| 4 Legal 2 | |
| 5 Privacy 4 |
| package main | |
| import ( | |
| "encoding/base64" | |
| "net/http" | |
| "strings" | |
| ) | |
| type handler func(w http.ResponseWriter, r *http.Request) |
Building web services - intro talk/video (24 mins)
Building web services - talk/video (90+ mins)
| <?php | |
| class BlogController extends Controller | |
| { | |
| /** | |
| * Posts | |
| * | |
| * @return void | |
| */ | |
| public function showPosts() |
| body { | |
| -webkit-font-smoothing: antialiased; | |
| text-rendering: optimizeLegibility; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| .tree-view-resizer, .editor { | |
| ::-webkit-scrollbar { | |
| width: 0.5em; | |
| height: 0.5em; |