create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
<script> | |
var sec=60,min=14,runTimer,idleTimeCounter; | |
$(document).ready(function(){ | |
idleTimeCheck(); | |
value = 'com.odr.core.domain.LoggedInUsers@1aea2956'; | |
console.log("Session1 ="+value); | |
}); | |
function idleTimeCheck() | |
{ |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,Latency,IdleTime,Connect | |
2018/07/13 12:48:03,262,359 /login,200,OK,Thread Group 1-1,text,true,,1356,411,1,1,261,0,244 | |
2018/07/13 12:48:03,19,360 /bundle.css,200,OK,Thread Group 1-1,text,true,,53006,435,1,1,12,0,0 | |
2018/07/13 12:48:03,2,361 /bundle.js,200,OK,Thread Group 1-1,text,true,,1998,419,1,1,2,0,0 | |
2018/07/13 12:48:03,3,368 /assets/config.json,200,OK,Thread Group 1-1,text,true,,451,462,1,1,3,0,0 | |
2018/07/13 12:48:03,286,359 /login,200,OK,"Number of samples in transaction : 4, number of failing samples : 0",Thread Group 1-1,TRUE,,56811,1727,1,1,278,0,244 |
import ( | |
"fmt" | |
"io" | |
"os" | |
) | |
/* | |
GoLang: os.Rename() give error "invalid cross-device link" for Docker container with Volumes. | |
MoveFile(source, destination) will work moving file between folders | |
*/ |
Golang Simple HTTP Server
getHTTPServer
Base function Allows you to create a simple Http test server. It accepts response as a string and response code as int.
You can get the URL of test server from getTestHTTPServerWithURLPath
For HTTP use getTestHTTPServer
and for HTTPS use getTestHTTPSServer
. Both are wrapper over getTestHTTPServerWithURLPath
.
You will be able to get test server url using getTestHTTPServer(`{'result':'test result'}`, 200)
for Http server and getTestHTTPSServer(`{'result':'test result'}`, 200)
for Https server.
syntax = "proto3"; | |
package car; | |
import "common/vehicle_info.proto"; | |
message Car { | |
vehicle.Vehicle info = 1; | |
string carType = 2; | |
} |