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
dergachev /
Last active Feb 25, 2020
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF


To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

JunichiIto /
Last active Feb 25, 2020
List of alias matchers in RSpec 3

This list is based on aliases_spec.rb.

You can see also Module: RSpec::Matchers API.

matcher aliased to description
a_truthy_value be_truthy a truthy value
a_falsey_value be_falsey a falsey value
be_falsy be_falsey be falsy
a_falsy_value be_falsey a falsy value
hitode909 / lgtm
Created Oct 22, 2013
View lgtm
#! /usr/bin/env ruby
# Copy random LGTM to clipboard
require 'open-uri'
require 'nokogiri'
require 'shellwords'
doc = Nokogiri open('')


  • エアロバイクが壊れたので、対応を検討した。

  • 保障期間の1年以内だったが、修理に時間が掛かるので、新しいのに買い換えた。

  • 壊れたのは、粗大ゴミとして出す申し込みをした。

  • エアロバイク

    • 壊れたやつ: アルインコAFB4010
    • 新しいやつ: 上記と同じの
matope / Cassandra - A Decentralized Structured Storage System.markdown
Created Jul 23, 2012
Cassandra - A Decentralized Structured Storage System[和訳]
View Cassandra - A Decentralized Structured Storage System.markdown
tatsuru / parse.rb
Last active Feb 1, 2016
ec2 RI parser
View parse.rb
#!/usr/bin/env ruby
require 'json'
def parse(uri)
JSON.parse `curl -s #{uri}`.gsub("/*\n * This file is intended for use only on We do not guarantee its availability or accuracy.\n *\n * Copyright 2014, Inc. or its affiliates. All rights reserved.\n */\ncallback({",'{').gsub("\);", '').gsub(/([a-zA-Z]+):/, '"\1":')
puts %w(
View tumblr_photo_backuper.rb
#!/usr/bin/env ruby
require 'digest/sha2'
require 'uri'
require 'open-uri'
require 'json'
API_KEY = 'api_key'
View gist:2500991
# -*- coding:utf-8 -*-
class String
def kaibun
self + self[0..-2].reverse
#!/usr/bin/env perl
use strict;
use warnings;
use Pod::Usage;
use Text::Markdown 'markdown';
use HTML::TreeBuilder;
use List::Util 'max';
use Encode;
kazuhisya /
Created Jul 19, 2011
node.js rpm spec
You can’t perform that action at this time.