Skip to content

Instantly share code, notes, and snippets.

Issei Naruta mirakui

Block or report user

Report or block mirakui

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mirakui /
Last active Aug 29, 2015
Comparing standard CSV library in go and ruby
View link_checker.rb
View imap_fetcher.rb
require 'rubygems'
require 'net/imap'
require 'kconv'
require 'pit'
require 'logger'
class ImapFetcher
def initialize(pit_name)
@pit = Pit.get(
import sys
import re
import yaml
if len(sys.argv) != 2:
print 'Usage: python %s <mod_name>' % sys.argv[0]
mod_name = sys.argv[1]
mod = __import__(mod_name)
mirakui /
Created May 11, 2010
Pops up a growl notification when a command spends over 5 seconds
# source:
local COMMAND=""
function precmd() {
if [ "$COMMAND_TIME" -ne "0" ] ; then
local d=`date +%s`
d=`expr $d - $COMMAND_TIME`
if [ "$d" -ge "5" ] ; then
mirakui / imlib2_magick_benchmark2.rb
Created Jul 24, 2010
Benchmark Imlib2 vs ImageMagick
View imlib2_magick_benchmark2.rb
require "rubygems"
require "benchmark"
require "imlib2"
N = (ARGV.shift || 1).to_i
def bench(title)
puts "\nBenchmark: #{title} (#{N} times)", ">total:", ">avg:") do |bm|
View dmm_util.user.js
// ==UserScript==
// @name DMM Util
// @description DMM Utility
// @match*
// ==/UserScript==
(function() {
function replaceImg(img) {
var src = img.src
img.onload = function(){
img.width = img.naturalWidth;
View mirakui_chrome_keyconfig.json
"name": "Chrome Keyconfig",
"version": "1.13.1",
"normal_actions": {
"j": {
"name": "scroll down",
"args": []
"k": {
"name": "scroll up",
mirakui / mirakui.xml
Created Dec 13, 2010
Custom Theme Font for MacOffice 2011 ~/Library/Application\ Support/Microsoft/Office/ユーザー\ テンプレート/個人用テーマ/Theme\ Fonts/mirakui.xml
View mirakui.xml
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<a:fontScheme name="mirakui" xmlns:a="">
<a:latin typeface="Stone Sans ITC TT"/>
<a:ea typeface=""/>
<a:cs typeface=""/>
<a:font script="Jpan" typeface="小塚ゴシック Pr6N H"/>
<a:font script="Hang" typeface="맑은 고딕"/>
<a:font script="Hans" typeface="宋体"/>
<a:font script="Hant" typeface="新細明體"/>
mirakui / .vimrc
Created Nov 22, 2011
View .vimrc
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
You can’t perform that action at this time.