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
@rkoster
rkoster / migrate_blobs.sh
Last active December 18, 2015 01:39
Script for migrating blobs from one blob store to an other. This script expects a config/private.tmp.yml file which will be renamed to config/private.yml when blobs are downloaded. The contents for the new config/final.yml are hardcoded into the script. You should fill in your own target blobstore credentials
#!/bin/sh
# reset stuff
sudo rm -r .blobs
rm -r blobs
rm -r blobs_import
git checkout -- config/blobs.yml
git checkout -- config/final.yml
rm config/private.yml
@drnic
drnic / nats.sh
Created June 17, 2015 14:46
Target current BOSH's current CF manifest and run nats CLI on its nats configuration
#!/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)"')
@nota-ja
nota-ja / major-updates-in-cloud-foundry-v182-v195.md
Last active August 29, 2015 14:20
Major Updates of Cloud Foundry in the Last (approx.) One Year (2/3)

ここ1年ほどの Cloud Foundry の更新 中編

【この記事は, Cloud Foundry 情報発信強化週間 の記事の一つです】

 この記事は, https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/All-CF-Releases (※0) に基づいて,ここ1年くらいに Cloud Foundry (以下"CF") のソースコードに入った更新を簡単にまとめるものです。

 この中編では,2014年9月2日の v182 から,2014年12月29日の v195 までについて記します。

◆ v182 (2014/09/02)

@nota-ja
nota-ja / major-updates-in-cloud-foundry-v164-v181.md
Last active August 29, 2015 14:20
Major Updates of Cloud Foundry in the Last (approx.) One Year (1/3)

ここ1年ほどの Cloud Foundry の更新 前編

【この記事は, Cloud Foundry 情報発信強化週間 の記事の一つです】

 この記事では, https://github.com/cloudfoundry-community/cf-docs-contrib/wiki/All-CF-Releases (※0) に基づいて,ここ1年くらい (※1) に Cloud Foundry (以下"CF") のソースコードに入った更新を簡単に (※2) まとめます。

※1 最初は2014年5月 (v170) 〜2015年4月 (v207) の1年間を扱おうと思っていたのですが,※0のページを見ると最古が 2014年3月27日 (v164) だったので,それなら大して変わらないと考え,最初からさらうことにしました。

※2 全てを扱うのは時間もないし大変なので,個人的に主要と判断したもののみを取り上げます。悪しからず。