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
// ==UserScript== | |
// @name sbb auto insert | |
// @namespace https://www.sbb.ch/ | |
// @version 0.1 | |
// @description insert "3052 Zollikofen, Webergutstrasse 12" | |
// @author koma5 | |
// @match https://www.sbb.ch/* | |
// @grant none | |
// @downloadURL https://gist.githubusercontent.com/koma5/bd585a9d9f6f74e6b32c14c45cfccbc2/raw/sbb_auto_insert.js | |
// @updateURL https://gist.githubusercontent.com/koma5/bd585a9d9f6f74e6b32c14c45cfccbc2/raw/sbb_auto_insert.js |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// ==UserScript== | |
// @name change unit of balance on freebitco.in | |
// @namespace http://5th.ch/ | |
// @version 0.5 | |
// @description change unit of balance on freebitco.in | |
// @author @koma5 | |
// @match https://freebitco.in/* | |
// @grant none | |
// @downloadURL https://gist.githubusercontent.com/koma5/4eccd9251d5874d454a197958e78135c/raw/change_unit_of_balance_freebitco.in.js | |
// @updateURL https://gist.githubusercontent.com/koma5/4eccd9251d5874d454a197958e78135c/raw/change_unit_of_balance_freebitco.in.js |
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
mosquitto_sub -h mqtt -t 'vw/dehum/state' | | |
grep --line-buffered "tank full" | | |
xargs -d '\n' -n1 -I % curl -X POST --data 'apikey=<apikey>&event=%&application=vw/dehum' https://api.prowlapp.com/publicapi/add |
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
# select urls / #linkGone links which werent accesed since 5 years | |
SELECT * FROM ( | |
SELECT log.shorturl, MAX(log.click_time) AS most_recent_click_time | |
FROM yourls_log as log | |
INNER JOIN yourls_url as url | |
ON log.shorturl=url.keyword | |
WHERE url.title = 'http://5th.li/#linkGone' | |
GROUP BY log.shorturl | |
) AS sub | |
WHERE sub.most_recent_click_time < DATE(NOW()) - INTERVAL 5 YEAR |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
http://www.tldp.org/HOWTO/PPP-HOWTO/direct.html | |
sudo pppd -detach crtscts lock defaultroute 10.42.42.41:10.42.42.42 /dev/cu.usbserial-A9014CRC 57600 | |
sudo pppd -detach crtscts lock proxyarp 10.42.42.41:10.42.42.42 /dev/cu.usbserial-AM026521 57600 debug | |
## | |
http://elinux.org/RPi_Serial_Connection |
NewerOlder