sudo -i
cd /config
mkdir openvpn
chmod 777 openvpn
package main | |
import ( | |
"fmt" | |
"github.com/jinzhu/gorm" | |
_ "github.com/jinzhu/gorm/dialects/postgres" | |
) | |
// Customer ... | |
type Customer struct { |
package main | |
import ( | |
"strings" | |
) | |
func main() { | |
strings.HasPrefix("foobar", "foo") // true | |
} |
// Tensorflow Serving Go client for the inception model | |
// go get github.com/golang/protobuf/ptypes/wrappers google.golang.org/grpc | |
// | |
// Compile the proto files: | |
// | |
// git clone https://github.com/tensorflow/serving.git | |
// git clone https://github.com/tensorflow/tensorflow.git | |
// | |
// mkdir -p vendor |
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |