Skip to content

Instantly share code, notes, and snippets.

@jokertarot
jokertarot / twitter-shinchoku.user.js
Created Nov 23, 2013
Twitter < "進捗どうですか?"
View twitter-shinchoku.user.js
// ==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 Nov 21, 2013
How to render color emoji font with FreeType 2.5
View clfontpng.cc
// = 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>