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
--- 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
--- 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
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
if(process.argv.length < 3){ | |
console.log('target file path is required.') | |
process.exit(1) | |
} | |
var target = process.argv[2] | |
console.log('file: ' + target) | |
var fs = require('fs') | |
fs.readFile(target, function (err, data) { |
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
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>INTELIJ</appname> | |
<equal>com.jetbrains.intellij</equal> | |
</appdef> | |
<replacementdef> | |
<replacementname>EMACS_MODE_IGNORE_APPS</replacementname> | |
<replacementvalue> |
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
import org.scalatest._ | |
import org.scalatest.GivenWhenThen | |
import play.api.libs.json._ | |
import play.api.test._ | |
import play.api.test.Helpers._ | |
class UserApiSpec extends FunSpec with GivenWhenThen with Matchers { | |
describe("Users API") { | |
describe("GET /users") { |
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
import play.api.libs.json._ | |
import play.api.libs.functional.syntax._ | |
object Main { | |
implicit val jsonFormat = | |
(__ \ "v").write[String].contramap((fb: FizzBuzz) => fb.v) | |
def main(args: Array[String]) { | |
print(Json.toJson(FizzBuzz.Fizz)) | |
print(Json.toJson(FizzBuzz.Buzz)) |