Key | Action | Note |
---|---|---|
C + ; | Complettion | |
S + C + ; | Smart Completion | |
⌘ + . | Next Error | |
⌘ + S + . | Previous Error | |
C + ' | Quick Fix | |
C + S + T | Open Testing Pair |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Id[V](val id: V) | |
trait Entity[T <: Id[_]] { | |
val id: T | |
} | |
case class User(id: Id[String]) extends Entity[Id[String]] | |
trait Repository[ID <: Id[_], E <: Entity[ID]] { | |
def find(id: ID): E |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SBT_OPTS="-Dfile.encoding=UTF-8 -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dict/dict.mak b/dict/dict.mak | |
index 49435d6..eea60e6 100644 | |
--- a/dict/dict.mak | |
+++ b/dict/dict.mak | |
@@ -6,7 +6,7 @@ | |
DICT = migemo-dict | |
DICT_BASE = base-dict | |
-SKKDIC_BASEURL = http://openlab.ring.gr.jp/skk/dic | |
+SKKDIC_BASEURL = http://www.ring.gr.jp/archives/elisp/skk/dic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/wordbuf.c 2011-08-15 02:57:05.000000000 +0900 | |
+++ b/src/wordbuf.c 2011-08-15 02:57:17.000000000 +0900 | |
@@ -9,6 +9,7 @@ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
+#include <limits.h> | |
#include "wordbuf.h" | |
#define WORDLEN_DEF 64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/dict/dict.mak | |
+++ b/dict/dict.mak | |
@@ -6,7 +6,7 @@ | |
DICT = migemo-dict | |
DICT_BASE = base-dict | |
-SKKDIC_BASEURL = http://openlab.ring.gr.jp/skk/dic | |
+SKKDIC_BASEURL = http://www.ring.gr.jp/archives/elisp/skk/dic | |
SKKDIC_FILE = SKK-JISYO.L | |
EUCJP_DIR = euc-jp.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
var hasTouch = 'ontouchstart' in window | |
$.fn.fastclick = function(fn, delay, amount){ | |
delay = delay || 50 | |
amount = amount || 10 | |
// browser fallback | |
if(!hasTouch){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
tell process "iPhone Simulator" | |
click button "Reload" of window 1 | |
end tell | |
end tell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun web-reload-iphonesimulator () | |
"Reload a page on iPhone Simulator. Run process associated to the *Messages* buffer" | |
(interactive) | |
(start-process-shell-command | |
"iphonesimulator-process" | |
"*Messages*" | |
"osascript -e 'tell application \"System Events\"' -e 'tell process \"iPhone Simulator\"' -e 'click button \"Reload\" of window 1' -e 'end tell' -e 'end tell'")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var hasTouch = 'ontouchstart' in window; | |
x$.extend({ | |
tap: function(fn, delay){ | |
// browser fallback | |
if(!hasTouch){ | |
return this.each(function(){ | |
x$(this).click(fn); |