Skip to content

Instantly share code, notes, and snippets.

@kawacho
kawacho / dot.nodoka
Last active December 9, 2015 08:14
汎用キーバインディング変更ソフト「のどか」の設定例、試行錯誤中
# http://www.appletkan.com/nodoka-doc/README-ja.html
# キーボード設定
include "104.nodoka"
# Emacs ライクな様々な設定
include "default.nodoka"
# Evernote
window Evernote /Evernote.exe/ : EmacsEdit
@kawacho
kawacho / init.el
Last active August 29, 2015 14:06
~/.emacs.d/init.el 晒し(2014-09-28)
;;; -*- Mode: Emacs-Lisp; Coding: utf-8 -*-
;;; ~/.emacs.d/
(unless (boundp 'user-emacs-directory)
(defvar user-emacs-directory (expand-file-name "~/.emacs.d/")))
;;; ユーザー情報
(setq user-full-name "Kawahara Masayoshi")
(setq user-mail-address "kawacho@gmail.com")
@kawacho
kawacho / jshint-reporter-vs.js
Created July 23, 2013 06:34
JSHint のカスタムレポーター。 「ファイル名(行番号, 桁番号): ...」という書式で出力するので、Visual Studio の外部ツールとして実行 → 出力ウィンドウのダブルクリックで指摘位置にジャンプ可能。 jshint --reporter="jshint-reporter-vs.js" ... のように使う。
/* global module, process */
module.exports = {
reporter: function (res) {
var len = res.length;
if (len === 0) {
return;
}
for (var i = 0; i < len; i++) {
var file = res[i].file;