Skip to content

Instantly share code, notes, and snippets.

# -*- coding: utf-8 -*-
# manage plugins for earthquake.gem
#
# forked from:
# https://gist.github.com/milligramme/5253047
#
# usage
# :manage_plugins show installed plugin
# :manage_plugins on <plugin_name> enable plugin
# :manage_plugins off <plugin_name> disable plugin
@melborne
melborne / emoji.rb
Last active August 29, 2015 14:01 — forked from jugyo/emoji.rb
# coding: UTF-8
# emoji plugin(Emot gem version)
# ====
#
# You can post Emoji easily!
#
# Usage
# ----
#
# use benchmark_suite
# https://github.com/evanphx/benchmark_suite
# -*- encoding: utf-8 -*-
require 'benchmark/ips'
class Character < Struct.new(:name, :level, :point)
def to_s
"%s:\tlv:%d\tpt:%d" % values
end
end