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
TorThisTx() { | |
# Rename "TorThisTx() to whatever you want the command to be | |
# Broadcast raw hex transaction over blockstreams TOR API with curl | |
curl --socks5-hostname localhost:9050 -d $1 -X POST http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/api/tx | |
} |
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 <signal.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <mosquitto.h> | |
#define mqtt_host "localhost" | |
#define mqtt_port 1883 |
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 <signal.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <mosquitto.h> | |
#define mqtt_host "localhost" | |
#define mqtt_port 1883 |
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
// YouTube Channel View Counter | |
// Kenneth Finnegan, 2017 | |
// | |
// Given a WiFi SSID + password, and YouTube API key + channel ID, displays the | |
// current total views count on an attached MAX7219 eight digit display | |
#include <YoutubeApi.h> | |
#include <ESP8266WiFi.h> | |
#include <WiFiClientSecure.h> |
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
# TechBench dump | |
``` | |
Generated on 2017-02-28T18:20:00+0100 using: | |
- TechBench dump script (tbdump-web) | |
- FreeBSD 10.3-STABLE amd64 devil-1_0_4 | |
- curl 7.52.1 (amd64-portbld-freebsd10.3) libcurl/7.52.1 OpenSSL/1.0.1s zlib/1.2.8 libssh2/1.8.0 nghttp2/1.18.1 | |
Number of products: 225 | |
``` |
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 "FastLED.h" | |
// ColorWavesWithPalettes | |
// Animated shifting color waves, with several cross-fading color palettes. | |
// by Mark Kriegsman, August 2015 | |
// | |
// Color palettes courtesy of cpt-city and its contributors: | |
// http://soliton.vm.bytemark.co.uk/pub/cpt-city/ | |
// | |
// Color palettes converted for FastLED using "PaletteKnife" v1: |
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
const char firmware_name[] = "ESP_OTA_Button"; | |
const char firmware_version[] = "0.0.3"; | |
const char source_filename[] = __FILE__; | |
const char compile_date[] = __DATE__ " " __TIME__; | |
// WIFI, WIFI configuration and OTA | |
#include <ESP8266httpUpdate.h> | |
#include <ESP8266WiFi.h> | |
#include <ESP8266mDNS.h> |
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
/******************************************************************************* | |
TINY TACHOMETER | |
TACOMETRO C/ PIC12F675 E LCD (M�TODO LPLEX - 3 FIOS) | |
METODO: LEITURA DO PERIODO |
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 <Adafruit_NeoPixel.h> | |
#define PIN 2 | |
#define Pixels 24 | |
#define BG 1 | |
// Parameter 1 = number of pixels in strip | |
// Parameter 2 = Arduino pin number (most are valid) | |
// Parameter 3 = pixel type flags, add together as needed: | |
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) |
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 <Adafruit_NeoPixel.h> | |
#define PIN 2 | |
#define Pixels 25 | |
// Parameter 1 = number of pixels in strip | |
// Parameter 2 = Arduino pin number (most are valid) | |
// Parameter 3 = pixel type flags, add together as needed: | |
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) | |
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers) |
NewerOlder