This sheet goes along with this SSH YouTube tutorial
$ ssh [email protected]
$ mkdir test
$ cd test
#Download dwebp (WebP decoder tool) https://developers.google.com/speed/webp/download | |
#Run | |
for %f in (*.webp) do dwebp.exe "%f" -o "%~nf.png" |
var calcBestMove = function(depth, game, playerColor, | |
alpha=Number.NEGATIVE_INFINITY, | |
beta=Number.POSITIVE_INFINITY, | |
isMaximizingPlayer=true) { | |
// Base case: evaluate board | |
if (depth === 0) { | |
value = evaluateBoard(game.board(), playerColor); | |
return [value, null] | |
} |
$ ssh [email protected]
$ mkdir test
$ cd test
/* eslint-disable no-var,newline-before-return */ | |
var removeDuplicates = true | |
/** | |
* This function should work for any instagram post. | |
* Use it by opening Chrome's javascript console and pasting all of this code. (see link below) | |
* https://developers.google.com/web/tools/chrome-devtools/console/ | |
* | |
* All comments are not immediately visible. This will automatically click the "show more" button for you. | |
* It could take some time depending on how many comments there are. |
Here is how to add Cypress E2E tests to a Create React App bootstrapped application. Assumes the *nix command line, you may need to adapt this for a Windows command line (or use WSL or Git Bash).
Install Cypress and the Testing Library utilities for it (to match the helpers CRA installs):
$ npm i {,@testing-library/}cypress
i
is short for install, and the braces {}
are expanded by brace expansion to cypress @testing-library/cypress
.