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" | |
| "net/http" | |
| "github.com/gorilla/mux" | |
| ) | |
| func main() { |
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 whatever | |
| import ( | |
| "crypto/rand" | |
| "crypto/rsa" | |
| "crypto/x509" | |
| "encoding/base64" | |
| "encoding/pem" | |
| "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
| # rados lspools | |
| rbd | |
| test-pool-1446740062-eeddb785027bf960 | |
| test-pool-1446740062-d0a10528b0307445 | |
| blah | |
| # rados mkpool lol | |
| successfully created pool lol | |
| # rados --pool rbd create blah | |
| 2015-11-05 16:16:33.254545 7f9ef15da700 0 -- 127.0.0.1:0/1001947 >> 127.0.0.1:6800/197 pipe(0x34dc2b0 sd=4 :0 s=1 pgs=0 cs=0 l=1 c=0x34d1cd0).fault |
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" | |
| "net" | |
| "net/http" | |
| "sync" | |
| ) |
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" | |
| "net" | |
| "net/http" | |
| ) | |
| type IPResponse struct { |
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
| default: | |
| auth: | |
| community: thisisasecret | |
| walk: | |
| - 1.3.6.1.2.1.1.3 | |
| - 1.3.6.1.2.1.2 | |
| - 1.3.6.1.2.1.31.1.1 | |
| metrics: | |
| - name: sysUpTime | |
| oid: 1.3.6.1.2.1.1.3 |
OlderNewer