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 | |
die() { | |
echo $@ | |
exit 1 | |
} | |
which bc || die "no bc found" | |
if [ $# -lt 2 ] ; 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
#!/bin/sh | |
######################################################## | |
# | |
# Check certificates inside a java keystore | |
# | |
# modifications: better whitespace handling in alias, | |
# extracts the valid certificates to the disk | |
######################################################## | |
TIMEOUT="timeout -k 10s 5s " |
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/bash | |
# download youtube playlist in multithreaded fashion | |
YOUTUBE_DL=yt-dlp | |
YOUTUBE_DL_ARGS="-x --audio-format mp3 --add-metadata" | |
JOBS=10 | |
tempfile=$(mktemp) |
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
#!/usr/bin/python | |
# Based on http://www.kellbot.com/2010/05/extracting-graphing-wii-fit-data/ | |
# | |
# updated for python3 | |
# | |
# Good references: | |
# http://jansenprice.com/blog?id=9-Extracting-Data-from-Wii-Fit-Plus-Savegame-Files | |
# http://stackoverflow.com/questions/616249/wii-fit-data-format | |
# | |
# Instructions to use this: |
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 | |
if [ $# -lt 1 ] ; then | |
echo "$0 profile_name" | |
echo "profile directories will be created as needed" | |
exit 1 | |
fi | |
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
# Hostname will be used when links are created in templates (i.e. acknowledge links) | |
#Hostname = "bosun.example.com" | |
# The HTTP IP and Port to Listen on. Default is ":8070" | |
#HTTPListen = ":8080" | |
# Alert checks are run by default every CheckFrequency * DefaultRunEvery. RunEvery can be overridden | |
# by indivdual alerts. Defaults are "5m" and 1 | |
CheckFrequency = "1m" | |
DefaultRunEvery = 5 |
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
<html><head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"></head><body>string(189) | |
"SELECT word_id, word_token, word, class, type, country_code, operator, | |
search_name_count FROM word WHERE word_token in (' | |
stockholm','stockholm',' 111 64','111 64',' 111','111',' 64','64')" | |
array(2) { | |
[0]=> | |
object(Nominatim\Phrase)#8 (4) { | |
["sPhrase":"Nominatim\Phrase":private]=> | |
string(9) "stockholm" |
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
# | |
# xTreamer SW3 | |
# | |
"0","a8579f00","a8579f00","power" | |
"0","d9269f00","a35c9f00","eject" | |
"0","ba459f00","fa059f00","1" | |
"0","e8179f00","f6099f00","2" | |
"0","ed129f00","ea159f00","3" | |
"0","b04f9f00","fb049f00","4" |
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
# 1 .. bookmark | |
ba459f00 1/add | |
0 | |
e8179f00 2/eject | |
0 | |
ed129f00 3/delete | |
0 | |
b04f9f00 4/zoom | |
0 |
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 Beachball Loader | |
// @namespace http://github.com/codeRitter/BeachBall | |
// @version 1.1 | |
// @description Beachball autoloader for Sandcastle Builder. | |
// @author codeRitter | |
// @match http://castle.chirpingmustard.com/castle.html | |
// @match http://castle.chirpingmustard.com/classic.html | |
// @grant none | |
// ==/UserScript== |
NewerOlder