I hereby claim:
- I am herman-rogers on github.
- I am hermanrogers (https://keybase.io/hermanrogers) on keybase.
- I have a public key ASDscZa-Co9YxTve3ta_lSFYjLa5mPH4ifxrqssf6LfXHQo
To claim this, I am signing this object:
Skill Improvement | |
https://www.freecodecamp.com/ | |
https://javascript30.com/ | |
Algorithm Improvement: | |
https://www.topcoder.com/my-dashboard | |
Raw Code Reads: |
type Messenger interface { | |
GetMessage() (*BuildServiceRequest, error) | |
DeleteMessage() error | |
} | |
type MessengerImpl struct { | |
session *sqsiface.SQSAPI // Need to use amazon's interface | |
message *sqs.Message | |
} |
type MrRobotMessage struct { | |
ArchivePath string `json:"archivepath"` | |
Project string `json:"project"` | |
EngineName string `json:"enginename"` | |
EnginePlatform string `json:"engineplatform"` | |
EngineVersion string `json:"engineversion"` | |
BuildrID string `json:"buildrid"` | |
BuildID string `json:"buildid"` | |
} |
type StructTest struct { | |
Name string | |
InterfaceTest InterfaceTest | |
} | |
type InterfaceTest interface { | |
TestMethod() | |
} |
Props stateTree = {name: "InitialState", value: 0}; | |
Props stateOneProps = { | |
name: "SceneOne" | |
value: 1 | |
} | |
Props stateTwoProps = { | |
name: "SceneTwo" | |
} |
func (engine Docker) RunContainer(image string) error { | |
ctx := context.Background() | |
env := []string{ | |
fmt.Sprintf("GCLOUD_PROJECT=%s", os.Getenv("GCLOUD_PROJECT")), | |
fmt.Sprintf("GCLOUD_SERVICE_KEY=%s", os.Getenv("GCLOUD_SERVICE_KEY")), | |
fmt.Sprintf("PAPERTRAIL_ENDPOINT=%s", os.Getenv(config.LogEndpoint)), | |
fmt.Sprintf("REGION=%s", os.Getenv(config.LogEndpoint)), | |
fmt.Sprintf("AWS_ACCESS_KEY_ID=%s", os.Getenv(config.LogEndpoint)), | |
fmt.Sprintf("AWS_SECRET_ACCESS_KEY=%s", os.Getenv(config.LogEndpoint)), | |
fmt.Sprintf("CODE_REPO_STORAGE=%s", os.Getenv(config.LogEndpoint)), |
function messageData(build) { | |
return { | |
id: build._id, | |
project: build.name, | |
enginename: build.engineName, | |
engineversion: build.engineVersion, | |
engineplatform: build.enginePlatform, | |
buildrid: build.buildrId, | |
repotype: build.scm, | |
repourl: build.scmUrl, |
I hereby claim:
To claim this, I am signing this object:
API_URL=http://ci.environment.com |
function mapValues(obj, fn) { | |
return Object.keys(obj).reduce((result, key) => { | |
result[key] = fn(obj[key], key); | |
return result; | |
}, {}); | |
} | |
function pick(obj, fn) { | |
return Object.keys(obj).reduce((result, key) => { | |
if (fn(obj[key])) { |