I hereby claim:
- I am ryansn on github.
- I am rchatterton (https://keybase.io/rchatterton) on keybase.
- I have a public key whose fingerprint is CA84 5F4E 4F9A CE02 2FA3 7489 23BF 6811 F26D E4E3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{"version":1.02,"files":[{"file":".DS_Store","content":{"type":"Buffer","data":[0,0,0,1,66,117,100,49,0,0,16,0,0,0,8,0,0,0,16,0,0,0,0,135,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,1,0,0,16,0,0,97,0,103,0,101,0,115,118,83,114,110,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,8,0,112,0,97,0,99,0,107,0,97,0,103,0,101,0,115,118,83,114,110,108,111,110,103,0,0,0,1,0,0,0,7,0,115,0,116,0,111,0,114,0,97,0,103,0,101,118,83,114,110,108,111,110,103,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 |
function almostIncreasingSequence(sequence) { | |
var found = false; | |
for (var i=0;i<sequence.length;i++) { | |
if(sequence[i] <= sequence[i-1]) { | |
if(found) { | |
return false; | |
} | |
found = true; | |
if(i === 1 || i + 1 === sequence.length) { |
module.exports = pivot | |
function pivot(recordSet) { | |
/* | |
recordSet is an array of records: | |
[{foo: 1311, bar: "cat", zzz: 124.31}, | |
{foo: 41, bar: 11}, | |
{foo: 159, bar: 41, aaa: 12, zzz: 55}] | |
The goal is to pivot this structure: |
cat > openssl.cnf <<-EOF | |
[req] | |
distinguished_name = req_distinguished_name | |
x509_extensions = v3_req | |
prompt = no | |
[req_distinguished_name] | |
CN = *.dev | |
[v3_req] | |
keyUsage = keyEncipherment, dataEncipherment | |
extendedKeyUsage = serverAuth |
# code --list-extensions | xargs -L 1 echo code --install-extension | |
code --install-extension 2gua.rainbow-brackets | |
code --install-extension Kasik96.format-indent | |
code --install-extension alefragnani.project-manager | |
code --install-extension arcticicestudio.nord-visual-studio-code | |
code --install-extension asvetliakov.snapshot-tools | |
code --install-extension cmstead.jsrefactor | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension eamodio.gitlens | |
code --install-extension emmanuelbeziat.vscode-great-icons |