Skip to content

Instantly share code, notes, and snippets.

View cavearr's full-sized avatar

Carlos Venegas Arrabé cavearr

View GitHub Profile
@JaimeObregon
JaimeObregon / organizaciones_fungibles.md
Last active February 5, 2025 01:22
Organizaciones fungibles

Organizaciones Fungibles

Este documento es público y cualquiera puede evolucionarlo.

💡 Nombres alternativos:

  • Organización efímera
  • Organización fugaz
  • Organización fungible

¿Y si reinventamos la manera de organizarnos para resolver problemas?

@ceberly
ceberly / Makefile
Last active November 13, 2023 17:31
Row vs. Column access patterns
default:
gcc -O0 -g3 -Wall -Wextra -Wconversion -Wdouble-promotion \
-Wno-unused-parameter -Wno-unused-function -Wno-sign-conversion \
main.c
format:
clang-format -i main.c
@a1k0n
a1k0n / donut.c
Created October 23, 2023 04:03
donut shift and add only
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <math.h>
#define debug(...)
//#define debug printf
// torus radii and distance from camera
@dreamorosi
dreamorosi / readme.md
Created October 17, 2023 12:18
Install neovim on Amazon Linux 2023

Build & Install neovim

AL2023 doesn't have a distribution for neovim, so you need to build it from source - for more info see here.

Install prerequisites:

sudo yum -y install ninja-build cmake gcc make unzip gettext curl git --allowerasing

Clone repository:

How to install game-porting-toolkit (aka proton for macOS)

You also might wanna just use Whisky which does this automatically

This guide works on macOS 13.4+ using Command Line Tools for XCode 15 Beta!

What is this?

In the recent WWDC, Apple announced and released the "game porting toolkit", which upon further inspection this is just a modified version of CrossOver's fork of wine which is a "compatibility layer" that allows you to run Windows applications on macOS and Linux.

@jmrobles
jmrobles / fpgawars-alhambra2-litex-howto.md
Last active January 15, 2025 21:54
How to create a LiteX SoC in Alhambra 2 FPGA

Litex on FPGAWars Alhambra II

Motivation

Litex is an awesome project that allow us to create SoC on FPGA using Python! (yeah, Python is eating the software).

On the other hand, Alhambra II is one of the first open hardware based on the famous Lattice ICE40 FPGA family.

image

@marcoarment
marcoarment / S3.php
Last active March 19, 2025 14:09
A simple PHP class to perform basic operations against Amazon S3 and compatible services.
<?php
/*
A simple PHP class to perform basic operations against Amazon S3 and compatible
services. Requires modern PHP (7+, probably) with curl, dom, and iconv modules.
Copyright 2022 Marco Arment. Released under the MIT license:
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
@EllyLoel
EllyLoel / reset.css
Last active January 24, 2025 09:14
CSS Reset
/*
Made by Elly Loel - https://ellyloel.com/
With inspiration from:
- Josh W Comeau - https://courses.joshwcomeau.com/css-for-js/treasure-trove/010-global-styles/
- Andy Bell - https://piccalil.li/blog/a-modern-css-reset/
- Adam Argyle - https://unpkg.com/[email protected]/normalize.min.css / https://codepen.io/argyleink/pen/KKvRORE
Notes:
- `:where()` is used to lower specificity for easy overriding.
*/
@binji
binji / LICENSE
Last active January 9, 2025 20:55
pokegb.cc w/o macros
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 copies or substantial portions of the Software.