Skip to content

Instantly share code, notes, and snippets.

View pentago's full-sized avatar
🥷

pentago

🥷
  • Origo Iceland
  • Belgrade
View GitHub Profile
@pentago
pentago / values.yaml
Last active September 4, 2024 09:47
thanos
# Components - https://thanos.io/tip/thanos/quick-tutorial.md/#components
# Using remote write method - https://youtu.be/feHSU0BMcco?t=1882
# PRometheus remote write - https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write
# https://thanos.io/tip/components/rule.md/#stateless-ruler-via-remote-write
# Copyright Broadcom, Inc. All Rights Reserved.
# SPDX-License-Identifier: APACHE-2.0
## @section Global parameters
## Global Docker image parameters
@pentago
pentago / tls.md
Created September 3, 2024 09:09
tls

/ # openssl s_client -connect thanos-receive.monitoring.origo.dev:443 Connecting to 10.159.1.101 CONNECTED(00000003) depth=0 CN=monitoring.origo.dev verify error:num=20:unable to get local issuer certificate verify return:1 depth=0 CN=monitoring.origo.dev verify error:num=21:unable to verify the first certificate verify return:1 depth=0 CN=monitoring.origo.dev

Apr 07 11:49:29 server python[79058]: |============================= Updating Share Limits based on priority ==============================|
Apr 07 11:49:30 server python[79058]: | Assigning torrents to share limit groups... |
Apr 07 11:49:30 server python[79058]: |======================== Updating Share Limits for [Group XXX] [Priority 5] ========================|
Apr 07 11:49:30 server python[79058]: | Torrent Name: Something.mkv |
Apr 07 11:49:30 server python[79058]: | Tracker: https://tracker.domain.to |
Apr 07 11:49:30 server python[79058]: | Share Limit: Max Seed Time = 15840 min |
Apr 07 11:49:30 server python[79058]: | Uncaught Exception |
Apr 07 11:49:30 server python[79058]:
2023-12-24 16:57:51.6|Debug|DownloadDecisionMaker|Release 'The.Changeling.S01E08.WEB.x264-TORRENTGALAXY[TGx]-xpost' from 'Nzb.su (Prowlarr)' rejected for the following reasons: [Permanent] WEBDL-480p is not wanted in profile, [Permanent] Existing file on disk is of equal or higher preference: WEBDL-2160p v1
2023-12-24 16:57:51.6|Debug|Parser|Languages parsed: Unknown
2023-12-24 16:57:51.7|Debug|QualityParser|Trying to parse quality for 'The.Changeling.S01E04.The.Wise.Ones.1080p.ATVP.WEB-DL.DDP5.1.Atmos.H.264-FLUX'
2023-12-24 16:57:51.7|Debug|DownloadDecisionMaker|Processing release 'The.Changeling.S01E08.1080p.x265-ELiTE[eztv.re].mkv-xpost' from 'Nzb.su (Prowlarr)'
2023-12-24 16:57:51.7|Info|DiskScanService|Scanning Yellowjackets
2023-12-24 16:57:51.7|Debug|Parser|Quality parsed: WEBDL-1080p v1
2023-12-24 16:57:51.7|Debug|Parser|Parsing string 'The.Changeling.S01E08.1080p.x265-ELiTE[eztv.re].mkv-xpost'
2023-12-24 16:57:51.7|Debug|DiskScanService|Scanning '/home/(removed)/media/TV Shows/Yellowjackets (2021) [t
Nov 13 08:33:50 sol python[51397]: | Starting Run |
Nov 13 08:33:50 sol python[51397]: |====================================================================================================|
Nov 13 08:33:50 sol python[51397]: | Locating config... |
Nov 13 08:33:50 sol python[51397]: | Using /home/[redacted]/.config/qbit_manage/config-2.yml as config |
Nov 13 08:33:50 sol python[51397]: | Commands found in /home/[redacted]/.config/qbit_manage/config-2.yml, ignoring env variables and using config commands instead. |
Nov 13 08:33:50 sol python[51397]: | Connecting to Notifiarr... |
Nov 13 08:33:51 sol python[51397]: | Notifiarr Connection Successful |
Nov 13 08:33:51 sol pyth
@pentago
pentago / key.txt
Last active March 31, 2023 15:03
OpenAI Key
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
[2023-02-05 20:26:31,175] [util.py:290] [WARNING] | Nohardlink Error: Unable to open the folder Resident.Alien.S01.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN. Please make sure folder exists and qbit_manage has access to this directory. |
[2023-02-05 20:26:31,177] [qbit_manage.py:291] [CRITICAL] | Uncaught Exception |
Traceback (most recent call last):
File "/app/qbit_manage.py", line 541, in <module>
start_loop()
File "/app/qbit_manage.py", line 308, in start_loop
start()
File "/app/qbit_manage.py", line 402, in start
num_tagged, num_untagged, num_deleted, num_deleted_contents = cfg.qbt.tag_nohardlinks()
File "/app/modules/qbittorrent.py", line 521, in tag_nohardlinks
@pentago
pentago / brandingmag-organization-schema.json
Last active January 27, 2023 20:02
brandingmag-organization-schema.json
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",
"@type": "Organization",
"name": "Brandingmag - branding magazine",
"description": "Brandingmag is the original branding magazine, an independent journal narrating the discussion around branding with thought leadership from across the globe.",
"url": "https://www.brandingmag.com",
"logo": "https://i.imgur.com/CmoUFNu.png",
"contactPoint": {
"@type": "ContactPoint",
@pentago
pentago / beforescript.sh
Last active January 26, 2023 20:31
qBittorent Beforescript
#!/bin/sh
# to use, create a new script file, like beforescript.sh and place it somewhere where qbittorrent can reach it
# In qbittorrent/downloads section, enable the "Run external program on torrent added" and call the beforescript.sh along with all possible parameters:
# /config/beforescript.sh %N %L %G %F %R %D %C %Z %T %I %J %K
# just in case you want more stuff added to the script later and make use of parameters qBittorrent provides
TAG="cross-seed"
USERNAME="Cross-Seed"
AVATAR="https://i.imgur.com/9IYMd5x.png"
@pentago
pentago / bb2gh
Created January 13, 2023 11:22
Bitbucket to Github repo migration shell function
# Bitbucket to Github Migration
bb2gh() {
echo "Cloning repo"
git clone $1 $2
echo
echo "Entering repo directory"
cd $2
echo