Skip to content

Instantly share code, notes, and snippets.

View dezashibi's full-sized avatar
🎯
Focusing on my targets

Navid Dezashibi dezashibi

🎯
Focusing on my targets
View GitHub Profile
@dezashibi
dezashibi / how_to_fix_installation_error.md
Last active August 21, 2024 07:22
Install Homebrew on OSX

First things first

Follow the standard way of running:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

If it worked well bingo, bango! but if some fatal: ref... error happened or it stucked at the final stage of installation with similar error:

// Handle-based array. Used like this:
//
// EntityHandle :: distinct Handle
// entities: HandleArray(Entity, EntityHandle)
//
// It expects the type used (in this case Entity) to contains a field called handle
// of type Handle
//
// You can then fetch entities using ha_get() and add handles using ha_add()
/*
The purpose of this plugin is to disable certain procedures that are intended to be
developer-only secret code that you don't want to end up in the final release build
of your program.
To use this plugin, compile your program with `jai main.jai -plug Developer_Only`
and then mark certain procedures with the `@Developer` note. These procedures will
have their body deleted when in developer builds.
@dezashibi
dezashibi / CameraTargetSingleton.cs
Created March 13, 2025 05:18 — forked from JohnnyTurbo/CameraTargetSingleton.cs
Scripts from tutorial: Tutorial: SURVIVORS-LIKE w/ Unity DOTS & ECS - https://youtu.be/cc5l66FwpQ4
using UnityEngine;
namespace TMG.Survivors
{
public class CameraTargetSingleton : MonoBehaviour
{
public static CameraTargetSingleton Instance;
public void Awake()
{