Skip to content

Instantly share code, notes, and snippets.

View tomoya's full-sized avatar
🏠
Working from home

Tomoya Otake tomoya

🏠
Working from home
View GitHub Profile
;;; inao-mode.el --- major mode for writing inao manuscripts
;; Copyright (C) 2010 SAKURAI Masashi
;; Author: SAKURAI Masashi <m.sakurai at kiwanami.net>
;; Keywords: outlines, convenience
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
@tomoya
tomoya / popup-hatena-profile-image.el
Created August 21, 2011 07:58 — forked from hitode909/popup-hatena-profile-image.el
popup-hatena-profile-image.el
;; popup-hatena-profile-image.el
;; カーソル位置のはてなユーザーのプロフィール画像をポップアップで表示します.
;; idコールする前に,idが合ってるか確認するのに使えます.
(require 'cl)
(require 'url)
(require 'deferred)
(require 'popwin)
(defun popup-hatena-profile-image ()
@innotekservices
innotekservices / jquery.spin.js
Created October 16, 2011 02:39
jQuery Plugin for Spin.js
/*
You can now create a spinner using any of the variants below:
$("#el").spin(); // Produces default Spinner using the text color of #el.
$("#el").spin("small"); // Produces a 'small' Spinner using the text color of #el.
$("#el").spin("large", "white"); // Produces a 'large' Spinner in white (or any valid CSS color).
$("#el").spin({ ... }); // Produces a Spinner using your custom settings.
$("#el").spin(false); // Kills the spinner.
@juno
juno / README.md
Created November 1, 2011 08:40
Install rbenv and ruby-build to Amazon Linux (cloud-init).

Install rbenv and ruby-build to Amazon Linux (cloud-init).

  1. Copy & paste content of user-data.sh to EC2 RunInstances user-data
  2. Then, logging in to EC2 instance as ec2-user and run install-ruby.sh.
@tomoya
tomoya / ponto-special.el
Created October 30, 2012 16:15
ぽんとさんのために作りました
;; このようなデータを
;; 532101 18 19
;; 532102 19 20
;; ↓
;; 532101 18 19 1.0555555555555556
;; 532102 19 20 1.0526315789473684
;; このようにします
(defun ponto-special (start end)
(interactive "r")