Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| package main | |
| import ( | |
| "crypto/tls" | |
| "crypto/x509" | |
| "fmt" | |
| "io" | |
| "log" | |
| ) |
| package main | |
| import ( | |
| "bufio" | |
| "log" | |
| "net/rpc" | |
| "os" | |
| ) | |
| func main() { |
| Operations | POST | PUT | GET | HEAD | DELETE | REPLICATE | |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| split_path | split_path | split_path | split_path | split_path | split_path | |
| validate_device_partition | validate_device_partition | validate_device_partition | validate_device_partition | validate_device_partition | validate_device_partition | |
| X-timestamp check | X-timestamp check | | | X-timestamp check | | |
| | check_object_creation | | | | | |
| Delete-at check |
| Parameter | |
| Operations | POST | PUT | GET | HEAD | DELETE | REPLICATE | |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| device | mount_check | mount_check | mount_check | mount_check | mount_check | mount_check | |
| | DiskFile | DiskFile | DiskFile | DiskFile | DiskFile | | |
| | | Log-transfer-rate | | | | | |
| | delete_at_update | delete_at_update | | | delete_at_update | | |
| | | contain |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/bin/bash | |
| # Parameters | |
| socket="/run/foo.sock" | |
| dump="/tmp/capture.pcap" | |
| # Extract repetition | |
| port=9876 | |
| source_socket="$(dirname "${socket}")/$(basename "${socket}").orig" |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
| package main | |
| // Restorer holds a function that can be used | |
| // to restore some previous state. | |
| type Restorer func() | |
| // Restore restores some previous state. | |
| func (r Restorer) Restore() { | |
| r() | |
| } |
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)| package main | |
| import ( | |
| "encoding/json" | |
| "flag" | |
| "io" | |
| "net/http" | |
| "github.com/golang/glog" | |
| "golang.org/x/net/websocket" |