Skip to content

Instantly share code, notes, and snippets.

View vrat28's full-sized avatar
💭
do { programming() } while !success

Varun vrat28

💭
do { programming() } while !success
View GitHub Profile
@vrat28
vrat28 / loadEntityAsync.swift
Created June 6, 2021 14:53 — forked from eospi/loadEntityAsync.swift
RealityKit Asynchronous Loading
import Combine
func loadEntityAsync() {
// Create an world anchor at the origin and add it to the scene
let anchor = AnchorEntity(world: [0,0,0])
arView.scene.addAnchor(anchor)
let usdzPath = "path/to/usdz/asset"
// Load the asset asynchronously
@vrat28
vrat28 / mac-setup-redis.md
Created January 21, 2021 02:44 — forked from tomysmile/mac-setup-redis.md
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis
@vrat28
vrat28 / ios-interview-resources.md
Created October 10, 2020 07:58 — forked from funmia/ios-interview-resources.md
General iOS, CS questions and interview prep resources.