

/*! | |
* BSD Zero Clause License | |
* Copyright (c) Cynthia Rey | |
* SPDX-License-Identifier: 0BSD | |
* | |
* Permission to use, copy, modify, and/or distribute this software for any | |
* purpose with or without fee is hereby granted. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | |
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY |
import { createRef, HTMLAttributes, useEffect, useState } from "react" | |
const positions = [ | |
-1, -1, // Bottom left | |
1, -1, // Bottom right | |
-1, 1, // Top left | |
1, 1 // Top right | |
]; | |
function createShader(gl: WebGLRenderingContext, type: GLenum, source: string): WebGLShader | null { |
#!/bin/sh | |
print_usage() { | |
echo "usage: compress_video <input_file>" | |
echo "supported formats: mp4, webm, mkv, mov, avi, flv" | |
} | |
get_extension() { | |
f="${1##*/}" | |
case "$f" in |
This is the aggregated changelog for 3.4 that includes changes landed in all alpha and beta pre-releases. For changelog of individual pre-releases, please check here.
(a guide by sylvie (@lostkagamine). tested, should work fine.)
(Korean version / 한국어 버전 / Chinese version / 中文版)
New: FAQ has been updated for ReShade 5.7.0 features.
If you are having issues like the screen turning black, read the mini-FAQ at the bottom of this document!
#!/usr/bin/env bash | |
HELP="Usage: $0 [-n LINES] [-p PREFIX] [-w] [-h] | |
Continuously displays the last '-n' lines of 'stdin'. | |
Parameters: | |
-n Number of lines to display (default: 5). | |
-p PREFIX Prefix lines with 'PREFIX'. | |
-w Preserve blank lines (default: false). | |
-h Display this help |
# update v1.1 (see revisions for older version; this has a smoother appearance for both DirectWrite and GDI) | |
# Use with latest testing version of MacType only. | |
# Recommended to disable ClearType (not AA) system-wide by setting the FontSmoothingType DWORD to 1 in HKCU/Control Panel/Desktop. Do not do this step if you use Firefox, as it'll cause it to render very crunchy non-antialiased fonts for some text, but it improves Edge/Chrome and Chromium apps. | |
# Microsoft Edge and Chrome require bypassing the renderer code integrity policy so that vertical AA can be enabled by this profile. More details: https://github.com/snowie2000/mactype/wiki/Google-Chrome | |
# Additional suggested tweak: use Winaero Tweaker (https://winaero.com/winaero-tweaker/) to change every system font to "Segoe UI Variable Small", if you are using Windows 11. This will make fonts in Win32 UI's consistent with WinUI UI's, where Segoe UI Variable is used. (Windows doesn't use Segoe UI Variable for those by default because the legacy ClearType re |
<?php | |
/* | |
A simple PHP class to perform basic operations against Amazon S3 and compatible | |
services. Requires modern PHP (7+, probably) with curl, dom, and iconv modules. | |
Copyright 2022 Marco Arment. Released under the MIT license: | |
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 |