Skip to content

Instantly share code, notes, and snippets.

@me-no-dev
me-no-dev / IP5306.ino
Last active June 29, 2025 01:11
Sketch with IP5306 integration
#include "Arduino.h"
#include "Wire.h"
/*
** IP5306 Power Module
*/
/* M5 Defaults
KeyOff: Enabled
BoostOutput: Disabled
@vermorel
vermorel / fast_convolve_1D.cpp
Last active February 8, 2025 15:50
Fast 1D convolution with AVX
// Fast 1D convolution with AXV
// By Joannes Vermorel, Lokad, January 2018
// Released under MIT license
#include <string.h>
#include <stdio.h>
#include <malloc.h>
/* A simple implementation of a 1D convolution that just iterates over
* scalar values of the input array.
#ifndef __DISPATCHER_H
#define __DISPATCHER_H
#include <functional>
#include <list>
template <typename... Args>
class Dispatcher
{
public:
@dmnsgn
dmnsgn / WebGL-WebGPU-frameworks-libraries.md
Last active October 26, 2025 20:33
A collection of WebGL and WebGPU frameworks and libraries

A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.

Engines and libraries ⚙️

Name Stars Last Commit Description
three.js ![GitHub
app.factory('utils', function() {
return {
validCpf: function(cpf) {
if ( !cpf || cpf.length != 11
|| cpf == "00000000000"
|| cpf == "11111111111"
|| cpf == "22222222222"
|| cpf == "33333333333"
|| cpf == "44444444444"
|| cpf == "55555555555"
@nasitra
nasitra / carray2slice.go
Created October 31, 2015 02:38
Convert 'C' array to golang slice
func carray2slice(array *C.int, len int) []C.int {
var list []C.int
sliceHeader := (*reflect.SliceHeader)((unsafe.Pointer(&list)))
sliceHeader.Cap = len
sliceHeader.Len = len
sliceHeader.Data = uintptr(unsafe.Pointer(array))
return list
}