Skip to content

Instantly share code, notes, and snippets.

View wagoid's full-sized avatar

Wagner Santos wagoid

View GitHub Profile
@fokusferit
fokusferit / enzyme_render_diffs.md
Last active April 11, 2025 18:25
Difference between Shallow, Mount and render of Enzyme

Shallow

Real unit test (isolation, no children render)

Simple shallow

Calls:

  • constructor
  • render
@jcupitt
jcupitt / vikas.c
Created September 2, 2016 14:32
load/shrink/crop/rotate from a mem buffer to stdout with vips C
/* compile with
*
* gcc -Wall vikas.c `pkg-config vips --cflags --libs`
*/
#include <stdio.h>
#include <string.h>
#include <vips/vips.h>