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
/* | |
Forked from https://gist.github.com/zuazo/a91ecbb97b90ef3ef9ce8caf361199a2 | |
Which was Forked from https://gist.github.com/p0kR/95e05e689be4e59b1b8fb6e383b9e25a | |
This doesnt download ebooks. Small change but I kept forgetting to remove the other formats when I copied it. So. Here we are. | |
After purchasing a humble book bundle, go to your download page for that bundle. | |
Open a console window for the page and paste in the below javascript | |
this fork downloads all formats and does so without using jquery (since that didnt work for me) | |
note that if you are in chrome, chrome will not download the pdfs for you by default, to fix this |
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
#include <Arduino.h> | |
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
#include <SparkFunBME280.h> | |
#include <SparkFunCCS811.h> | |
#include <SoftwareSerial.h> | |
#define CCS811_ADDR 0x5B //Default I2C Address | |
#define LENG 31 //0x42 + 31 bytes equal to 32 bytes#define LENG 31 //0x42 + 31 bytes equal to 32 bytes | |
#define TX D7 |
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
sudo dd bs=4M if=/dev/sda status=progress| gzip > /home/james/LoraPi`date +%d%m%y`.gz |
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://medium.com/@prtdomingo/editing-files-in-your-linux-virtual-machine-made-a-lot-easier-with-remote-vscode-6bb98d0639a4 |