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
#! /bin/sh | |
# Usage: ./prowl.sh priority(-2 to 2) app event description | |
# Example: ./prowl.sh 0 "transmission" "torrent has finished" "Coen Brothers Compilation has finised downloading" | |
priority=$1 | |
app=$2 | |
event=$3 | |
description=$4 | |
apikey=fill_in_your_API_key_here | |
if [ $# -ne 4 ]; then |
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
data:text/html,<script>for(;0<1;){}</script> | |
# obscured with base64 | |
data:text/html;charset=utf-8;base64,PHNjcmlwdD5mb3IoOzA8MTspIHt9PC9zY3JpcHQ+Cg== |
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
Option Explicit | |
Const UTF8_BOM = "" | |
Const ForReading = 1 | |
Const ForWriting = 2 | |
Dim fso | |
Set fso = WScript.CreateObject("Scripting.FileSystemObject") |
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
set MYSQLUSER=username | |
set MYSQLPASS=password | |
set BATCHFILE=C:\Temp\auto_built_sql_dump.bat | |
set DUMPPATH=Z:\ | |
set DRIVE=Z: | |
net use %DRIVE% \\somehost\some\networkdrive /user:domain\user password | |
rem building time stamp | |
set tmp_time=%time:~-11,2%.%time:~-8,2%.%time:~-5,2% |
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 |
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
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 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder