- 購入時のバージョンは10.9.4(Mervericks)
- homebrew が依存してる
- anyenv が依存してる (git)
var DISPATCH_TABLE = {}; | |
DISPATCH_TABLE.Person = { | |
intro : function(_self){ | |
return "I am just a Person,and my name is "+_self.name; | |
} | |
}; |
#include <yajl/yajl_parse.h> | |
#include <yajl/yajl_gen.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
static int map_level = 0; | |
static int array_level = 0; |
package exn; | |
import exn.SubClassException; | |
public class Main { | |
public Main() {} | |
public static void main(String args[]) { | |
Main main = new Main(); |
package exn; | |
import exn.SubClassException; | |
public class Main { | |
public Main() {} | |
public static void main(String args[]) { | |
Main main = new Main(); |
[ | |
{ | |
"fields": [ | |
{ | |
"type": "float", | |
"mode": "repeated", | |
"name": "coordinates" | |
}, | |
{ | |
"type": "string", |
/** | |
* Remixer 1: @herkulano (http://www.herkulano.com) | |
* Remixer 2: @hotappsfactory (http://www.hotappsfactory.com) | |
* Thanks to: Niels Bosma ([email protected]) | |
*/ | |
var folder = Folder.selectDialog(); | |
var document = app.activeDocument; | |
var suffix = ""; |
use strict; | |
use warnings; | |
use Exception::Tiny; | |
use Try::Tiny qw/try catch finally/; | |
sub hoge { | |
return try { | |
Exception::Tiny->throw({hoge => 'foo'}); | |
return 'hogehoge'; |
nat(0). | |
nat(s(X)) :- nat(X). | |
/* even(x) odd(X) */ | |
plus(0, Y, Y). | |
plus(s(X), Y, s(Z)) :- plus(X, Y, Z). | |
le(X, Y) :- plus(X, _, Y). | |
lt(0, S(X)). |
-- 多分Postgresでしか動かない | |
with nums as ( | |
select column1 as n | |
from ( | |
values(1),(2),(3),(4),(5) | |
) t | |
) | |
, sums as ( | |
select n1.n + n2.n + n3.n as n | |
from nums n1 |