Skip to content

Instantly share code, notes, and snippets.

View ElectronicWar's full-sized avatar

Manuel ElectronicWar

  • Chemnitz, Germany
View GitHub Profile
@psct
psct / wgstrap.sh
Last active May 27, 2022 06:17
WireGuard-Server per Skript einrichten
#!/bin/bash
# Wireguard auf Debian/Raspbian einrichten,
# nach c't 15/2019, S. 166
# * läuft auf Raspbian oder Debian Netinst (Buster)
# * bitte nur auf frischen Installationen verwenden
# * Skript überschreibt Netzwerkkonfiguration
# * als pi (Raspbian) oder als root/passwortloses sudo (Debian) ausführen
# * schreibt Protokoll nach /var/log/wgstrap.log
# * zweistufiger Prozess, der einen Reboot erfordert
@zuazo
zuazo / hb_all_books_dl.js
Last active September 10, 2022 14:36 — forked from p0kR/hb_all_books_dl.js
Humble bundle book bundles - download all books at once
/*
Forked from https://gist.github.com/p0kR/95e05e689be4e59b1b8fb6e383b9e25a
After purchasing a humble book bundle, go to your download page for that bundle.
Open a console window for the page and paste in the below javascript
this fork downloads all formats and does so without using jquery (since that didnt work for me)
note that if you are in chrome, chrome will not download the pdfs for you by default, to fix this
Settings (chrome://settings) --> Advanced --> Privacy and security --> Content settings --> PDF documents --> Download PDF files instead of automatically opening them in Chrome --> Turn ON
@ePirat
ePirat / INSTALL.md
Last active April 7, 2023 13:43
Cross-compile libaacs for Windows (64bit)

Cross-compile libaacs for Windows (64bit)

For this guide the ubuntu:yakkety Docker image was used.

Install the cross-compile toolchain

apt-get install mingw-w64-tools gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 wget gettext bison flex
@lietu
lietu / obs_studio_video_playback.html
Last active September 2, 2016 12:46
Making living with OBS Studio easier
<html><head><!--
OBS Studio video playback tool. To get video to play automatically, and get audio to stream AND desktop so you can hear it as well.
1. Edit the "Configuration" -section below, save this file in the same directory as your video
2. Make sure you have the Browser Source installed in your OBS Studio
3. Add a new BrowserSource -source to your scene of choice
4. Choose "Local File" and point it to this file
5. Set width and height to your streaming resolution
6. Check "Shutdown when not active"
@phunehehe
phunehehe / philesight-ubuntu.md
Last active August 18, 2020 06:23
Philesight on Ubuntu

Install dependencies

sudo apt-get install libdb4.2-ruby1.8 libcairo-ruby1.8

Install Philesight

git clone https://github.com/phunehehe/philesight.git