Skip to content

Instantly share code, notes, and snippets.

View whitglint's full-sized avatar

whitglint whitglint

View GitHub Profile
原文 GG 了請參考 archive
https://web.archive.org/web/20090221093708/http://d.hatena.ne.jp/yuki_neko_nyan/20090217/1234850409
以下備份
2009-02-17
■ループが書けなくなる(或いは再帰依存症)レベル10 15:00 ループが書けなくなる(或いは再帰依存症)レベル10 - 猫的怠惰Days
level 0
@whitglint
whitglint / fizzBuzz.c
Last active February 14, 2017 05:54 — forked from lancetw/fizzBuzz.c
#include <stdio.h>
#include <stdlib.h>
static const size_t sizeToAlloc = sizeof("9223372036854775807");
char** fizzBuzz(int n, int* returnSize) {
char** ret = calloc(n, sizeof(char*));
*returnSize = n;
char* sp;
@whitglint
whitglint / fonts.conf
Created May 28, 2016 11:10 — forked from Brli/fonts.conf
~/.config/fontconfig/fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<test name="family" qual="any">
<string>monospace</string>
</test>
<edit name="family" mode="assign" binding="same">
<string>Fira Mono</string>
<string>Source Han Sans HW TC</string>