Skip to content

Instantly share code, notes, and snippets.

View morika-t's full-sized avatar

Takeshi Morikawa morika-t

  • NTT TechnoCross Corporation
  • Tokyo, Japan
View GitHub Profile
@morika-t
morika-t / mesos_yarn_borg.md
Created November 6, 2020 09:51 — forked from nao23/mesos_yarn_borg.md
Mesos, YARN, Borgについてのまとめ

Mesos

  • 論文:[Mesos: A Platform for Fine-Grained Resource Sharing in the Data Center ][mesos-paper]

Mesosとは?

クラスタ上のリソース管理・スケジューリングを行うクラスタ管理システム。Mesosを利用することで、HadoopやMPIといった複数のクラスタコンピューティングフレームワーク間で、粒度の高いリソース共有が可能になる。これにより、クラスタのリソース利用効率が上がり、巨大なデータセットを複数フレームワークで共有することができる。また、複数フレームワークがリソースを共有できることで、開発者は汎用的なフレームワークではなく、特定の問題領域に特化したフレームワークを自由に開発・動作させることができる。従って、フレームワークの成長が加速し、各問題領域に対してより良いサポートを提供できるようになる。

アーキテクチャ

![mesos-arch]

Master

@morika-t
morika-t / about_docker-cf-jumpbox.md
Created March 16, 2018 12:30 — forked from ozzozz/about_docker-cf-jumpbox.md
docker-cf-jumpboxについて

docker-cf-jumpboxについて

Cloud Foundry Advent Calendar 2017の2日目の記事です。

はじめに、ポエムを少々

こんにちは。

私も、会社で私が所属しているチームも、貧乏です。会社自体はリッチかもしれませんが。

@morika-t
morika-t / tmux_cygwin.md
Created November 24, 2017 02:22 — forked from zlalanne/tmux_cygwin.md
tmux on Cygwin

Steps to install tmux in Cygwin

Install required Cygwin packages

  1. run Cygwin setup.exe
  2. install these packages that are not installed by default: automake, gcc, git and pkg-config

Install libevent

  1. browse http://libevent.org
  2. download libevent-2.0.21-stable.tar.gz

Install Setup [running on ubuntu 16.04]

1. Install go 1.7.5

sudo apt-get install git 
wget https://storage.googleapis.com/golang/go1.7.5.linux-amd64.tar.gz
tar -C ${HOME} -xzf go1.7.5.linux-amd64.tar.gz

Add the following exports to your ~/.bashrc.

@morika-t
morika-t / concoruse-fly-command-bash-completion.md
Created April 26, 2017 01:52
Concourseのflyコマンド(cli)のbash-completionファイル
# bash completion for Concourse CLI

_fly-cli() {
    # All arguments except the first one
    args=("${COMP_WORDS[@]:1:$COMP_CWORD}")
    # Only split on newlines
    local IFS=$'\n'
    # Call completion (note that the first element of COMP_WORDS is
 # the executable itself)
@morika-t
morika-t / nats.sh
Last active August 29, 2015 14:23 — forked from drnic/nats.sh
#!/bin/bash
# Assumes using nats CLI from https://github.com/soutenniza/nats/releases
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd $DIR/..
bosh_target=$(cat .bosh_config | yaml2json | jq -r ".target")
manifest=$(cat .bosh_config | yaml2json | jq -r ".deployment[\"$bosh_target\"]")
mbus=$(cat $manifest | yaml2json | jq -r '.properties.nats | "nats://\(.user):\(.password)@\(.address):\(.port)"')
# Run: curl https://gist.github.com/raw/719970/locale_diff.rb | ruby - en fi
require 'rubygems'
require 'yaml'
l1 = ARGV[0]
l2 = ARGV[1]
first = YAML.load_file(l1 + ".yml")
second = YAML.load_file(l2 + ".yml")
def diff(root, compared, structure = [])
require 'active_support'
# in some cases i've found JSON.pretty_generate doesn't output properly
# when combined with ActiveSupport::OrderedHash without json/pure
# require 'json/pure'
def returning(value)
yield(value)
value
end

ChangeLog を支える英語

ChangeLog を書く際によく使われる英語をまとめました。

ほとんど引用です。

基本形

@morika-t
morika-t / _readme.md
Last active August 29, 2015 14:17 — forked from shime/_readme.md

Having trouble installing the latest stable version of tmux?

I know, official package for your OS/distro is outdated and you just want the newest version of tmux.

Well, this script should save you some time with that.

Prerequisities

  • gcc