Skip to content

Instantly share code, notes, and snippets.

View elix22's full-sized avatar
🇮🇱
I stand with Israel

Eli Aloni elix22

🇮🇱
I stand with Israel
View GitHub Profile
@elix22
elix22 / local-ai-models-guide.md
Last active June 29, 2026 07:31
Local AI Models for C#/C/C++ Dev — MacBook Pro M5 Max (128GB)

Local AI Models for C#/C/C++ Development on a MacBook Pro M5 Max (128 GB)

A practical, opinionated setup guide tailored to:

  • Hardware: MacBook Pro M5 Max, 128 GB unified memory (~614 GB/s bandwidth on the 40‑core GPU part, a Neural Accelerator in every GPU core — this is genuinely a strong local‑LLM machine).
  • Languages: C# (primary) + C/C++ native libraries consumed by the C# framework.
  • Editors/agents you already have: VS Code + GitHub Copilot, Claude Code (Max ×20), opencode, Ollama, LM Studio, llama.cpp, MLX.
  • Extra requirements: some models must see images (UI failure screenshots); some must reach the internet (fetch packages, read docs).

Bottom line up front: No local model matches Claude (via your Claude Code Max plan) for the hardest reasoning/agentic work. The win from local models is privacy, zero marginal cost, offline capability, and instant inline completion. Use local models as your default daily drivers and keep **Claude Code as the escalation ti

@elix22
elix22 / PRIVACY_POLICY.md
Created May 22, 2026 15:46
Privacy policy for Smiling Fruits Game

Privacy Policy for Smiling Fruits

Effective Date: May 22, 2026
Last Updated: May 22, 2026

Overview

Smiling Fruits ("the App") is a fruit-merging puzzle game. This privacy policy describes how the App handles user data.

Information Collection and Use

@elix22
elix22 / NakamaClient.cs
Created June 22, 2021 14:23
Nakama client , custom certificate validation of self signed server certificate
using Urho;
using System;
using System.Threading.Tasks;
using Nakama;
namespace NakamaNetworking
{
public class NakamaClient
{
@elix22
elix22 / Dog.cs
Created November 1, 2020 17:12 — forked from zwcloud/Dog.cs
An example on embedding Mono runtime in C/C++.
using System;
public class Dog
{
static public void Type()
{
Console.WriteLine("a Dog!");
}
public void Bark()
{
@elix22
elix22 / UIOption.cpp
Created April 22, 2020 06:09 — forked from PredatorMF/UIOption.cpp
Urho3D UIOption
#include "ui_option.h"
#include <Urho3D/Core/Context.h>
#include <Urho3D/Resource/ResourceCache.h>
#include <Urho3D/UI/UI.h>
#include <Urho3D/UI/Text.h>
#include <Urho3D/UI/UIEvents.h>
#include <Urho3D/Input/InputEvents.h>
namespace Urho3D {
@elix22
elix22 / asPEEK.cpp
Created April 9, 2020 05:26 — forked from JSandusky/asPEEK.cpp
asPEEK debugger: add `friend class asPEEK` as needed for access to `Script`' and `ScriptFile` internals
/*
Copyright (c) 2012 Muhammed Ikbal Akpaca
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
/*
The MIT License (MIT)
Copyright (c) 2016 Yehonatan Ballas
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vulkan/vulkan.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_Vulkan.h>
typedef struct {
SDL_Window *SDLWindow;
SDL_Renderer *SDLRenderer;
@elix22
elix22 / sdl-metal-example.m
Created July 10, 2018 07:16 — forked from slime73/sdl-metal-example.m
SDL + Metal example
/**
* This software is in the public domain. Where that dedication is not recognized,
* you are granted a perpetual, irrevokable license to copy and modify this file
* as you see fit.
*
* Requires SDL 2.0.4.
* Devices that do not support Metal are not handled currently.
**/
#import <UIKit/UIKit.h>
@elix22
elix22 / ImGuiBindings.cpp
Created January 24, 2018 14:12 — forked from JSandusky/ImGuiBindings.cpp
Urho3D DearImGui
#include "../Precompiled.h"
#include "../AngelScript/Addons.h"
#include "../AngelScript/Script.h"
#include "../Math/Color.h"
#include "../Math/Vector2.h"
#include "../Math/Vector3.h"
#include "../Math/Vector4.h"
#include <AngelScript\angelscript.h>