After install run
# start statsd
# start graphite
statsd is on 8125
port
graphite is on http://127.0.0.1:8080/
After install run
# start statsd
# start graphite
statsd is on 8125
port
graphite is on http://127.0.0.1:8080/
NO_COLOR=\033[0m | |
OK_COLOR=\033[32;01m | |
ERROR_COLOR=\033[31;01m | |
WARN_COLOR=\033[33;01m | |
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...) | |
deps: | |
@echo "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)" | |
@go get -d -v ./... | |
@echo $(DEPS) | xargs -n1 go get -d |
{ | |
"items": [ | |
{ | |
"simpleResponse": { | |
"textToSpeech":"This is the first simple response for a basic card" | |
} | |
}, | |
{ | |
"basicCard": { | |
"title":"Title: this is a title", |
// You can edit this code! | |
// Click here and start typing. | |
package main | |
import "fmt" | |
import "runtime" | |
import "strings" | |
func identifyPanic() string { | |
var name, file string |
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"strconv" | |
) | |
func main() { |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Le styles --> | |
<link href="../bootstrap/css/bootstrap.css" rel="stylesheet"> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script> | |
</head> | |
<body> |
package main | |
import ( | |
"compress/gzip" | |
"io" | |
"net/http" | |
"strings" | |
) | |
// Gzip Compression |
#!/bin/sh | |
# Mount an NFS share on Android | |
# Requirements: | |
# - Busybox | |
# - A kernel supporting nfs (either built-in or as a module) | |
# On my Nexus 7 2012 I use the following kernel: | |
# http://forum.xda-developers.com/showthread.php?t=2107224 | |
# Remember: if you have problems of system space, simply delete some of the default stuff. |
Add the `replication` section to the mongod.conf file: | |
``` | |
$cat /usr/local/etc/mongod.conf | |
systemLog: | |
destination: file | |
path: /usr/local/var/log/mongodb/mongo.log | |
logAppend: true | |
storage: | |
engine: mmapv1 |
1) Create a branch with the tag | |
git branch {tagname}-branch {tagname} | |
git checkout {tagname}-branch | |
2) Include the fix manually if it's just a change .... | |
git add . | |
git ci -m "Fix included" | |
or cherry-pick the commit, whatever is easier | |
git cherry-pick {num_commit} | |