Skip to content

Instantly share code, notes, and snippets.

View truedat101's full-sized avatar

David J. Kordsmeier truedat101

View GitHub Profile
@truedat101
truedat101 / ideas_for_visionpro_weekend_projects
Created March 28, 2024 06:19
Ideas for VisionPro weekend projects
- [ ] IoT wearables for VisionPro
- [ ] IoT digital twins for VisionPro
- [ ] Raylib (RayFork) port to VisionPro, with an Arcade console
- [ ] Rearview mirror VisionPro (with a camera)
- [ ] "Bootstrap" widget set for VisionPro
- [ ] Audio Lab for VisionPro
- [ ] IoT lighting guesture controller
- [ ] Gaussian Splattering for VisionPro for immersive environments
@truedat101
truedat101 / gist:8d1c9f5877ae0465e1f678327c5ef099
Created June 26, 2023 04:31
Set up Godot4/OpenXR + Quest2
# Overview
There are a bunch of official docs to review in order to get Godot 4 working in the context of OpenXR + a Quest2.
This gist attempts to summarize for those who struggle to collect documentation spread out across many links and entry points
into this topic.
## Docs
- https://docs.godotengine.org/en/stable/tutorials/xr/deploying_to_android.html
- https://docs.godotengine.org/en/stable/tutorials/xr/setting_up_xr.html#doc-setting-up-xr
1. Neighborhood #1 (Tunnels) by The Arcade Fire
2. Ceremony by Joy Division (even though they put it on Substance by New Order)
3. Push by The Cure
4. Rano Pano by Mogwai
5. Space Oddity by David Bowie
6. Funeral Party by The Cure
7. Landslide by Smashing Pumpkins
8. Saeglopur by Sigur Ros
9. Great Gig in the Sky by Pink Floyd
10. And She Would Darken the Memory Of Youth by The Twilight Sad
Same here
Docker Desktop 2.2.0.5
Docker Engine 19.03.8
On Mac OSX 10.14.6
$ docker run -it --rm -p 80:80 --name whoami containous/whoami
On a remote machine
$ curl 192.168.25.87
Hostname: 07a90be6f0fa

HOWTO Lightroom sync with s3 windows/macos

1. The pitch

As I am an avid photographer & travelling quite a lot, I wanted to sync my Adobe Lightroom library from Macbook to my Microsoft Windows desktop at home with very little/no human intervention. It is also a good thing that both Lightroom versions (mac & windows) share a common file system/structure, this helped alot in synchronizing data from one environment to another.

This HOWTO assumes you already have an AWS account created and running with an IAM user configured.

Put together, the solution would look as such (pardon my poor diagram skills):

                                  _  
macbook pro                     (`  ).                     windows desktop
@truedat101
truedat101 / gist:9e7eeb0c22c7e8fc8dde5f205e1aa0cc
Last active May 11, 2018 16:20
A simple example of writing a formatted string out to a file or to json in Dlang
import std.stdio;
import std.string;
import std.file;
import std.json;
static const auto HK_DB = "hk_db.json"; // this is the filename
//
// Use a formatting string to fill in values for this config file
//
@truedat101
truedat101 / cross-compile-go-arm64.md
Last active July 17, 2020 12:40 — forked from conoro/cross-compile-go-arm64.md
Cross-compiling Golang for ARM64 (aarch64) e.g. Pine64 on Fedora AMD64
  • Install Go for Linux the usual way on your main Linux box:
cd
wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
tar -zxvf go1.8.linux-amd64.tar.gz
sudo mv go /usr/local/
export GOROOT=/usr/local/go
mkdir -p ~/.gitwork/go/src
mkdir ~/.gitwork/go/bin
@truedat101
truedat101 / checkboxes.md
Created February 12, 2017 01:55 — forked from germanny/checkboxes.md
Markdown checkboxes
  • checkbox is done with the two brackets next to the P key
  • checkbox is done with the two brackets next to the P key
  • checkbox is done with the two brackets next to the P key
  • checkbox is done with the two brackets next to the P key
curl -i -X POST \
-H "LicenseKey: MYAPIKEY \
-F "previousFrameResult=" -F imageFile=@img1.jpg -F timestamp=0 http://api.emovu.com/api/imageframe/
import org.apache.tools.ant.taskdefs.condition.Os
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.example.hellojni"