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 -e | |
| LIBRESSL_VERSION=4.2.1 | |
| NGINX_VERSION=1.29.3 | |
| NGINX_CONFIG=( | |
| --with-pcre-jit --with-threads | |
| --with-http_ssl_module | |
| --with-http_v2_module | |
| --with-http_realip_module | |
| --with-http_stub_status_module | |
| --with-http_auth_request_module |
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
| local DEMO_GENNOTIFY = false | |
| assert(core.register_mapgen_script) | |
| core.register_mapgen_script(core.get_modpath(core.get_current_modname()) .. "/inner.lua") | |
| core.set_mapgen_setting("mg_name", "singlenode", true) | |
| core.register_on_respawnplayer(function(player) | |
| player:set_pos(vector.new(0, 1.5, 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/bash -e | |
| # Creates a systemd-nspawn container with Alpine | |
| MIRROR=http://dl-cdn.alpinelinux.org/alpine | |
| VERSION=${VERSION:-v3.22} | |
| APKTOOLS_VERSION=2.14.9-r3 | |
| wget_or_curl () { | |
| if command -v wget >/dev/null; then |
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
| #!/usr/bin/env python3 | |
| import sys | |
| import os.path | |
| import struct | |
| import zlib | |
| import sqlite3 | |
| class BufferConsumer(): | |
| def __init__(self, buf): | |
| assert(type(buf) == bytes) |
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_VER=3.29.3 | |
| QT_VER=6.7.0 | |
| LIBTORRENT_VER=2.0.10 | |
| QBITTORRENT_VER=4.6.4 | |
| export LANG=C.UTF-8 | |
| export CXXFLAGS="-std=c++17 -flto=auto" | |
| export LDFLAGS="-flto=auto" | |
| export MAKEFLAGS="-j12" |
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 -e | |
| finalpath=/var/tmp/final | |
| msg () { | |
| echo ":: $1" | |
| } | |
| noextract= | |
| bfile=PKGBUILD |
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 -e | |
| OUTDIR=/tmp/waifu2x-cpp_install | |
| OPENCV_VER=4.7.0 | |
| [ -d waifu2x-converter-cpp ] && (cd waifu2x-converter-cpp && git pull) || git clone https://github.com/DeadSix27/waifu2x-converter-cpp | |
| [ -f opencv-$OPENCV_VER.tar.gz ] || wget https://github.com/opencv/opencv/archive/$OPENCV_VER.tar.gz -O opencv-$OPENCV_VER.tar.gz | |
| [ -d opencv-$OPENCV_VER ] || tar -xaf opencv-$OPENCV_VER.tar.gz | |
| cd opencv-$OPENCV_VER |
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 -e | |
| prefix=/opt/qemu | |
| qemuver=7.2.1 | |
| targets=('x86_64' 'i386') | |
| # install dependencies | |
| which apt-get &>/dev/null && apt-get install -y --no-install-recommends \ | |
| gcc make python3 pkg-config bison flex ninja-build \ | |
| lib{jpeg,png,aio,jemalloc,cap-ng,glib2.0,pixman-1}-dev | |
| which pacman &>/dev/null && pacman -S --needed \ |
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 vapoursynth as vs | |
| import csv | |
| core = vs.get_core() | |
| if "input" not in dir(): | |
| print("ERROR: Provide input file via --arg input=./spec.txt") | |
| assert False | |
| vsrc = None | |
| asrc = None |
NewerOlder