Please report any issues
fn position_in_camera_plane(p: vec3<f32>) -> vec2<f32> {
return vec2(dot(p, camera_right.xyz), dot(p, camera_up.xyz));
# bash web crawler | |
# $ bash crawl.sh http://example.com | |
rm urls.txt | |
rm sub-urls.txt | |
rm sub-2-urls.txt | |
site=$1 | |
function visit(){ |
# Add this to your .gitconfig and use `git recent-branches` | |
[alias] | |
recent-branches = branch -v --sort=-committerdate |
const object_to_watch = obj; // Change to the object you are inspecting | |
const property_to_watch = 'example'; // Change to the property name in the object you are inspecting (here obj.example) | |
// Store the original value | |
object_to_watch.__storedValue = object_to_watch[property_to_watch]; | |
Object.defineProperty(object_to_watch, property_to_watch, { | |
get() { | |
return this.__storedValue; | |
}, |
/** | |
* Copyright 2022 Antoine Morin-Paulhus | |
* | |
* 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 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
* | |
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
* | |
* THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<style> | |
body{ | |
padding: 0; | |
margin: 0; | |
} | |
</style> |
ARCH=$(uname -m)
echo "Detected OS: GNU/Linux"
if [[ "$ARCH" == "x86_64" ]]; then
echo "Detected 64 bit intel"
BINARIES_URL="https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2023-04-19-14-14/ffmpeg-n5.1.3-6-g1e413487bf-linux64-gpl-shared-5.1.tar.xz -O ffmpeg.tar.xz"
elif [[ "$ARCH" == "aarch64" ]]; then
# ARM linux setup
echo "Detected ARM"
While playing with some libraries, I found out that somewhere in the past, jonathonf put a bunch of ppa in private mode. Looks like these are back now.
Here is an archived link of a statement at launchpad.net/~jonathonf: https://web.archive.org/web/20191216131452/https://launchpad.net/~jonathonf
As far as I understand, it came down to this xkcd:
Don't trust me, see the real source: https://ffmpeg.org/doxygen/trunk/pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5
Also, if you want gstreamer pixel formats: https://gstreamer.freedesktop.org/documentation/video/video-format.html#GstVideoFormat
Last updated April 13th 2023
Format | Desc |
---|---|
AV_PIX_FMT_NONE = -1, |