This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from ipaddress import ip_address | |
| def get_list_colon_sep(lst): | |
| conc_lst = "".join(lst) | |
| colon_sep_lst = "" | |
| for i in range(0, len(conc_lst), 2): | |
| colon_sep_lst += conc_lst[i] + conc_lst[i + 1] + ":" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Create keyring directory if it doesn't exist | |
| sudo mkdir -p /etc/apt/keyrings | |
| # Download and store BellSoft GPG key | |
| wget -q -O - https://download.bell-sw.com/pki/GPG-KEY-bellsoft | sudo gpg --dearmor -o /etc/apt/keyrings/bellsoft-archive-keyring.gpg | |
| # Add BellSoft APT repository | |
| echo "deb [signed-by=/etc/apt/keyrings/bellsoft-archive-keyring.gpg] https://apt.bell-sw.com/ stable main" | sudo tee /etc/apt/sources.list.d/bellsoft.list | |
| sudo apt update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0 | |
| reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env bash | |
| while read -r url; do | |
| creator="${url##*/}" | |
| mkdir -p "./$creator" | |
| archive="./$creator/archive.txt" | |
| curl -s "$url" | grep -o 'https://xhamster.com/videos/[^"]*' | sort -u | while read -r video; do | |
| yt-dlp -P "./$creator" --download-archive "$archive" "$video" | |
| done | |
| done < links.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://github.com/yt-dlp/yt-dlp/blob/6bee0016d7c06831e15a1a70ff1e7c391d41b4b4/yt_dlp/extractor/stripchat.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import browser_cookie3 | |
| import time | |
| # Get cookies from Brave for Instagram | |
| cookies = browser_cookie3.brave(domain_name='instagram.com') | |
| # Save to cookies.txt in Netscape format | |
| with open("cookies.txt", "w") as f: | |
| f.write("# Netscape HTTP Cookie File\n") | |
| f.write("# This file was generated by browser-cookie3\n\n") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Layout Grid Injector | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Adds layout=grid param to all links on file browse served by Caddy | |
| // @match https://files.bla.local/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Copyright (c) 2025 phoenixthrush | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| MIT License | |
| Copyright (c) 2025 phoenixthrush | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
NewerOlder