Skip to content

Instantly share code, notes, and snippets.

@Colorfingers
Colorfingers / S3-CORS-config.xml
Created August 20, 2023 01:00 — forked from zxbodya/S3-CORS-config.xml
Client side uploads to s3, with pre-signed upload form (PHP/JS)
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>HEAD</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>*</AllowedHeader>
@Colorfingers
Colorfingers / VircadiaQuest.md
Created July 10, 2022 16:56 — forked from ArcadeFever/VircadiaQuest.md
Vircadia Oculus Quest Native client

Here you will find my personal builds of Vircadia Oculus Quest Native client. They have been tested and work in both Quest and Quest2 headsets for v38 firmware. There is a good possibility later quest updates will break these builds, in which case I will look to make more builds.

Warning: these builds are highly experimental, are not feature complete, may crash often, and may have barf inducing framerates.

questInterface-debug-2020.3.3.apk 216 MB (Build Date: 12/28/2021)

questInterface-debug-2021.1.2.apk 238 MB (Build Date: 12/29/2021)

As of 4/06/2022, I am still unable to successfuly build the latest version/master branch of Vircadia. In order to build for QT5.12, cmake 3.15 or > is required, and this upgrade breaks the older build dependancy scripts.

@Colorfingers
Colorfingers / three-clone-gltf.js
Created May 2, 2020 14:04 — forked from cdata/three-clone-gltf.js
A quick hack to clone a Three.js GLTF scene without re-loading or re-parsing the source.
const cloneGltf = (gltf) => {
const clone = {
animations: gltf.animations,
scene: gltf.scene.clone(true)
};
const skinnedMeshes = {};
gltf.scene.traverse(node => {
if (node.isSkinnedMesh) {