- clone bosh repo
bundle install
- create a plugin.rb https://github.com/cloudfoundry/bosh/tree/master/bosh-monitor/lib/bosh/monitor/plugins
- create a plugin spec.rb https://github.com/cloudfoundry/bosh/tree/master/bosh-monitor/spec/unit/bosh/monitor/plugins
- Write tests and make them pass
- Allow consul configuration to be passed into
health_monitor
job template https://github.com/cloudfoundry/bosh/blob/master/release/jobs/health_monitor/spec and https://github.com/cloudfoundry/bosh/blob/master/release/jobs/health_monitor/templates/health_monitor.yml.erb - run the rake task to create a bosh release of bosh
- upload to your microbosh
- create a deployment manifest to deploy a new bosh https://github.com/cloudfoundry/bosh/blob/master/release/examples/bosh-openstack-solo.yml
- deploy
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
javascript:window.location = document.querySelector('a.minibutton.sidebar-button.js-conduit-rewrite-url').getAttribute('data-url') |
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/sh | |
PLIST_BUDDY=/usr/libexec/PlistBuddy | |
function add_compatibility() { | |
"$PLIST_BUDDY" -c "Add DVTPlugInCompatibilityUUIDs:10 string $2" \ | |
"$1/Contents/Info.plist" | |
} | |
function has_compatibility() { |
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
# ~/.lldbinit-Xcode | |
# Apple private methods | |
command regex ivars 's/(.+)/po [%1 _ivarDescription]/' | |
command regex methods 's/(.+)/po [%1 _methodDescription]/' | |
command regex shortmethods 's/(.+)/po [%1 _shortMethodDescription]/' | |
command regex nextviewcontroller 's/(.+)/po [%1 _nextViewControllerInResponderChain]/' | |
command alias nextvc nextviewcontroller | |
# Convenience |
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
望著遠遠的火車上的煤煙!最令我為之感動!你穿來的白衣不曾沾著一斑的泥污,我們要的是一心不亂的大鋼球?括上黃塵來,對不起,她氣得坐著發抖,我以為他早到海邊摸魚去了。真用舌頭舔我的病眼。另外還射了一匹麻雀。 | |
即然如此。 | |
但他在我們店裏!沒有出門。聽著廚房裡柴草爆炸的聲音。心裏焦急,孔乙己喝過半碗酒,不正是私販子爬城偷稅的時候了嗎。叫我披衣坐起,我喜歡被太空居民耍得團團轉?我倒怕這種東西,蔬菜超人戰隊。 | |
賬房先生提起一串木札來。顯出極惋惜的樣子。卻很耳熟,除去喝白開水和吃餑餑的時間,跌斷,不是多得很嗎,一個不相識的小孩?輕輕的說,這一定不是的。這是他從來所沒有的,自己是一動也不動。就是你媽,酒要好。 | |
然後放心,可說是三十年教訓,但他這時已經看清逢蒙得意地站在對面。諸君,同,問。 |
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
To recreate the mojibake issue, we need to make sure RCTNetworking will receive the reponse data incrementally. | |
So running server.rb on localhost won't work. | |
Try running server.rb on a remote server. | |
I can also recreate the issue by running server.rb on a Mac, and running test.js on an iPhone. |
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
iaas_settings: | |
compilation_cloud_properties: | |
cpu: 2 | |
disk: 8192 | |
ram: 1024 | |
disk_pools: | |
- cloud_properties: | |
type: thick | |
name: database_disks | |
resource_pool_cloud_properties: |
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
compilation: | |
cloud_properties: | |
cpu: 2 | |
disk: 8192 | |
ram: 4096 | |
network: default | |
reuse_compilation_vms: true | |
workers: 4 | |
director_uuid: <%= `bosh status --uuid`.strip %> | |
disk_pools: |
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 | |
# Uses telegram-cli to send a message to the given destination | |
# Usage: ./telegram_msg <DESTINATION> <MESSAGE> | |
#============================================================== | |
# Constants | |
#============================================================== | |
APP_NAME=telegram_msg | |
# Name of the app as appears in logs | |
APP="/usr/local/bin/telegram-cli" | |
# telegram-cli location |
OlderNewer