Skip to content

Instantly share code, notes, and snippets.

View onyxblade's full-sized avatar
🎗️

onyxblade

🎗️
View GitHub Profile
@Dreaming381
Dreaming381 / Your ECS Probably Still Sucks Part 1.md
Last active June 25, 2025 19:28
Your ECS Probably Still Sucks - Practical Tips for a Next Level ECS

Your ECS Probably Still Sucks: Part 1 – Memory Matters

This article was first written during the Unity Fee-asco of 2023. As such, many Unity ECS community members were seeking alternative high-performance solutions, and were asking me about potential places to migrate some technology I have developed.

Unfortunately, most of the ECS solutions were inadequate for facilitating the technology, yet it hasn’t been easy to explain why. That’s why this series exists. I’ll explain several ECS concepts ideas that are often overlooked in

@hexxone
hexxone / main.py
Last active January 25, 2021 12:46 — forked from gurland/main.py
!!! DEPRECATED !!! DONT USE THIS IF YOU DON'T KNOW WHAT YOURE DOING !!!
# Copyright (c) 2017 Stanislav Bobokalo & Alexey Borontov & Dominic T
# 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
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all
@AndyShiue
AndyShiue / CuTT.md
Last active June 11, 2025 04:21
Cubical type theory for dummies

I think I’ve figured out most parts of the cubical type theory papers; I’m going to take a shot to explain it informally in the format of Q&As. I prefer using syntax or terminologies that fit better rather than the more standard ones.

Q: What is cubical type theory?

A: It’s a type theory giving homotopy type theory its computational meaning.

Q: What is homotopy type theory then?

A: It’s traditional type theory (which refers to Martin-Löf type theory in this Q&A) augmented with higher inductive types and the univalence axiom.

@adam12
adam12 / context.yml
Last active May 23, 2019 07:37 — forked from thinkerbot/context.yml
ERB vs Erubis vs Erubi
list:
- name: Adobe Systems
name2: Adobe Systems Inc.
url: http://www.adobe.com
symbol: ADBE
price: 39.26
change: 0.13
ratio: 0.33
- name: Advanced Micro Devices
name2: Advanced Micro Devices Inc.
@rmosolgo
rmosolgo / func_bench.rb
Last active October 3, 2024 05:03
Calling a pure function in Ruby (benchmark)
require "benchmark/ips"
# Let's say you want pure functions in Ruby.
# Which form of "packaging" is the fastest?
pure_func_proc = -> (a, b) { a + b }
pure_func_lambda = lambda { |a, b| a + b }
def pure_func_global(a, b)
a + b
@benjaminmiles
benjaminmiles / Low Poly Three.js Mountain Scene.markdown
Created August 25, 2015 17:29
Low Poly Three.js Mountain Scene
module Classical where
open import Data.Empty
using (⊥-elim)
open import Data.Product
using (_×_; _,_)
open import Data.Sum
using (_⊎_; inj₁; inj₂; [_,_])
open import Function
using (id; _∘_)
@jeffreyiacono
jeffreyiacono / Rakefile
Created February 8, 2012 20:15
rake task for precompiling assets using sprockets within a sinatra app + view helpers
require 'rubygems'
require 'bundler'
Bundler.require
require './application'
namespace :assets do
desc 'compile assets'
task :compile => [:compile_js, :compile_css] do
end
@spicycode
spicycode / tmux.conf
Created September 20, 2011 16:43
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000