Neco は大量の物理サーバーを効率的に管理・運用することを目的とした開発プロジェクトです。 Kubernetes を中心に高度な自律運用の実現を目指しています。
本文書はプロジェクトに参加しているメンバーが身に着けている要素技術を並べたものです。
応募時点ですべてを身に着けている必要はまったくありません。 社内にはチュートリアル資料が多数用意されていますので、必要に応じて学べます。
パターンとはその言語が抽象化できなかった敗北の歴史である。 しかしどんなに優れた言語であってもあらゆる繰り返しに勝てるわけではない。 人は必ずメタ繰り返しを欲するからだ。 そしてそれはRustも例外ではない。
ここでは、OOPでも知られているパターンよりも、Rustに特有のパターンを思いつく限りまとめてみた。名前は適当。
#!/bin/bash | |
docker run -d -p 80:80 -p 443:443 --name rancher-server rancher/rancher:latest | |
while ! curl -k https://localhost/ping; do sleep 3; done | |
# Login | |
LOGINRESPONSE=`curl -s 'https://127.0.0.1/v3-public/localProviders/local?action=login' -H 'content-type: application/json' --data-binary '{"username":"admin","password":"admin"}' --insecure` | |
LOGINTOKEN=`echo $LOGINRESPONSE | jq -r .token` | |
# Change password |
kubectl get rs,secrets -o json --namespace old | jq '.items[].metadata.namespace = "new"' | kubectl create-f - |
#coding: UTF-8 | |
''' | |
Created on 2014/11/08 | |
@author: shirasu | |
''' | |
import random |
Ruby Twitter Gemの簡易リファレンス(というかメモ)です。内容はバージョン2.1.0に準拠しています。 | |
{{toc_here}} | |
! インストール | |
$ gem install twitter -v=2.1.0 | |
(環境によっては sudo gem ~) | |
! 概要 | |
* 公式サイト:https://github.com/jnunemaker/twitter |
# standard compile options for the c++ executable | |
FLAGS = -fPIC | |
# the python interface through swig | |
PYTHONI = -I/usr/include/python2.6/ | |
PYTHONL = -Xlinker -export-dynamic | |
# default super-target | |
all: | |
g++ -fPIC -c kitty.cc -o kitty.o |