Skip to content

Instantly share code, notes, and snippets.

View fossdd's full-sized avatar
🏳️‍🌈
he/him

fossdd

🏳️‍🌈
he/him
View GitHub Profile
@ch0c01d
ch0c01d / mingw.sh
Created June 20, 2016 15:44
MingW Installer Mac OS
#!/bin/sh
# mingw
PREFIX="/usr/local/mingw"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
mkdir source
mkdir $PREFIX
[
{
"conference": "32C3",
"slug": "32c3",
"author": "CCC",
"description": "Live-Streaming vom 32C3",
"keywords": "32C3, Hacking, Chaos Computer Club, Video, Music, Podcast, Media, Streaming, Hacker, Hamburg",
"startsAt": "2015-12-27T05:00:00+0000",
"endsAt": "2015-12-30T20:00:00+0000",
"groups": [
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active May 2, 2024 16:19
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@mort3za
mort3za / git-auto-sign-commits.sh
Last active January 30, 2024 10:31
Auto sign your git commits
# Generate a new pgp key: (better to use gpg2 instead of gpg in all below commands)
gpg --gen-key
# maybe you need some random work in your OS to generate a key. so run this command: `find ./* /home/username -type d | xargs grep some_random_string > /dev/null`
# check current keys:
gpg --list-secret-keys --keyid-format LONG
# See your gpg public key:
gpg --armor --export YOUR_KEY_ID
# YOUR_KEY_ID is the hash in front of `sec` in previous command. (for example sec 4096R/234FAA343232333 => key id is: 234FAA343232333)
@emabrey
emabrey / ToggleTouch.bat
Created August 26, 2019 23:07
Toggle Touchscreen Support
@ECHO OFF
:: This file enables the touchscreen when disabled and disables the touchscreen when enabled
:: There is an annoying bug fixed by using AutoIt to unpress the Windows Key
:: Make sure devcon_x64.exe and autoit3_x64.exe are present for x64
:: devcon_x86.exe and autoit3.exe could be used for x86, but you need to replace
:: DEVCON_BINARY and AUTOIT_BINARY below
:: These binaries need to be placed in the location pointed to by DEVCON_DIR for the script
@bitingsock
bitingsock / ytdl-preload.lua
Last active April 28, 2024 08:08
Precache the next entry in your playlist if it is a network source by downloading it to a temp file ahead of time. Change Line 20 to temp directory. It will delete the directory on exit.
----------------------
-- #example ytdl_preload.conf
-- # make sure lines do not have trailing whitespace
-- # ytdl_opt has no sanity check and should be formatted exactly how it would appear in yt-dlp CLI, they are split into a key/value pair on whitespace
-- # at least on Windows, do not escape '\' in temp, just us a single one for each divider
-- #temp=R:\ytdltest
-- #ytdl_opt1=-r 50k
-- #ytdl_opt2=-N 5
-- #ytdl_opt#=etc
@LilithWittmann
LilithWittmann / autobahn.md
Last active October 26, 2023 12:11
autobahn.md
@creckord
creckord / autobahn-openapi.md
Last active August 9, 2021 09:10
(Inoffizielle) Autobahn API OpenAPI 3.0 Spezifikation

Autobahn API als (Inoffizielle) OpenAPI 3.0 Spezifikation

Hier mal ein einfacher Aufschlag einer OpenAPI Spezifikation für die von Lilith Wittmann entdeckte API der neuen BMVI Autobahn-Info App

Die Definition basiert auf den Beispieldaten einiger Testaufrufe und wird sicher unvollständig und evtl teilweise inkorrekt sein...