Skip to content

Instantly share code, notes, and snippets.

View MFFunmaker's full-sized avatar
🍗

Isaac Borup MFFunmaker

🍗
View GitHub Profile
@kyaroru
kyaroru / expo-three-3d-view.js
Last active March 25, 2023 09:20
This is an utility file for loading OBJ, FBX, GLTF models using expo-three & threejs
onContextCreate = async (gl, data) => {
// const {setRenderer, setCamera, setScene} = data;
const { selected } = data;
const { drawingBufferWidth: width, drawingBufferHeight: height } = gl;
const sceneColor = 0xabd2c3;
// Create a WebGLRenderer without a DOM element
const renderer = new Renderer({ gl });
renderer.setSize(width, height);
renderer.setClearColor(sceneColor);
@rahularity
rahularity / work-with-multiple-github-accounts.md
Last active May 4, 2024 15:07
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent