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
@ECHO OFF | |
REM Set the path to WSL executable | |
SET WSL_EXECUTABLE=C:\Windows\System32\wsl.exe | |
REM Get the input and output file paths | |
SET "INPUT_FILE=%~1" | |
SET "OUTPUT_FILE=%~1_no_watermark" | |
REM Debugging output |
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
@ECHO OFF | |
color 0A | |
REM dependencies of the watermark remover | |
REM python -m pip install numpy scipy imageio | |
REM apt install python3-scipy python3-numpy python3-imageio | |
REM set paths | |
SET YOUTUBE_DL_PATH=A:\VideoDownloader\youtube-dl-nightly.exe | |
SET FFMPEG_PATH=C:\ProgramData\chocolatey\lib\ffmpeg\tools\ffmpeg\bin\ffmpeg.exe |
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
Show hidden characters
{ | |
"compilerOptions": { | |
"incremental": true, | |
"target": "ES2020", | |
"module": "es2020", | |
"allowJs": true, | |
"checkJs": true, | |
"declaration": true, | |
"declarationMap": true, | |
"sourceMap": 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
import os | |
import shutil | |
import uuid | |
import ffmpeg | |
# Dependencies: | |
# sudo apt install ffmpeg | |
# pip install python-ffmpeg | |
def is_video(file_path): |
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: CICD Pipeline (Quarkus, Webpack, OracleCloud) | |
on: [push] | |
jobs: | |
test-and-build-frontend: | |
# permissions: write-all | |
runs-on: ubuntu-22.04 | |
steps: |
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
[Version] | |
major = 1 | |
minor = 1 | |
[Common] | |
max_length = 0 | |
max_path = 0 | |
[File] | |
black_suffix = ".lnk", ".pst", ".swp", ".temp", ".tmp" |
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
.even-columns { | |
display: grid; | |
grid-auto-flow: column; | |
grid-auto-columns: 1fr; | |
} |
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 { Ai } from './vendor/@cloudflare/ai.js'; | |
export default { | |
async fetch(request, env) { | |
const ai = new Ai(env.AI); | |
const url = new URL(request.url); | |
const textParam = url.searchParams.get('text'); | |
const inputs = { |
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 | |
# changing to temp dir | |
cd /tmp | |
# deleting temporary files and directories | |
rm -rf * | |
read -p "Press Enter to exit..." |
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
@echo off | |
REM setting temp path | |
set tmp_dir=%localappdata%\Temp | |
REM changing to temp dir | |
cd /d %tmp_dir% | |
REM deleting temporary files and directories | |
del /q /f /s * |
NewerOlder