I hereby claim:
- I am katrotz on github.
- I am katrotz (https://keybase.io/katrotz) on keybase.
- I have a public key whose fingerprint is AD96 D5E1 CA08 25AB F3A8 E917 4F22 AFD6 1A5D 712D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
TYPESCRIPT
@Component({
selector: 'cmp',
template: `
<h1>"Anything less than immortality is a complete waste of time" (c)Bender</h1>
<p>Cmp input: {{cmpInput}}</p>
<p>Aliased input: {{aliasedInputName}}</p>
`
})
Connect Lolin via FTD1232: | |
D3 > G | |
RX > TX (FTD1232) | |
TX > RX (FTD1232) | |
G > G (FTD1232) | |
Use NodeMCU USB power conection | |
1. Erase the current flash | |
```esptool.py --port /dev/tty.usbserial-00000000 --baud 115200 erase_flash``` |
#include <time.h> // Robert Nystrom | |
#include <stdio.h> // @munificentbob | |
#include <stdlib.h> // for Ginny | |
#define r return // 2008-2019 | |
#define l(a, b, c, d) for (i y=a;y\ | |
<b; y++) for (int x = c; x < d; x++) | |
typedef int i;const i H=40;const i W | |
=80;i m[40][80];i g(i x){r rand()%x; | |
}void cave(i s){i w=g(10)+5;i h=g(6) | |
+3;i t=g(W-w-2)+1;i u=g(H-h-2)+1;l(u |
const HEIGHT = 40; | |
const WIDTH = 80; | |
const map = []; | |
const PLAYER = '@'; | |
const TREASURE = '$'; | |
const ROCK = ' '; | |
const CORNER = '!'; | |
const WALL = '#'; | |
const FLOOR = '.'; |
<html> | |
<script type="text/javascript"> | |
var parentWindow = window.parent; | |
console.log(parentWindow); | |
</script> | |
</html> |