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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title></title> | |
<script src='http://code.jquery.com/jquery-2.1.4.min.js'></script> | |
<script src='http://coffeescript.org/extras/coffee-script.js'></script> | |
<script src='http://jumly.tmtk.net/public/jumly.min.js'></script> | |
</head> | |
<body> | |
<pre id='code'>@found "I", -> @message "speak to", "You"</pre> |
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
mkdir -p a0 | |
mkdir -p a1 | |
mkdir -p a2 | |
mkdir -p b0 | |
mkdir -p b1 | |
mkdir -p b2 | |
mkdir -p c0 | |
mkdir -p c1 | |
mkdir -p c2 | |
mkdir -p d0 |
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(global) { | |
function lib0(a) { return "lib0" + a; } | |
function lib1(a) { return "lib1" + a; } | |
function main(params, ctxt, done) { | |
done({a: lib0(12), b: lib1(23)}); | |
} |
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
variable "aws_access_key" {} | |
variable "aws_secret_key" {} | |
variable "aws_region" { default = "ap-northeast-1" } | |
variable "your_subnet_id" { default = "subnet-9a6da0c3" } | |
variable "your_vpc_id" { default = "vpc-1c1fc479" } | |
variable "your_key_name" { default = "foo" } | |
provider "aws" { | |
access_key = "${var.aws_access_key}" |
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
package main | |
import ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
type Task struct { | |
id int |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/tmtk75/cli" | |
) | |
func main() { |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/tmtk75/cli" | |
) | |
func main() { |
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
case "refs/tags/v0.1.0" in | |
refs/heads/production|refs/tags/v[0-9]\.*) | |
echo "OK" | |
;; | |
*) | |
echo "NG" | |
;; | |
esac | |
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
#!/bin/bash | |
# | |
# consul Manage the consul agent | |
# | |
# chkconfig: 2345 95 95 | |
# description: Consul is a tool for service discovery and configuration | |
# processname: consul | |
# config: /etc/consul.conf | |
# pidfile: /var/run/consul.pid |
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
variable "aws_access_key" {} | |
variable "aws_secret_key" {} | |
variable "key_name" {} | |
variable "aws_region" {} | |
variable "cidr" { | |
default = "192.168.11.0/24" | |
} | |
provider "aws" { | |
access_key = "${var.aws_access_key}" |