Skip to content

Instantly share code, notes, and snippets.

@masterbpro
masterbpro / netbird.yaml
Created December 20, 2024 11:51 — forked from identw/netbird.yaml
netbird
# dex config:
# ...
# staticClients:
# - id: netbird-backend
# name: netbird-backend
# redirectURIs:
# - https://netbird.example.com
# - https://netbird.example.com/#callback
# secret: <DEX_NETBIRD_BACKEND_SECRET>
# - id: netbird-client
@masterbpro
masterbpro / 0-hidden-service-subdomains.md
Created August 4, 2024 16:24 — forked from mtigas/0-hidden-service-subdomains.md
Example code for running a (HTTP/HTTPS) Tor hidden service supporting subdomains.

The following files show an example of how to create subdomains for onion site hidden services. (This hasn't been tested for hidden services for anything other than HTTP/HTTPS.)

(You might also want to read our blog post about ProPublica’s Tor hidden service, including a tutorial and notes on running a hidden service: https://www.propublica.org/nerds/item/a-more-secure-and-anonymous-propublica-using-tor-hidden-services )

In general, this works (maybe just in recent Tor clients) because Tor will handle the connection to www.xxxxxxxxxxxxxxxx.onion as a connection to xxxxxxxxxxxxxxxx.onion. The encapsulated HTTP/HTTPS connection contains the subdomain in the Host: header (and in the case of HTTPS, the SNI

@masterbpro
masterbpro / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Created July 6, 2024 17:36
Activate Windows 8, 8.1, 10 and 11 Pro for Free

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:

Windows key buttons

- Windows 11

- Windows 10

https://github.com/istio/istio/blob/release-1.22/manifests/charts/base/crds/crd-all.gen.yaml
@masterbpro
masterbpro / alertmanager.tmpl
Created November 5, 2023 20:51 — forked from jidckii/alertmanager.tmpl
Alertmanager telegram template
{{ define "__yucca_text_alert_list" }}{{ range . }}
---
🪪 <b>{{ .Labels.alertname }}</b>
{{- if .Annotations.summary }}
📝 {{ .Annotations.summary }}{{ end }}
{{- if .Annotations.description }}
📖 {{ .Annotations.description }}{{ end }}
🏷 Labels:
{{ range .Labels.SortedPairs }} <i>{{ .Name }}</i>: <code>{{ .Value }}</code>
{{ end }}{{ end }}
@masterbpro
masterbpro / AdbCommands
Created September 30, 2023 20:00 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
#!/bin/sh
case "$1" in
100) URL="http://ftp.corbina.ru/pub/100Mb"
FILE_SIZE="10485760"
;;
10) URL="http://ftp.corbina.ru/pub/10Mb"
FILE_SIZE="10485760"
;;
*) URL="http://ftp.corbina.ru/pub/10Mb"
FILE_SIZE="10485760"
import requests
from bs4 import BeautifulSoup
from loguru import logger
PAGE_URL = "https://filmix.zone/filmy/page/{page_num}"
class FilmZone:
def __init__(self):
self.session = requests.Session()