Skip to content

Instantly share code, notes, and snippets.

@dbiesecke
dbiesecke / check-nzbapi.sh
Created March 28, 2024 13:52
Check NZB Indexer API keys for Caps
#!/bin/bash
function curlwithcode() {
code=0
# Run curl in a separate command, capturing output of -w "%{http_code}" into statuscode
# and sending the content to a file with -o >(cat >/tmp/curl_body)
statuscode=$(curl -w "%{http_code}" \
-o >(cat >/tmp/curl_body) \
"$@"
) || code="$?"
@dbiesecke
dbiesecke / check_usenet_upload-acc.sh
Created March 28, 2024 13:49
Check usenet accounts for upload
#/bin/bash
#
#
# % ~/bin/check_usenet_upload "xsnews.nl xsn PASSS"
#
#
#
# 'https://github.com/mbruel/ngPost/releases/download/v4.14/ngPost_v4.14_cmd-x86_64.AppImage'
#
# curl 'https://github.com/mbruel/ngPost/releases/download/v4.14/ngPost_v4.14_cmd-x86_64.AppImage' > ~/bin/ngPost && chmod +x ~/bin/ngPost
@dbiesecke
dbiesecke / README.md
Last active March 10, 2024 09:59
Quest 3 Upscale adb "Hack"

Quest 3 Upscale adb "Hack"

===========================

adb shell "setprop debug.oculus.textureWidth 2048 && setprop debug.oculus.textureHeight 2048 && settings put system font_scale 0.85 && settings put system font_scale 1.0"

SRC

@dbiesecke
dbiesecke / Pellets.md
Last active March 9, 2024 08:18
Pilzzucht

Benötigte Materialien

  • Pilzbrut (ca. 500 g bzw. 1 L)

  • Strohpellets 1,0 Kg / 1,5 Kg Wasser

  • Gips 40 g, Kalk 20 g

  • Wasserkocher bzw. Kochtopf + Herd

  • Küchenwaage oder Messzylinder / Messbecher

  • stabile Schlauchfolie (ca. 50 cm)

  • scharfes Messer

@dbiesecke
dbiesecke / README.md
Last active January 17, 2024 00:46
jmx-rmi
@dbiesecke
dbiesecke / movies.m3u
Last active December 30, 2023 18:06
pvr.iptvsimple iptvde.m3u
#EXTINF: tvg-logo="https://goo.gl/bi9htU",The Whistleblower
http://vodo.janokoro.org/hls/Movie-A8000/Germany/thewhistleblower/thewhistleblower.mkv.mp4/index.m3u8
#EXTINF: tvg-logo="https://goo.gl/bi9htU",Hunter's Prayer
http://vodo.janokoro.org/hls/Movie-A8000/Germany/huntersprayer/huntersprayer.mkv.mp4/index.m3u8
#EXTINF: tvg-logo="https://goo.gl/bi9htU",16 Blocks
http://vodo.janokoro.org/hls/Movie-A8000/Germany/16blocks/16blocks.mkv.mp4/index.m3u8
#EXTINF: tvg-logo="https://goo.gl/bi9htU",Lost City Raiders
http://vodo.janokoro.org/hls/Movie-A8000/Germany/Lost_City_Raiders_2008/Lost_City_Raiders_2008.mkv.mp4/index.m3u8
#EXTINF: tvg-logo="https://goo.gl/bi9htU",The Devil's Violinist
http://vodo.janokoro.org/hls/Movie-A8000/Germany/thedevilsviolinist/thedevilsviolinist.mkv.mp4/index.m3u8
@dbiesecke
dbiesecke / README.md
Last active December 27, 2023 13:24
OpenAPI CodeGen

Docker geneartor

CID=$(docker run -d -p 8888:8080 openapitools/openapi-generator-online)
sleep 10 && GEN_IP=$(docker inspect --format '{{.NetworkSettings.IPAddress}}'  $CID)
@dbiesecke
dbiesecke / README.md
Last active December 19, 2023 13:40
PowerAutomate / Logical Apps - Conditions - example only match specific time

PowerAutomate Conditions

If / else

if(equals({variable},'value'),'It matches','It doesn't match')
@dbiesecke
dbiesecke / open-in-cloud-shell.md
Last active April 3, 2023 12:57 — forked from manekinekko/open-in-cloud-shell.md
google gcloud.tips / Booklet : use the Google Cloud Shell to clone and edit a github repository

Booklets

To easy open Github/Bitbucket/Gist direct in Google Cloud Shell, you can save a Booklet like this & click on it

--

    javascript:location.href='https://console.cloud.google.com/cloudshell/open?git_repo='+encodeURIComponent(document.location.href)+'&page=editor&open_in_editor=README.md';
@dbiesecke
dbiesecke / README.md
Created October 7, 2022 01:31
Nginx default reverse proxy settings
port_in_redirect off;
    
location /glances/ {
  rewrite /glances/(.*) /$1 break;
  proxy_pass http://localhost:61208/;
 proxy_set_header Host $http_host;