I hereby claim:
- I am aarongodin on github.
- I am aarongodin (https://keybase.io/aarongodin) on keybase.
- I have a public key ASC3xDBmsI6x-7Bu0jcqPezRWmylOwwDrSc_0C2mfN0Vuwo
To claim this, I am signing this object:
use core { println } | |
Item :: struct { | |
value: str; | |
} | |
Other :: struct { | |
value: i32; | |
} |
# new-pull-request | |
## Outcome | |
I've submitted my code for review and ensured confidence in the proposed changes. | |
## Prereqs | |
* My code is up to date in the remote repo in a branch off main. | |
* There are no dangling files to be saved or committed. |
# runbook-title | |
## Outcome | |
> Define an outcome. In 1-2 sentences, what should be the result | |
> of exercising this runbook. | |
## Prereqs | |
> Outline anything that must be done before executing this runbook. |
I hereby claim:
To claim this, I am signing this object:
import expect from "expect" | |
import lodash from "lodash" | |
function objectToNestedExpectations(input: any) { | |
const target = {} as any | |
for (const [key, value] of Object.entries(input)) { | |
if (lodash.isPlainObject(value)) { | |
target[key] = objectToNestedExpectations(value) | |
} else { |
num = 50 | |
str1 = %(my num is #{num}) | |
str1 = %[my num is #{num}] | |
str1 = %{my num is #{num}} | |
str1 = %<my num is #{num}> | |
str1 = %|my num is #{num}| |
defaults write com.googlecode.iterm2 DisableWindowSizeSnap -integer 1 |
require "json" | |
def boop(props : JSON::Type) | |
puts props | |
end | |
boop({ "test" => "test" }) # => {"test" => "test"} | |
# This has a compile error | |
# |
import React from 'react'; | |
const EmailValidator = { | |
validate: (input) => { | |
return input.match && input.match(/\S+@\S+(\.\S{2,3})+/); | |
}, | |
createErrorMessage: () => { | |
return 'Input was not a valid email'; | |
} |
function queryString (object) { | |
return Object.keys(object) | |
.reduce(function (collect, key, index, keys) { | |
collect.push(key + '=' + encodeURIComponent(object[key])) | |
return collect | |
}, []) | |
.join('&') | |
} | |
// Usage |