I hereby claim:
- I am wybiral on github.
- I am davywtf (https://keybase.io/davywtf) on keybase.
- I have a public key whose fingerprint is D41D 42D1 F652 3ED3 EF5A CE8D 91A2 22E9 E3D9 0405
To claim this, I am signing this object:
// The basic strategy is to send an endless number of iframes with data URIs | |
// This causes a flood of download modals that crashes most desktop clients | |
// | |
// Currently running demo at: https://fan-pages.herokuapp.com | |
// | |
// NOTE: This server has received more traffic than expected so sometimes it | |
// doesn't serve the HTML fast enough. For the full effect run this Go server | |
// on a dedicated machine somewhere. | |
// | |
// PS: Save your work before you open it ;) |
package main | |
import ( | |
"encoding/json" | |
"io" | |
"log" | |
"github.com/wybiral/hookah" | |
) |
google-chrome "https://google.com" |
/* | |
This is an example of using Espruino JS to control a REYAX LoRa module. | |
It listens for "on" and "off" messages to change and LED and | |
sends "on" and "off" messages by pressing the button. | |
Watch the video here: https://youtu.be/IStuUv9eAmE | |
*/ | |
const RYLR = require('https://github.com/wybiral/espruino-modules/blob/master/RYLR.js'); |
// Touch pin cutoff value | |
#define CUTOFF 20 | |
// Amount of time held before touch fires event (ms) | |
#define DURATION 100 | |
// Touch state (0=none, 1=touched+waiting, 2=touched+sent) | |
int state; | |
int start; |
import serial, webbrowser | |
with serial.Serial('/dev/ttyUSB0', 115200) as s: | |
while True: | |
line = s.readline() | |
webbrowser.open_new('https://www.youtube.com/c/DavyBot') |
import json | |
import sys | |
for line in sys.stdin: | |
# remove newline | |
line = line.rstrip() | |
# parse JSON | |
item = json.loads(line) | |
# get title | |
title = item.get('title', '') |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"encoding/hex" | |
"fmt" | |
"math/rand" | |
"net/http" | |
"time" | |
) |
// Send infinite data-URL iframes (with /aim and /fire to remotely trigger) | |
package main | |
import ( | |
"encoding/base64" | |
"math/rand" | |
"net/http" | |
"sync" | |
) |