I hereby claim:
- I am bisko on github.
- I am bisko (https://keybase.io/bisko) on keybase.
- I have a public key ASAQuj-JHtD7Lvz2IZuydR82qVQ8M1Qsrq10RuSTxKO3QAo
To claim this, I am signing this object:
esptool.py v2.6 | |
Serial port /dev/cu.usbserial-A800evSx | |
Connecting........___ | |
Chip is ESP32D0WDQ6 (revision 1) | |
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None | |
MAC: 3c:71:bf:0d:4d:38 | |
Uploading stub... | |
Running stub... | |
Stub running... | |
Changing baud rate to 460800 |
watch -n1 -x hidutil property -m '{"ProductID":592, "VendorID":1452}' --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064}]}' |
I hereby claim:
To claim this, I am signing this object:
<?php | |
$ts = (int)file_get_contents('/tmp/wd_mt'); | |
if (time() - 60 < $ts) { | |
exit(); | |
} | |
do { | |
file_put_contents('/tmp/wd_mt', time()); |
<?php | |
$list = [ | |
'https://ma.tt', | |
'https://google.com', | |
'https://wordpress.org' | |
]; | |
function is_wp_site( $site ) { |
import dbus | |
import bluetooth | |
import sys | |
import subprocess | |
# Hardcoded devices, order is the priority | |
devices = ["C8:85:50:88:30:ED", "FC:64:BA:0E:C0:10"] | |
has_connected = False |
<?php | |
/** | |
* The idea behind this is that I had to check several hundred streams | |
* and validate their URLs if they contain valid stream or not. | |
* If they didn't - fix it. | |
* | |
* It is best to automate such things, so the code below does that. | |
* It's basic - detects mostly shoutcast/icecast streams and .as[fx], .m3u8? playlists | |
*/ |
<?php | |
/** | |
* Got the code and idea from http://jonathannicol.com/blog/2013/11/19/automated-git-deployments-from-bitbucket/ | |
* | |
* Had to change the way the keys are loaded, as the www-data user on my host didn't have shell | |
*/ | |
// where is the git repo located |
var hiddenIfr = document.getElementById('hiddeniframepopup'); | |
if (hiddenIfr) { | |
hiddenIfr.onload = function() { | |
this.onload = function () { | |
ifr.innerHTML = this.contentDocument.body.innerHTML; | |
} | |
} | |
} |