This file contains hidden or 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title>remote control</title> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<!-- | |
serve on the same machine that remotecontrol_firefox-netflix.sh runs on | |
--> | |
<style type="text/css"> |
This file contains hidden or 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
/* | |
* This program will start executables and batch script in the background. | |
* Written by Rouslan Placella, rouslan [at] placella [dot] com, 10-Oct-2009. | |
*/ | |
/* | |
* This file is part of bg_start. | |
* | |
* bg_start is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by |
This file contains hidden or 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
// Uptime.c | |
// William Riley | |
// 4/99 | |
// Returns the amount of time since windows was started | |
// | |
// Changes in line 11f and 43-50 | |
#include <stdio.h> | |
#include <time.h> | |
#include <windows.h> |
This file contains hidden or 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
s#:ue:#ü#g | |
s#:oe:#ö#g | |
s#:ae:#ä#g | |
s#:Ue:#Ü#g | |
s#:Oe:#Ö#g | |
s#:Ae:#Ä#g | |
s#ß#ß#g |
This file contains hidden or 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 arte stream url | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1.8.2 | |
// @description get arte m3u8 stream url | |
// @author You | |
// @match https://www.arte.tv/de/videos/* | |
// @match https://www.arte.tv/fr/videos/* | |
// ==/UserScript== |
This file contains hidden or 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 | |
# usage | |
# arte_v2.sh <url> | |
# now also displays the link to high quality direct download of the mp4 and supports arte concert | |
# important: | |
# requires jq, which is "like sed for JSON data" ( https://stedolan.github.io/jq/ ) | |
# replace with your preferred user agent |
This file contains hidden or 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
// stream url to watch in VLC or to feed into ffmpeg, youtube-dl or its various forks | |
// displayed line-by-line for better readability | |
javascript: | |
var id = location.href.split("/"); | |
var urlp = "https://dms.redbull.tv/v5/destination/stv/"; | |
var urls = "/personal_computer/chrome/de/de_DE/playlist.m3u8"; | |
var properid = id[id.length - 2].toUpperCase(); | |
if (properid.match(/^AA/) != null) { | |
var filmtitle = document.querySelector('meta[property="og:title"]').content; |
This file contains hidden or 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 | |
# usage: | |
# yt2cue.sh source_file "artist" "album title" | |
# set to 1 to debug :=) | |
debug=0 | |
i="0" | |
> yt2cue.cue |
This file contains hidden or 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 imdb soundtrack | |
// @namespace imdb | |
// @description fixes imdb 2023 redesign soundtrack page bullshit | |
// @include https://www.imdb.com/title/tt*/soundtrack* | |
// @version 0.6 | |
// @grant none | |
// ==/UserScript== | |
var repx = new RegExp("(Produced|Performed|Written|Music|Lyrics|Courtesy) (by|of|and).*", "gi"); |
This file contains hidden or 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
var artistname = "Brass Against"; | |
var output = ""; | |
function fancyTimeFormat(duration) { | |
// Hours, minutes and seconds | |
const hrs = ~~(duration / 3600); | |
const mins = ~~((duration % 3600) / 60); | |
const secs = ~~duration % 60; | |
// Output like "1:01" or "4:03:59" or "123:03:59" |