Manifest looks like this;
---
name: ssas
memory: 256MB
instances: 1
If I want to push the app with multiple buildpacks, I do this;
| #include <bitswap.h> | |
| #include <chipsets.h> | |
| #include <color.h> | |
| #include <colorpalettes.h> | |
| #include <colorutils.h> | |
| #include <controller.h> | |
| #include <cpp_compat.h> | |
| #include <dmx.h> | |
| #include <FastLED.h> | |
| #include <fastled_config.h> |
| { | |
| "response": { | |
| "card": { | |
| "image": { | |
| "largeImageUrl": "https://lh3.googleusercontent.com/53cYhGcuBl6tJh4NAsrkxHW2dYReUv27bwrA1nb_KNCrgIKeGjhfl-NmUzsu6mJGoyg1UBuvpDM", | |
| "smallImageUrl": "https://lh3.googleusercontent.com/53cYhGcuBl6tJh4NAsrkxHW2dYReUv27bwrA1nb_KNCrgIKeGjhfl-NmUzsu6mJGoyg1UBuvpDM" | |
| }, | |
| "text": "", | |
| "title": "Playing top tracks by Radiohead", | |
| "type": "Standard" |
Manifest looks like this;
---
name: ssas
memory: 256MB
instances: 1
If I want to push the app with multiple buildpacks, I do this;
| require 'rubygems' |
| package main | |
| import ( | |
| "encoding/json" | |
| "os" | |
| "os/exec" | |
| "io" | |
| "io/ioutil" | |
| "log" | |
| "net/http" |
| #include <Fsm.h> | |
| #include "EmonLib.h" | |
| #define RELAY1_PIN 7 | |
| #define LED_PIN 13 | |
| #define ON 1 | |
| #define OFF 0 | |
| #define THRESHOLD 4 |
| function permit_device_control() { | |
| local devices_mount_info=$(cat /proc/self/cgroup | grep devices) | |
| local devices_subsytems=$(echo $devices_mount_info | cut -d: -f2) | |
| local devices_subdir=$(echo $devices_mount_info | cut -d: -f3) | |
| if [ ! -e /tmp/devices-cgroup ]; then | |
| mkdir /tmp/devices-cgroup | |
| mount -t cgroup -o $devices_subsytems none /tmp/devices-cgroup | |
| fi |
| #!/usr/bin/env ruby | |
| require 'rbvmomi' | |
| vcenter_host = ARGV[0] | |
| username = ARGV[1] | |
| password = ARGV[2] | |
| dc_name = ARGV[3] | |
| rp_name = ARGV[4] |
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'nokogiri' | |
| require 'open-uri' | |
| require 'net/http' | |
| require 'uri' | |
| require 'fileutils' | |
| server_range = (13..20) |
| #!/usr/bin/env ruby | |
| require 'json' | |
| require 'uri' | |
| require 'bundler' | |
| require 'fog' | |
| Bundler.require | |
| Excon.defaults[:ssl_verify_peer] = false |