Skip to content

Instantly share code, notes, and snippets.

Avatar
⌨️
Playing Hell Let Loose or Smash Ultimate

James V1DEOJAMES

⌨️
Playing Hell Let Loose or Smash Ultimate
View GitHub Profile
@V1DEOJAMES
V1DEOJAMES / hb_all_books_dl.js
Last active Oct 8, 2018 — forked from zuazo/hb_all_books_dl.js
Humble bundle book bundles - download all books at once
View hb_all_books_dl.js
/*
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
View Example
#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
@V1DEOJAMES
V1DEOJAMES / gist:cd9591b628c318ddd5476a6f3643fd5b
Created Jul 23, 2018
Copying SD Card and zip. (IE: Capturing BB or Raspi image)
View gist:cd9591b628c318ddd5476a6f3643fd5b
sudo dd bs=4M if=/dev/sda status=progress| gzip > /home/james/LoraPi`date +%d%m%y`.gz
View Visual Studio Remote
https://medium.com/@prtdomingo/editing-files-in-your-linux-virtual-machine-made-a-lot-easier-with-remote-vscode-6bb98d0639a4