Skip to content

Instantly share code, notes, and snippets.

View fortuna's full-sized avatar
🔥
Prevent, Mitigate and Expose Censorship

Vinicius Fortuna fortuna

🔥
Prevent, Mitigate and Expose Censorship
View GitHub Profile
@fortuna
fortuna / $key.tsv
Last active May 20, 2024 02:35
Results of investigating blocking of Outline Shadowsocks in Russia. The best way to navigate is to use the filter to see the data for a specific client ISP, server network, error, port, URL, etc
socks_port client_isp url server_net server_port exit_code ok output
33333 MTS PJSC http://ipinfo.io/org Digital Ocean 443 28 curl: (28) Operation timed out after 10004 milliseconds with 0 bytes received
33333 MTS PJSC https://ipinfo.io/org Digital Ocean 443 56 curl: (56) Failure when receiving data from the peer
33334 PJSC MegaFon http://ipinfo.io/org Digital Ocean 443 0 AS14061 DigitalOcean, LLC
33334 PJSC MegaFon https://ipinfo.io/org Digital Ocean 443 0 AS14061 DigitalOcean, LLC
33335 Tele2 Russia http://ipinfo.io/org Digital Ocean 443 0 AS14061 DigitalOcean, LLC
33335 Tele2 Russia https://ipinfo.io/org Digital Ocean 443 56 curl: (56) Failure when receiving data from the peer
33336 Bee Line Cable http://ipinfo.io/org Digital Ocean 443 0 AS14061 DigitalOcean, LLC
33336 Bee Line Cable https://ipinfo.io/org Digital Ocean 443 56 curl: (56) Failure when receiving data from the peer
33333 MTS PJSC http://ipinfo.io/org Digital Ocean 5555 0 AS14061 DigitalOcean, LLC
@fortuna
fortuna / merge_results.tsv
Last active December 28, 2024 12:29
Analysis of blocking in Russia. All entries in one table.
strategy server_net server_port isp url_scheme exit_code img error
$key Digital Ocean 443 Bee Line Cable http 0
$key Digital Ocean 443 Bee Line Cable https 0
$key Digital Ocean 443 MTS PJSC http 28 curl: (28) Operation timed out after 10006 milliseconds with 0 bytes received
$key Digital Ocean 443 MTS PJSC https 28 curl: (28) Connection timed out after 10005 milliseconds
$key Digital Ocean 443 PJSC MegaFon http 0
$key Digital Ocean 443 PJSC MegaFon https 56 curl: (56) Failure when receiving data from the peer
$key Digital Ocean 443 Tele2 Russia http 0
$key Digital Ocean 443 Tele2 Russia https 0
$key Digital Ocean 5555 Bee Line Cable http 0
#include <CapacitiveSensor.h>
#include <Adafruit_NeoPixel.h>
#include <math.h>
#define LED_PIN 2 // which pin is your LED data line plugged into?
#define LED_COUNT 16 // how many LEDs are in the strip or ring you're driving?
class FifoBuffer {
private:
static const int MAX_SIZE = 1000; // Maximum size of the buffer
@fortuna
fortuna / m5stack-atom-echo.yaml
Last active December 2, 2024 01:19
Using a custom media player with M5Stack Atom Echo as Voice Assistant on Home Assistant
substitutions:
name: m5stack-atom-echo
friendly_name: M5Stack Atom echo
packages:
m5stack.atom-echo-wake-word-voice-assistant: github://esphome/wake-word-voice-assistants/m5stack-atom-echo/m5stack-atom-echo.yaml@main
esphome:
name: ${name}
name_add_mac_suffix: true
friendly_name: ${friendly_name}