Skip to content

Instantly share code, notes, and snippets.

@jokertarot
jokertarot / twitter-shinchoku.user.js
Created November 23, 2013 10:48
Twitter < "進捗どうですか?"
// ==UserScript==
// @name sinchoku doudesuka
// @description 進捗どうですか?
// @include https://twitter.com/*
// ==/UserScript==
var shinchoku = function() {
var d = document.getElementById('tweet-box-mini-home-profile');
if (d) d.firstChild.innerHTML = '進捗どうですか?';
};
@jokertarot
jokertarot / clfontpng.cc
Created November 21, 2013 15:43
How to render color emoji font with FreeType 2.5
// = Requirements: freetype 2.5, libpng, libicu, libz, libzip2
// = How to compile:
// % export CXXFLAGS=`pkg-config --cflags freetype2 libpng`
// % export LDFLAGS=`pkg-config --libs freetype2 libpng`
// % clang++ -o clfontpng -static $(CXXFLAGS) clfontpng.cc $(LDFLAGS) \
// -licuuc -lz -lbz2
#include <cassert>
#include <cctype>
#include <iostream>
#include <memory>