Skip to content

Instantly share code, notes, and snippets.

View kempniu's full-sized avatar

Michał Kępień kempniu

View GitHub Profile
@kempniu
kempniu / sparsify.c
Last active March 16, 2023 23:41
sparsify - copy non-zero blocks of data from source to destination
/*
***********************************************************************
*
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* Version 2, December 2004
*
* Copyright (C) 2004 Sam Hocevar <[email protected]>
*
* Everyone is permitted to copy and distribute verbatim or modified
* copies of this license document, and changing it is allowed as long

Keybase proof

I hereby claim:

  • I am kempniu on github.
  • I am kempniu (https://keybase.io/kempniu) on keybase.
  • I have a public key whose fingerprint is 3071 6511 4203 AD67 F872 AB03 B374 DA3D FB17 243B

To claim this, I am signing this object: