- https://github.com/jonathanpeppers/boots
- https://github.com/tgbender/portablemsvc
- https://github.com/prenaux/ham/blob/5c4f4cd2e5056ad35fbef77a7fee92691fa8edc0/toolsets/msvc_19_x64/portable-msvc.py#L54
- https://github.com/AriLeGrand/sfml/blob/main/main.py
- https://github.com/Pandinosaurus/PortableBuildTools/blob/b4f7724ee00b168091f2a6cc7812385513ce7e99/source/pbt.c#L563
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
conda create --prefix ./.venv python=3.5 uv -y |
- Follow this cause we need msys2 with ffmpeg libraries so
pkg-config
tool can find the required libraries - If you're using GoLang edit your build env var
We will need pkg-config
tool to be able to find the required libraries, ie libavcodec.pc
file. We need to make sure pkg-config looks in the right folders to find it.
set PKG_CONFIG_PATH
env var pointing to the mingw64\lib\pkgconfig
folder. For me msys2 is installed in C:\Tools so it pointed it to pkgconfig folder in the mingw64\lib\pkgconfig
folder of msys2.
- Open Archives
- Browse Question Threads and Followup Emails
- Read Mailing List FAQ (no seriously, just search it for terms like "ask a question", or "join" or "subscribe" or "libav")
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
cmake_minimum_required(VERSION 3.10) | |
project(ffmpeg_desktop_try1 C) | |
set(CMAKE_C_STANDARD 11) # Or gnu17 if you prefer | |
find_package(PkgConfig REQUIRED) | |
pkg_check_modules(AVCODEC REQUIRED libavcodec) | |
pkg_check_modules(AVFORMAT REQUIRED libavformat) | |
pkg_check_modules(AVUTIL REQUIRED libavutil) | |
pkg_check_modules(SWSCALE REQUIRED libswscale) |
- unsplash: https://api.unsplash.com/photos/random (requires access token)
- unsplash: https://unsplash.it/1920/1080/?random (works! feh)
- bing: https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=2&mkt=en-US
- https://bing.biturl.top/?resolution=UHD&format=json&index=0&mkt=zh-CN
- css
background-image: url(https://bing.biturl.top/?resolution=1920&format=image&index=0&mkt=zh-CN);
height: 100%;
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/bash | |
# FFmpeg build script based on MSYS2/MinGW-w64 PKGBUILD | |
# Variables | |
FFMPEG_VERSION="7.1.1" | |
BUILD_DIR="$(pwd)/ffmpeg-build" | |
INSTALL_DIR="/opt/ffmpeg" # Change this to your preferred installation directory | |
CORES=$(nproc) | |
# Create build directory |
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
# Script: Jdk22Portable.ps1 | |
# Purpose: Download and set up portable JDK 22 from various vendors | |
# Author: Cypherpunk Samurai | |
# Version: 1.0 | |
# ----------------------------------------- | |
# This script creates a portable JDK setup | |
# by downloading JDK 22 from your preferred | |
# vendor and extracting it to a local folder | |
# ----------------------------------------- |
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://devblogs.microsoft.com/scripting/increase-powershell-command-history-to-the-max-almost/ | |
Get-Variable MaximumHistoryCount | Select-Object -ExpandProperty attributes |
NewerOlder