Skip to content

Instantly share code, notes, and snippets.

View mhayashi1120's full-sized avatar

Masahiro Hayashi mhayashi1120

View GitHub Profile
@mhayashi1120
mhayashi1120 / nativechecker.el
Created July 13, 2011 16:35
English checker for Japanese
;;; Install:
;; Put this file into load-path'ed directory, and byte compile it if
;; desired. And put the following expression into your ~/.emacs.
;;
;; (require 'nativechecker)
;;; Usage:
@mhayashi1120
mhayashi1120 / jcalendar-test.el
Created June 18, 2011 11:14
Calendar extension for japanese
(require 'ert)
(require 'jcalendar)
(ert-deftest jcalendar-era ()
""
:tags '(jcalendar)
(should (equal (car (jcalendar--date-to-era '(1 6 1989))) "昭和"))
(should (equal (car (jcalendar--date-to-era '(1 7 1989))) "昭和"))
(should (equal (car (jcalendar--date-to-era '(1 8 1989))) "平成"))
(should (equal (car (jcalendar--date-to-era '(1 25 1868))) "明治"))
@mhayashi1120
mhayashi1120 / twittering+tab.el
Last active September 25, 2015 11:57
twittering-mode tab extension
;; Author: Masahiro Hayashi <[email protected]>
;; Keywords:
;; Emacs:
;; Package-Requires: ()
;; * require imagemagick to display icon
;;TODO
;; * show unseen count or only unseen existence.
@mhayashi1120
mhayashi1120 / fgit.el
Created October 21, 2010 13:01
my git interface
;;; fgit.el --- Functional Git interface for emacs
;; Copyright (C) 2010 by Hayashi Masahiro
;; Author: Hayashi Masahiro <[email protected]>
;; URL:
;; Keywords: Emacs, Git, Frontend
;; Version: 0.0.1
;; fgit.el is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@mhayashi1120
mhayashi1120 / gdic.el
Last active September 23, 2015 15:28
Google dictionary for japanese
;;; -*- coding: utf-8; -*-
;;; gdic.el --- Google translator for Japanese
;; Author: Masahiro Hayashi <[email protected]>
;; URL: http://gist.github.com/575981
;; Keywords: google translation
;; Emacs: GNU Emacs 24 or later
;; Package-Requires: ((cl-lib "0.3"))
;; Version: 0.2.0
;;; archive-7z.el --- Archive mode extensions for 7z
;; Author: Masahiro Hayashi <[email protected]>
;; Keywords:
;; Emacs: GNU Emacs
;; Package-Requires: ()
;;; Commentary:
;;