Skip to content

Instantly share code, notes, and snippets.

View nisshiee's full-sized avatar

Hirokazu Nishioka nisshiee

View GitHub Profile
@kyonmm
kyonmm / TDDeXchange-exercise-for-tdder.md
Last active December 7, 2022 05:21
TDD演習課題 - TODOリストアプリ
@tototoshi
tototoshi / build.sbt
Created March 10, 2013 03:29
Modularizing Language Features sucks.
scalacOptions <<= scalaVersion.map { sv =>
if (sv.startsWith("2.10")) {
Seq(
"-deprecation",
"-language:dynamics",
"-language:postfixOps",
"-language:reflectiveCalls",
"-language:implicitConversions",
"-language:higherKinds",
"-language:existentials",
@ryseto
ryseto / gist:2259918
Created March 31, 2012 06:19
Font setting for Emacs23 (Cocoa Emacs) create-fontset
;;; フォントセットを作る
(let* ((fontset-name "myfonts") ; フォントセットの名前
(size 12) ; ASCIIフォントのサイズ [9/10/12/14/15/17/19/20/...]
(asciifont "Menlo") ; ASCIIフォント
(jpfont "Hiragino Maru Gothic ProN") ; 日本語フォント
(font (format "%s-%d:weight=normal:slant=normal" asciifont size))
(fontspec (font-spec :family asciifont))
(jp-fontspec (font-spec :family jpfont))
(fsn (create-fontset-from-ascii-font font nil fontset-name)))
(set-fontset-font fsn 'japanese-jisx0213.2004-1 jp-fontspec)
@noonat
noonat / gist:1649543
Created January 20, 2012 21:02
Rake Quick Reference
# Rake Quick Reference
# by Greg Houston
# http://ghouston.blogspot.com/2008/07/rake-quick-reference.html
# -----------------------------------------------------------------------------
# Running Rake
# -----------------------------------------------------------------------------
# running rake from the command-line:
# rake --help
@wrwills
wrwills / abbrevs.el
Created December 21, 2010 15:55
abbrevs for working with scalaz unicode in emacs; put in .emacs or M-x eval-region in scratch; and then allow to be saved on exit; activate with M-x abbrev-mode
(define-abbrev-table 'global-abbrev-table '(
("alpha" "α" nil 0)
("beta" "β" nil 0)
("gamma" "γ" nil 0)
("theta" "θ" nil 0)
("inf" "∞" nil 0)
("|@|" " ⊛" nil 0)
("forever" "∞" nil 0)
("jjoin" "μ" nil 0)
("cojoin" "υ" nil 0)