Skip to content

Instantly share code, notes, and snippets.

View comuttun's full-sized avatar

KOMATSU Seiji comuttun

  • Magmag, Inc.
  • Yokohama, Japan
View GitHub Profile
@comuttun
comuttun / sharedocs-setup.log
Created February 22, 2017 15:07
sharedocs setup
mainecoon$ ./sharedocs setup
npm WARN Sharedocs@1.0.0 No repository field.
npm WARN Sharedocs@1.0.0 No license field.
[ OK ] npm install succeeded
> Sharedocs@1.0.0 webpack /Users/skomatsu/src/github.com/atware/sharedocs
> webpack
clean-webpack-plugin: /Users/skomatsu/src/github.com/atware/sharedocs/src/main/webapp/assets/dist has been removed.
Hash: 299099730089b9de7353
module.consul.aws_security_group.consul: Creating...
description: "" => "Consul internal traffic + maintenance."
egress.#: "" => "1"
egress.482069346.cidr_blocks.#: "" => "1"
egress.482069346.cidr_blocks.0: "" => "0.0.0.0/0"
egress.482069346.from_port: "" => "0"
egress.482069346.prefix_list_ids.#: "" => "0"
egress.482069346.protocol: "" => "-1"
egress.482069346.security_groups.#: "" => "0"
egress.482069346.self: "" => "false"
@comuttun
comuttun / Tuples.java
Created September 2, 2016 12:44 — forked from giuniu/Tuples.java
tupleっぽいものをJavaで実装する
import java.lang.reflect.Field;
import java.util.Date;
public final class Tuples {
public static void main(String[] args) {
Tuple3<Integer, String, Date> tpl = Tuples.get(1, "a", new Date());
System.out.println(tpl._1);
System.out.println(tpl);
}
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.*;
import java.text.Normalizer;
import java.text.Normalizer.Form;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
diff --git a/configure b/configure
index 8f43929..f43e72c 100755
--- a/configure
+++ b/configure
@@ -5777,7 +5777,7 @@ if test -n "$APXS" && test "$APXS" != "no"; then
$as_echo_n "checking mod_dav version... " >&6; }
old_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
- blacklisted_versions_regex="\"2\" \"\.\" (\"2\" \"\.\" \"25\"|\"4\" \"\.\" \"[56]\")"
+ blacklisted_versions_regex="\"2\" \"\.\" (\"2\" \"\.\" \"25\")"
$ ./configure --prefix=/opt/subversion-1.8.14 --with-apxs=/usr/bin/apxs --with-sqlite=sqlite-amalgamation-3081101/sqlite3.c
configure: Configuring Subversion 1.8.14
configure: creating config.nice
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
$ ./configure --prefix=/opt/subversion-1.8.14 --with-apxs=/usr/bin/apxs --with-sqlite=sqlite-amalgamation-3081101/sqlite3.c
configure: Configuring Subversion 1.8.14
configure: creating config.nice
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
@comuttun
comuttun / Microsoft Remote Desktop - Yen Sign Probmlem.md
Last active August 29, 2015 14:18
Microsoft Remote Desktop - Yen Sign Problem

Microsoft Remote Desktop - Yen Sign Problem

Yen input from MacBookPro with 106 JIS Keyboard

¥

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@comuttun
comuttun / KeySetting.diff
Created October 19, 2014 18:38
Change Space and Shift+Space behavior for JapaneseIM on OS X Yosemite
diff --git a/KeySetting_Ainu.plist b/KeySetting_Ainu.plist
index 197b151..809b6b8 100644
--- a/KeySetting_Ainu.plist
+++ b/KeySetting_Ainu.plist
@@ -13,14 +13,14 @@
<key>command</key>
<string>direct_input</string>
<key>character</key>
- <string> </string>
+ <string> </string>