This file contains 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
let inputVal = 512; | |
let x = [0]; | |
let value = 1; | |
let step = 1; | |
let nextBase = 10; | |
while (value < inputVal) { | |
x.push(value); | |
value += step; | |
if (value === nextBase) { |
This file contains 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
#!/bin/bash | |
compare_strings() { | |
if [ "$1" == "$2" ]; then | |
: | |
else | |
echo "wtf! some values that should match dont match" | |
echo "values:" | |
echo $1 | |
echo $2 |
This file contains 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
// https://dev.to/rogertorres/debugging-rust-with-vs-code-11dj | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug unit tests in library 'yourprogram'", | |
"cargo": { |
This file contains 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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch via yarn", | |
"type": "node", | |
"request": "launch", |
This file contains 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Launch Brave against localhost", | |
"runtimeExecutable": "/Applications/Brave Browser Dev.app/Contents/MacOS/Brave Browser Dev", | |
"url": "http://localhost:3000", | |
"webRoot": "${workspaceFolder}" |
This file contains 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 jakehemmerle on github. | |
* I am jakehemmerle (https://keybase.io/jakehemmerle) on keybase. | |
* I have a public key whose fingerprint is C3AA 89FE 42B9 7125 4FEA 03EE ACD6 30AC 0C03 98B6 | |
To claim this, I am signing this object: |