Skip to content

Instantly share code, notes, and snippets.

View jbs1's full-sized avatar

Jeremy Byron Schulz jbs1

  • Jacobs University Bremen
  • Deutschland
View GitHub Profile
@jbs1
jbs1 / fritzboxClickToDial.cs
Last active February 11, 2024 17:38
Using Selenium to execute a "Click to Dial" on a Fritzbox
using Microsoft.Extensions.Configuration;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
var config = new ConfigurationBuilder().AddUserSecrets<Program>().Build(); //use dotnet user-secrets to not store credentials in code
string fbLoginUrl = $"{config["Fritzbox:Url"]}"; //should be just the domain and port, without the inclusion of any path like /myfritz#/login
@jbs1
jbs1 / evepi.py
Last active October 29, 2019 15:31
Eve Online: Manufacturing PI Calculator
import json
import os
import requests
import bz2
import sqlite3
from math import ceil
import argparse
def main():
@jbs1
jbs1 / django_on_strato.md
Last active March 26, 2024 10:04
Django on STRATO webhosting server

From STRATO Hosting Basic and up python is enabled on the server. Hosting plans

You can connect to the sever via SSH through ssh <your domain>@ssh.strato.de. The Password is you 'Masterpasswort'.

Since you have neither sudo access nor apt-get or something similar, you have to improvise.

First download and install PIP in the user dir and then install Django:

wget https://bootstrap.pypa.io/get-pip.py
@jbs1
jbs1 / stream-audio.md
Last active February 19, 2022 12:45
How to filter the sound of any application from OBS or other Streaming software. (Windows)

How to filter the sound of any application from OBS or other Streaming software. (Windows)

First you need to install VB-Cable and download the audiorouter.
Virtual Audio Cable
Audio Router

Then make sure that for all recoding/playback audio deviced in the soundsettings the exlusive mode is disabled.

Next configure your "Default Playback device" in Windows Sound options to be the device you want to here on, eg. your headphones or speakers.
And configure the "Default Recording device" in Windows Sound options to be the device you want to recode on. Usually your Microphone.

@jbs1
jbs1 / trac2down.py
Last active July 11, 2016 11:36 — forked from sgk/trac2down.py
Trac Wiki to Markdown converter
#!/usr/bin/python
import os
import sqlite3
import datetime
import re
import codecs
import sys
if (len(sys.argv)!=3):