This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Replace this | |
BASE_PATH = "/home/abotella/filenames_test/".encode("utf-8") | |
FILENAMES = [ | |
# Basic UTF-8 test (useless on its own, meant to check that multiple files | |
# work together) | |
"ûtf-∞".encode("utf-8"), | |
# UTF-8 starting with BOM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# If this file isn't being run as a source, source it. | |
if (return 0 2>/dev/null); then | |
deactivate () { | |
goma_ctl ensure_stop | |
export PATH="$OLD_PATH" | |
unset OLD_PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <wordexp.h> | |
using namespace std; | |
char hexDigit(int digit) { | |
if (digit >= 0 && digit <= 9) { | |
return '0' + digit; | |
} else if (digit >= 10 && digit <= 15) { | |
return 'A' + digit - 10; |