Using bosh-lite; apply 5GB file upload patch - https://groups.google.com/a/cloudfoundry.org/forum/#!msg/bosh-users/MjiFAdpyimQ/VeOCpG9SsHQJ
Then:
Upload cf-release
bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=205
| { | |
| "$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
| "basics": { | |
| "name": "David Laing", | |
| "label": "Principled Context Engineer", | |
| "image": "", | |
| "email": "[email protected]", | |
| "url": "https://davidlaing.com", | |
| "summary": "Collaborative engineering leader who thrives in high-trust environments with fast feedback loops, authentic direction-setting, and clear accountability structures. Passionate about learning loops, structured decision-making, and data-informed leadership - built Decision Copilot to help teams make better choices together. Excels at leading initiatives I believe in and have helped shape, bringing genuine conviction rather than organizational theater. Values long-term thinking over quarterly theater and fixing root causes over chasing new shiny objects. Requires supportive leadership and clear decision frameworks to enable bottom-up innovation. Specializes in data reliability engineering, platform SRE, cross-functional team leade |
| --- /dev/null | |
| +++ b/templates/logsearch_for_cloudfoundry.yml | |
| @@ -0,0 +1,17 @@ | |
| +properties: | |
| + uaa: | |
| + clients: | |
| + elk-for-pcf: | |
| + authorities: uaa.none | |
| + authorized-grant-types: authorization_code,refresh_token | |
| + override: true |
Using bosh-lite; apply 5GB file upload patch - https://groups.google.com/a/cloudfoundry.org/forum/#!msg/bosh-users/MjiFAdpyimQ/VeOCpG9SsHQJ
Then:
Upload cf-release
bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-release?v=205
##Install
After installing the WP-Stream plugin tested with - this version, replace wp-content/plugins/stream/classes/class-wp-stream-api.php with the modified file below to have WP-Stream also ship its data to ingestor.meta.logsearch.io so it can be seen in the WP-Stream dashboard
See diff for details of the changes; basically one function and one call to that function
##Firewall rules The source IP of the WP host needs to be added to the [TrustedIngestion Security Group](https://github.com/cityindex/labs-operations/bl
| # Replace: /var/vcap/packages/director/gem_home/gems/aws-sdk-1.8.5/lib/aws/api_config/EC2-2013-02-01.yml | |
| # | |
| # Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"). You | |
| # may not use this file except in compliance with the License. A copy of | |
| # the License is located at | |
| # | |
| # http://aws.amazon.com/apache2.0/ | |
| # |
| { | |
| "title": "Price Latency", | |
| "services": { | |
| "query": { | |
| "idQueue": [], | |
| "list": { | |
| "0": { | |
| "query": "*", | |
| "alias": "All", | |
| "color": "#DEDAF7", |
| [16:32][mrdavidlaing@maccy001:~/Projects/zephirworks/cloudfoundry-mongodb-service-cookbook(master)]$ rm -rf /Users/mrdavidlaing/Projects/zephirwor/cloudfoundry-mongodb-service-cookbook/test/kitchen/.kitchen/ | |
| [16:32][mrdavidlaing@maccy001:~/Projects/zephirworks/cloudfoundry-mongodb-service-cookbook(master)]$ bundle exec kitchen test --platform ubuntu-12.04 | |
| checking cloudfoundry-mongodb-service | |
| WARNING: No cookbooks to test in /Users/mrdavidlaing/Projects/zephirworks/cloudfoundry-mongodb-service-cookbook/.. - is your cookbook path misconfigured? | |
| Assembling required cookbooks at [/Users/mrdavidlaing/Projects/zephirworks/cloudfoundry-mongodb-service-cookbook/test/kitchen/.kitchen/cookbooks]. | |
| [ubuntu-12.04] Importing base box 'opscode-ubuntu-12.04'... | |
| [ubuntu-12.04] The guest additions on this VM do not match the install version of | |
| VirtualBox! This may cause things such as forwarded ports, shared | |
| folders, and more to not work properly. If any of those things fail on |
| --- /var/vcap/packages/cloud_controller/cloud_controller/app/models/app.rb 2012-01-30 20:24:18.000000000 +0000 | |
| +++ /var/vcap/packages/cloud_controller/cloud_controller/app/models/app_new.rb 2012-03-13 23:24:19.214790495 +0000 | |
| @@ -23,8 +23,8 @@ | |
| AppStates = %w[STOPPED STARTED] | |
| PackageStates = %w[PENDING STAGED FAILED] | |
| - Runtimes = %w[ruby18 ruby19 java node node06 php erlangR14B02 python26] | |
| - Frameworks = %w[sinatra rails3 java_web spring grails node php otp_rebar lift wsgi django unknown] | |
| + Runtimes = %w[ruby18 ruby19 java node php erlangR14B02 python26 aspdotnet40] | |
| + Frameworks = %w[sinatra rails3 java_web spring grails node php otp_rebar lift aspdotnet wsgi django unknown] |
| function CreditCard(http) { | |
| this.process = function(cardType, cardNumber) { | |
| var cardProcessor = { | |
| "VISA": this.processVisa, | |
| "MASTERCARD": this.processMasterCard, | |
| "AMEX": this.processAmex | |
| }; | |
| cardProcessor[cardType](cardNumber); | |
| }; | |
| this.processVisa = function(cardNumber) { |
| List<Market> markets = api.GetMarkets(MarketType.FX); | |
| /* | |
| * Using a primitive for loop | |
| * - Opportunity for off by one errors | |
| * - Syntax noise - declaring an empty List, thinking about i & markets[i] | |
| */ | |
| List<Market> openMarkets = new List<Market>(); | |
| for(int i=0; i < markets.Count; i++) | |
| { |