This file contains 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
name: (Generic) Nuitka | |
on: | |
workflow_dispatch: | |
inputs: | |
THE_NAME: | |
description: Repository name (without your username) | |
type: string | |
required: true |
This file contains 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
#!/usr/bin/python3 | |
from pathlib import Path | |
from subprocess import run as sub_run | |
from subprocess import PIPE as sub_PIPE | |
def pip_list(filepath:Path)->bool: | |
print("\nObtaining list of packages...") | |
proc=sub_run( |
This file contains 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
#!/usr/bin/python3.9 | |
import json | |
import subprocess | |
from datetime import datetime | |
from pathlib import Path | |
# FFToolkit by t.me/CarlosAGH | |
def util_match_language(filestem): |
This file contains 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/bash | |
DVDs_DIRPATH="$1" | |
DVDs_PATTERN="$2" | |
TOTAL=$(ls "$DVDs_DIRPATH"|grep "$DVDs_PATTERN"|grep ".iso$"|wc -l) | |
INDEX=0 | |
INDEX_MAX=$(expr $TOTAL + 1) |
This file contains 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
#!/usr/bin/python3.9 | |
import asyncio | |
import aiohttp | |
async def cronjob_patch(session:aiohttp.ClientSession,cronjob_apikey:str,cronjob_jid:str,cronjob_data:dict)->bool: | |
ts=False | |
if not session: | |
ts=True |
This file contains 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
# WARNING: This is not how you should use a CI/CD plaftform, use privately and at your own risk | |
name: URL uploader | |
on: | |
workflow_dispatch: | |
inputs: | |
LINK: | |
type: string | |
required: true | |
FILENAME: | |
type: string |
This file contains 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://stackoverflow.com/questions/16523746/ffmpeg-hangs-when-run-in-background#16527559 | |
https://www.dacast.com/blog/how-to-broadcast-live-stream-using-ffmpeg | |
https://cloud.tencent.com |
This file contains 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
name: Run tests using cargo | |
on: | |
workflow_dispatch: | |
inputs: | |
RS_FILE: | |
description: Name of the RS file (without the .RS extension) | |
required: true | |
type: string |
This file contains 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 asyncio | |
import logging | |
logging.getLogger() | |
async def sp_streamer(hook,dbg=False): | |
proc=hook["proc"] | |
if dbg: | |
printout=0 | |
while True: |
NewerOlder