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
{ | |
"embeddings": [ | |
{ | |
"tensorName": "My tensor", | |
"tensorShape": [ | |
1000, | |
50 | |
], | |
"tensorPath": "https://gist.githubusercontent.com/s-kiriki/465b7c676623f12dc256504261d288ab/raw/tensor.tsv", | |
"metadataPath": "https://gist.githubusercontent.com/s-kiriki/465b7c676623f12dc256504261d288ab/raw/metadata.tsv" |
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
<?php | |
if (!getenv(SLACK_API_TOKEN)) { | |
exit('You must set env SLACK_API_TOKEN'); | |
} | |
ini_set('date.timezone', 'Asia/Tokyo'); |
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
<?php | |
if (!getenv(SLACK_API_TOKEN)) { | |
exit('You must set env SLACK_API_TOKEN'); | |
} | |
ini_set('date.timezone', 'Asia/Tokyo'); | |
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
FROM centos:centos6 | |
RUN yum update -y | |
RUN yum install -y httpd | |
RUN yum install -y git | |
ADD ./app_init.sh / | |
RUN mkdir /root/.ssh/ | |
ADD id_rsa /root/.ssh/id_rsa |
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
// Playground - noun: a place where people can play | |
import UIKit | |
var str = "Hello, playground" | |
//クラスの勉強 | |
//クラス宣言 | |
class Player{ |
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
// Playground - noun: a place where people can play | |
import UIKit | |
//Optional型 | |
//Optionalとはnilの代入を許すこと | |
//Optionalにするには?をつけてwrapする。 | |
var a : Int = 3 | |
var b : Int? = 2 |
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
# Description: | |
# create pull requests in a Github repository | |
# | |
# Dependencies: | |
# "githubot": "0.4.x" | |
# | |
# Configuration: | |
# HUBOT_GITHUB_TOKEN | |
# HUBOT_GITHUB_API | |
# |
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
git config (--global) user.email="Githubに登録済みのアドレス" |
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
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.atomicorp.txt | |
file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt |
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
knife bootstrap [登録したいホスト] --ssh-user root -i ~/.ssh/****.pem --node-name [登録したいクライアント名] |