In WSL:
Download tensorflow:
git clone --depth 1 https://github.com/tensorflow/tensorflow.git
cd tensorflow
[env] | |
board = TinyFPGA-BX | |
//*************************************************************************************** | |
// Clap-Activated Applause Machine | |
// | |
// By: Dillon Nichols | |
// @Dillon1337 | |
// https://hackaday.io/project/166959-clap-activated-applause-machine | |
// | |
// This work is licensed under a Creative Commons Attribution 3.0 Unported License. | |
//*************************************************************************************** |
function menu(e) { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Macros') | |
.addItem('Parse email', 'interest') | |
.addToUi(); | |
} | |
function interest() { | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var s = ss.getActiveSheet(); |
https://www.youtube.com/watch?v=rA7u0l9QbJg | |
https://github.com/scanlime/metalkit | |
list all nested files in directory | |
$ find . | less | |
find text in files recursively | |
$ grep -t text2find . |
https://www.youtube.com/watch?v=KguyjVDlH1o | |
## Master Boot Record | |
copy image of flash card | |
move to ubunutu | |
full disc image so has MBR | |
MBR tells about partitions, code to boot bootloader (512 bytes) | |
> xxd file.img | less | |
> xxd -g1 |
<!-- | |
Code Flow: | |
* Checks page-title aginst all pages/posts | |
* Calls checkCookie() | |
* uses getCookie() to get cookie | |
* True: redirectPage(link); | |
* False: askToRedirect(link, post, false); | |
* Doesn't exist: askToRedirect(link, post, true); |
#include <avr/io.h> | |
#include <util/delay.h> | |
#define SWITCH PB0 // pin 5 | |
int main(void) | |
{ | |
DDRB = 1<<4; // port B3, ATtiny13a pin 2 | |
PORTB = 1<<SWITCH; // port b0, switch input |
http://winavr.sourceforge.net/
Determine what bits using http://www.engbedded.com/fusecalc
// reading temperature from SA56004ED temperature sensor | |
// http://tinkeringetc.blogspot.com/ | |
#include <Wire.h> | |
#define SA56004ED 0x4C // SA56004ED temperature sensor device address | |
#define LTHB 0x00 // local temperature high byte register address | |
#define LTLB 0x22 // local temperature high byte register address | |
float lthb, ltlb; // local temperature low and high bytes |