I hereby claim:
- I am rhydianjenkins on github.
- I am rljenkins (https://keybase.io/rljenkins) on keybase.
- I have a public key ASDVg5slFSvIhEgf2cenb1dHGMF2ijLd38czpsYVcjc5bAo
To claim this, I am signing this object:
#!/usr/bin/bash | |
for i in {1..1000} ; do | |
NAME='unsplash_wallpaper_'${i} | |
wget -q -O $NAME.jpg https://unsplash.it/7680/4320/?random | |
echo "Downloaded "${NAME} | |
done |
I hereby claim:
To claim this, I am signing this object:
[ | |
{ | |
"key": "ctrl+oem_4", | |
"command": "spaceBlockJumper.moveUp", | |
"when": "textInputFocus", | |
}, | |
{ | |
"key": "ctrl+oem_6", | |
"command": "spaceBlockJumper.moveDown", | |
"when": "textInputFocus", |
// function to check answer | |
function checkAnswer(arr, target, index1, index2) { | |
return arr[index1] + arr[index2] === target; | |
} | |
// generate array with random numbers | |
const length = 100 | |
const target = 90 | |
const a = Array.from({ length }, () => Math.floor(Math.random() * 100)).sort() |
/** | |
* There are 25 horses. | |
* What is the minimum number of races needed so you can identify the fastest 3 horses? | |
* You can race up to 5 horses at a time, but you don't have a watch. | |
*/ | |
/** | |
* Cheats and uses Array.sort to find fastest horses. | |
* Returns true if the winnerIds are indeed the fastest horses. | |
*/ |
{ | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"name": "Docker: Jest Tests", | |
"request": "launch", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": [ |
{ | |
"window.title": "${dirty} ${folderName}${separator}${activeEditorShort} ${dirty}", | |
"editor.fontFamily": "Cascadia Code, Fira Code", | |
"editor.fontLigatures": true, | |
"editor.formatOnSaveMode": "modifications", | |
"editor.cursorSurroundingLines": 8, | |
"editor.cursorSmoothCaretAnimation": true, | |
"editor.gotoLocation.alternativeTypeDefinitionCommand": "editor.action.goToTypeDefinition", | |
"editor.gotoLocation.multipleTypeDefinitions": "gotoAndPeek", | |
"editor.minimap.enabled": true, |