Skip to content

Instantly share code, notes, and snippets.

View svenvc's full-sized avatar

Sven Van Caekenberghe svenvc

View GitHub Profile
@s4y
s4y / naive_utf8.c
Last active October 15, 2017 09:28
A simple UTF-8 parser that happens to be fast.
#include <inttypes.h>
typedef enum {
UTF8_OK = 0,
UTF8_ERROR = 4,
} utf8_decode_state_t;
typedef struct {
utf8_decode_state_t state;
uint32_t codepoint;
@staltz
staltz / introrx.md
Last active May 3, 2024 13:00
The introduction to Reactive Programming you've been missing
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active May 2, 2024 05:55
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: