This file contains hidden or 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
{ | |
"name": "component_1", | |
"tosca_type": "tosca.web.Java", | |
"inputs": [ | |
"domain", | |
"version" | |
], | |
"related_components": "", | |
"status": "deploying, creating, bootstrapping, stateup, running", | |
"outputs": [], |
This file contains hidden or 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
{ | |
"name":"assembly_name", | |
"components":[ | |
"component_1" | |
], | |
"tosca_type":"tosca.torpedo.coreos", | |
"inputs":[ | |
{ | |
"key":"domain", | |
"value":"megambox.com" |
This file contains hidden or 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
{ | |
"id" : "assemblies_id ", | |
"name" : "assemblies_name ", | |
"accounts_id" : "accounts_id of the holder", | |
"assemblys" : ["assemblys_id"], | |
"inputs" : ["01"], | |
"created_at" : "date" | |
} |
This file contains hidden or 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
{ | |
"id":" ", | |
"name":" ", | |
"accounts_id":" ", | |
"assemblies":[ | |
"ASM0001" | |
], | |
"inputs":[ | |
"01" | |
], |
This file contains hidden or 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
# Install Docker on Xenial 16.04.1 x64 | |
# Ref https://docs.docker.com/engine/installation/linux/ubuntulinux/ | |
# No interactive for now. | |
export DEBIAN_FRONTEND=noninteractive | |
# Update your APT package index. | |
sudo apt-get -y update | |
# Update package information, ensure that APT works with the https method, and that CA certificates are installed. | |
sudo apt-get -y install apt-transport-https ca-certificates | |
# Add the new GPG key. | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D |
This file contains hidden or 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
### Base image prepare | |
apt-get -y update | |
apt-get -y install build-essential git wget \ | |
libxslt-dev libcurl4-openssl-dev \ | |
libssl-dev libyaml-dev libtool \ | |
libxml2-dev gawk parallel \ | |
libreadline-dev \ | |
language-pack-en cron anacron \ | |
psmisc rsyslog whois brotli |
This file contains hidden or 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
Copy all the files to the build directory. | |
Copy icudtl.dat to the build directory. (you can find it in the vscode downloads ex for linux). | |
chromium version in port is 52.0.2743.116. | |
This was built with FreeBSD 11.0-RELEASE-p1. If building with other versions probably need to change | |
the freebsd versions in diff files (ex. freebsd11 => freebsd10) | |
Installed | |
node => v6.9.1 | |
npm => 3.9.2 | |
>chmod 755 vscode_build.sh |
This file contains hidden or 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
{ | |
"id": "1", | |
"name": "fegh", | |
"items": [ | |
{ | |
"key": "food", | |
"value": "banana" | |
}, | |
{ | |
"key": "work", |
This file contains hidden or 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
use std::sync::Arc; | |
use std::fmt; | |
type Fp = Box<Fn(i8, i8) -> i8 + Send + Sync>; | |
#[derive(Clone)] | |
struct WithCall { | |
fp: Arc<Fp>, | |
} |
This file contains hidden or 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 | |
set -euo pipefail | |
# Handler format: <script_name>.<function_name> | |
# The script file <script_name>.sh must be located in | |
# the same directory as the bootstrap executable. | |
source $(dirname "$0")/"$(echo $_HANDLER | cut -d. -f1).sh" | |
while true |