Skip to content

Instantly share code, notes, and snippets.

View DragoonAethis's full-sized avatar

Dragoon Aethis DragoonAethis

View GitHub Profile
@DragoonAethis
DragoonAethis / AKO-UTF8-UTF16-Tester.c
Last active October 15, 2017 20:29
A lightweight tester to check if your UTF-8 -> UTF-16 conversion function works correctly. Further test cases can be added in the test_battery().
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
// How many tests passed?
int tests = 0;
int passed = 0;
struct test_case {
@DragoonAethis
DragoonAethis / Open Folder in ST3
Created December 29, 2013 19:44
And magically, the whole world is happier.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\sublime]
@="Open in &Sublime"
"Icon"="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]
@="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime]