2014-09-01から1ヶ月間の記事一覧

Midimessage - Javascript musical instrumental messaging application

I'm a newbie for creating javascript application but I really wanna improve my skill! So I have tried to create an Application which is mentioned in the title. Attention: This application sounds after clicking play button. http://midimessa…

A piece of advice of "dotfiles" to manage ~/.*rc files on Github for Mac

You have some ~/.*rc files, don't you? ls -lta ~/ | grep rc -rw-r--r-- 1 hoge staff 18 9 20 14:10 .jshintrc -rw-r--r-- 1 hoge staff 16 9 20 14:10 .bashrc -rw-r--r-- 1 hoge staff 34 7 13 21:23 .zshrc -rw-r--r-- 1 hoge staff 34 7 13 13:55 .v…

How to confirm version of CentOS

$ cat /etc/redhat-release CentOS release 6.5 (Final)

SQL to get missing sequential number

When defining a table like below: create table testtable ( id serial primary key, hoge varchar(24) ); A sequence "testtable_id_seq" has been created automatically as below: # \d List of relations Schema | Name | Type | Owner --------+-----…

How to Install RStudio and set up CasualImpact on Mac

Environment Mac OS X 10.9.4 Install RStudio and devtools Download RStudio - RStudio Launch it. install.packages("devtools") Done Installing. Install R Package - CasualImpact CausalImpact library(devtools) devtools::install_github("google/C…

Insert SQL with returning Id defined as Serial for PostgreSQL

When defining id as Serial create table testtable ( id serial primary key, hoge varchar(24) ); "RETURNING" clause returns inserted id. insert into testtable (hoge) values ('test') returning id; Query above returning below: insert into test…