I hereby claim:
- I am saihtaM on github.
- I am saihtam (https://keybase.io/saihtam) on keybase.
- I have a public key whose fingerprint is 5362 FC8C B667 3EC8 8690 8B11 B81D 6582 AB19 F018
To claim this, I am signing this object:
# This helps clients communicate with HDHR works across all VLANs and more, run this on a server with access to the clients prefix (because we need to see the broadcast). | |
[Unit] | |
Description=HDHomeRun socat port forwarding service | |
After=network.target | |
[Service] | |
ExecStartPre=/bin/sleep 5 | |
ExecStart=/bin/bash -c '/usr/bin/socat udp4-recvfrom:65001,broadcast,fork udp4-sendto:HDHOMERUN-IP-HERE:65001 & /usr/bin/socat tcp4-listen:65001,reuseaddr,fork tcp4:HDHOMERUN-IP-HERE:65001' | |
Restart=always | |
RestartSec=3 |
# dk-YouSee by mths.io | |
# 2019-10-08 | |
# wget https://gist.githubusercontent.com/saihtaM/e5390f010e628263676c/raw/dk-YouSee -O /usr/share/tvheadend/data/dvb-scan/dvb-c/dk-YouSee | |
[CHANNEL] | |
DELIVERY_SYSTEM = DVBC/ANNEX_A | |
FREQUENCY = 770000000 | |
SYMBOL_RATE = 6875000 | |
INNER_FEC = NONE | |
MODULATION = QAM/64 | |
INVERSION = AUTO |
-- GET request on input, https://gist.github.com/saihtaM/35681a39385fbbd92974 | |
-- I use this on my doorbell, but I have a little mic module that returns 3V on GPIO2 when a high sound is detected. That little mic module is hidden inside the doorbell. | |
-- This way, if the power is out. My doorbell stil works, and I don't have to think about killing my ESP8266 due to the voltage spikes that my doorbell is so happy to spit out (according to my multimeter). | |
pin = 4 -- 3 = GPIO0, 4 = GPIO2 | |
firstrun = true | |
gpio.mode(pin,gpio.INPUT) | |
function pinsendrequest() | |
print("Sending request") |
I hereby claim:
To claim this, I am signing this object:
@ECHO OFF | |
ECHO Reset Volume Mixer Settings... | |
NET STOP Audiosrv | |
NET STOP AudioEndpointBuilder | |
REG DELETE "HKCU\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStore" /F | |
REG ADD "HKCU\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStore" |
// ==UserScript== | |
// @name KomogVind.dk Remove non-vip game loading wait times. | |
// @namespace http://www.komogvind.dk | |
// @description Fjerner banner reklamen, og sørger for at spillet indlæser hurtigst muligt. | |
// @downloadURL https://gist.githubusercontent.com/saihtaM/b667a0f5d08a16633f3b/raw/komogvind_nowait.user.js | |
// @icon https://i.imgur.com/6Pxv6j6.gif | |
// @include http://www.komogvind.dk/spil/play.php* | |
// @version 1.4 | |
// ==/UserScript== |
alias -l spotrx { return /(?:http:\/\/open\.)?spotify(?:\.com)?.(track|artist|album|user.*playlist).([0-9a-zA-Z]+)/ } | |
on $*:HOTLINK:$($spotrx):*:{ dde -e Spotify OpenLink $+(spotify:,$replace($regml(1),/,:),:,$regml(2)) } | |
on $^*:HOTLINK:$($spotrx):*:{ return } |
<?php | |
// Remember to delete the emails, if you are not planning on removing some of the arrays below. | |
$message = "Results HEADER:\n" . print_r( getallheaders(), true ); | |
$message .= "Results SERVER:\n" . print_r( $_SERVER, true ); | |
$message .= "Results GET:\n" . print_r( $_GET, true ); | |
$message .= "Results POST:\n" . print_r( $_POST, true ); | |
$message .= "Results COOKIEs:\n" . print_r( $_COOKIE, true ); | |
$message .= "Results SESSION:\n" . print_r( $_SESSION, true ); | |
$message .= "Results FILES:\n" . print_r( $_FILES, true ); | |
mail("[email protected]","Incoming.php stuff",$message); // You should obviously not use a server that has a spam filter. As it will be bad if it reports your webserver as a spammer. |
/usr/local/bin/beep -p 659 46 | |
/usr/local/bin/beep -p 784 34 | |
/usr/local/bin/beep -p 659 23 | |
/usr/local/bin/beep -p 659 11 | |
/usr/local/bin/beep -p 880 23 | |
/usr/local/bin/beep -p 659 23 | |
/usr/local/bin/beep -p 587 23 | |
/usr/local/bin/beep -p 659 46 | |
/usr/local/bin/beep -p 988 34 | |
/usr/local/bin/beep -p 659 23 |
use Irssi; | |
use vars qw($VERSION %IRSSI); | |
$VERSION = "1.0"; | |
%IRSSI = ( | |
authors => "Mathias F. Svendsen", | |
contact => "#Mathias @ irc.QuakeNet.org", | |
name => "Epic repeat!!", | |
description => "A quick command, to repeat commands!", | |
license => "GPL", | |
url => "http://okey.dk/" |