This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am rhydianjenkins on github. | |
* I am rhydianbasekit (https://keybase.io/rhydianbasekit) on keybase. | |
* I have a public key ASA_r2ZvanZ7DZv8O3JjPc7dESlkjwdcyMWD_VTOD1ByCwo | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "ctrl+oem_4", | |
"command": "spaceBlockJumper.moveUp", | |
"when": "textInputFocus", | |
}, | |
{ | |
"key": "ctrl+oem_6", | |
"command": "spaceBlockJumper.moveDown", | |
"when": "textInputFocus", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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, |