create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
<?php | |
trait Singleton | |
{ | |
private static $_instance; | |
private function __construct(){} | |
public function __clone() | |
{ | |
throw new Exception('This object cannot be cloned!'); |
#!/bin/bash | |
# myapp daemon | |
# chkconfig: 345 20 80 | |
# description: myapp daemon | |
# processname: myapp | |
DAEMON_PATH="/home/wes/Development/projects/myapp" | |
DAEMON=myapp | |
DAEMONOPTS="-my opts" |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# | |
# Count the number of positive integers less | |
# than N that does not contains digit 4. | |
# | |
# Source: http://www.careercup.com/question?id=4752301805797376 | |
class PositiveNonFour | |
def count_integers_non_four_less_than(max, strategy = :brute_force) | |
@filter = 4 |
nc, _ := nats.Connect(nats.DefaultURL) | |
body := []byte(`{"status":"verification_pending", "verification_done"}`) | |
msg, err := nc.Request("workflow.get.next", body, 10*time.Millisecond) | |
nc.Close(); |
{ | |
"arcs": [ | |
{ | |
"from": "initialized", | |
"to": "verification_pending", | |
"when": "verify" | |
}, | |
{ | |
"from": "verification_pending", | |
"to": "to_transcode", |
I hereby claim:
To claim this, I am signing this object:
type Cart struct { | |
Account int `json:"account_number"` | |
Fruits []string `json:"fruits"` | |
} | |
cart := &Cart{ | |
Account: 1, | |
Fruits: []string{"apple", "peach", "pear"}} | |
} |