Skip to content

Instantly share code, notes, and snippets.

View sidneys's full-sized avatar

sidneys sidneys

  • Germany
View GitHub Profile
@sidneys
sidneys / weltonline.artikelkommentare-automatisch-einblenden.js
Last active November 30, 2018 23:21
UserScript | Die WELT Online | Artikelkommentare Automatisch Einblenden
// ==UserScript==
// @name Die WELT Online | Artikelkommentare Automatisch Einblenden
// @namespace de.sidneys.userscripts
// @homepage https://gist.githubusercontent.com/sidneys/4392fdde27a0cf60cb12ada20c95fb81/raw/
// @version 4.0.0
// @description Alle Antworten zu Artikeln bei WELT.DE immer einblenden (Always automatically expand all WELT.DE article comments)
// @author sidneys
// @icon https://www.welt.de/favicon.ico
// @noframes
// @include https://www.welt.de/*article*
@sidneys
sidneys / xml-to-srt.pl
Created June 7, 2018 20:57
XML (EBU-TT) to SRT Subtitle Converter for MediathekView XML Subtitles
#!/usr/bin/perl
## XML (EBU-TT) to SRT Subtitle Converter for MediathekView XML Subtitles
## forked from mattfoo/ebu-tt_to_srt
## USAGE
## $> perl xml-to-srt.pl subtitle.xml
## $> Written SRT Subtitle: subtitle.xml.srt
use strict;
@sidneys
sidneys / opensubtitles.download-enabler-2019.js
Last active August 16, 2019 13:08
UserScript | OpenSubtitles | Download Enabler (2019)
// ==UserScript==
// @name OpenSubtitles | Download Enabler (2019)
// @namespace de.sidneys.userscripts
// @homepage https://gist.githubusercontent.com/sidneys/b654b054a02b4389aa91f293d08c5108/raw/
// @version 0.9.9
// @description Reenable Subtitle downloading on OpenSubtitles.com and OpenSubtitles.org, without using the official 'OpenSubtitles PRO' extension. A requirement as of early 2019.
// @author sidneys
// @icon https://static.opensubtitles.org/favicon.ico
// @include *://www.opensubtitles.com/*
// @include *://www.opensubtitles.org/*
@sidneys
sidneys / .gitignore
Last active August 26, 2019 01:30
Homebrew Test C Program
*.o
.temp
.tmp
cache/
@sidneys
sidneys / emulating-a-raspberry-pie-on-macos.md
Last active September 14, 2019 02:24
Emulating a Raspberry Pie on macOS Mojave 10.14+ (2019-09-11)

Emulating a Raspberry Pie on macOS Mojave 10.14+ (2019-09-11)

This guide explains how to emulate a Raspberry Pi and its ARM-based hardware stack under macOS Mojave – running the recent Raspbian Buster [^1].

The light QEMU open-source Quick Emulator framework, will be used.

Homebrew as well as some basic level shell-fu is required.


@sidneys
sidneys / geo.ps1
Created December 14, 2019 16:41
PowerShell Geolocation
Add-Type -AssemblyName System.Device; $GeoWatcher = New-Object System.Device.Location.GeoCoordinateWatcher; $GeoWatcher.Start(); Start-Sleep -Milliseconds 5000; $GeoWatcher.Position | Out-File $env:userprofile\Downloads\error.log
@sidneys
sidneys / de.sidneys.adblock-plus.facebook.typing.txt
Last active May 30, 2020 03:25
Adblock Plus | Facebook & Messenger.com "Typing" Blocker
[Adblock Plus 2.0]
! Title: sidneys.github.io | Facebook & Messenger.com "Typing" Blocker
! Version: 1
! Expires: 1 hour
! Homepage: https://sidneys.github.io
!
https://www.facebook.com/ajax/messaging/typ.php
https://www.messenger.com/ajax/messaging/typ.php
@sidneys
sidneys / de.sidneys.adblock-plus.facebook.online.txt
Last active May 30, 2020 03:25
Adblock Plus | Facebook & Messenger.com "Online" Blocker
[Adblock Plus 2.0]
! Title: sidneys.github.io | Facebook & Messenger.com "Online" Blocker
! Version: 1
! Expires: 1 hour
! Homepage: https://sidneys.github.io
!
https://*edge-chat.facebook.com
https://*edge-chat.messenger.com
https://www.facebook.com/ajax/bz
https://www.messenger.com/ajax/bz
@sidneys
sidneys / nvm_node_updater.sh
Last active July 25, 2020 13:54
Node & NPM Global Updater: Updates NodeJS, NPM and all global Packages to 'latest' in one step
#!/bin/bash
# NVM_NODE_UPDATER
# v2.0.0
#
# Makes keeping NVM-managed, global NodeJS installations up-to-date a breeze.
# First, the global NodeJS installation is updated to 'latest'.
# Second, all global NPM packages are migrated, then also updated to 'latest'.
# Requires the Node Version Manager (https://github.com/creationix/nvm).
#
@sidneys
sidneys / de.sidneys.adblock-plus.facebook.seen.txt
Last active October 26, 2020 03:31
Adblock Plus | Facebook & Messenger.com "Seen" Blocker
[Adblock Plus 2.0]
! Title: sidneys.github.io | Facebook & Messenger.com "Seen" Blocker
! Version: 1
! Expires: 1 hour
! Homepage: https://sidneys.github.io
!
||facebook.com/ajax/mercury/change_read_status.php$xmlhttprequest
||messenger.com/ajax/mercury/change_read_status.php$xmlhttprequest
https://www.facebook.com/ajax/mercury/change_read_status.php
https://www.messenger.com/ajax/mercury/change_read_status.php