Skip to content

Instantly share code, notes, and snippets.

View Squareys's full-sized avatar
🌐
Working on WebXR stuff

Jonathan Hale Squareys

🌐
Working on WebXR stuff
View GitHub Profile
@Squareys
Squareys / wonderland-js-upgrade.mjs
Last active March 7, 2023 15:29
Upgrade Wonderland Engine JavaScript component code from 0.9.5 to 1.0.0
/**
* Convert Wonderland Engine 0.9.5 JavaScript code to Wonderland Engine 1.0.0 code.
*
* # Usage
*
* node wonderland-js-upgrade.mjs <your-file>.js
*/
import {readFileSync, writeFileSync, existsSync} from 'fs';
/* Parse filename argument and check existence */
@Squareys
Squareys / .ycm_extra_conf.py
Created October 20, 2017 11:00
YCM Configuration for UE4
#
# YCM configuration for Unreal Engine 4 projects
#
# Parses a generated Visual Studio project file and extracts its
# include dirs and symbols to be passed on to ycm/libclang.
#
# Note: For me this worked only on some files, but crashed ycm on others
# (using YCM with libclang-3.9.?, if I remember correctly...). May work
# better with newer versions?
#