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
(function () { | |
'use strict'; | |
let BLANKS = [undefined, null, false]; | |
function simpleLog(type, msg) { | |
console.log(`[${type}] ${msg}`); // eslint-disable-line no-console | |
} // returns a function that invokes `callback` only after having itself been | |
// invoked `total` times | |
function awaitAll(total, callback) { |
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
==> /data/dalmatinerfe/log/console.log <== | |
2018-07-17 23:29:23.562 [info] <0.659.0> Application lager started on node 'dalmatinerfe@192.168.168.233' | |
2018-07-17 23:29:23.568 [info] <0.659.0> Application cowboy started on node 'dalmatinerfe@192.168.168.233' | |
2018-07-17 23:29:23.568 [info] <0.659.0> Application epgsql started on node 'dalmatinerfe@192.168.168.233' | |
2018-07-17 23:29:23.569 [info] <0.659.0> Application dflow started on node 'dalmatinerfe@192.168.168.233' | |
2018-07-17 23:29:23.579 [info] <0.659.0> Application ddb_connection started on node 'dalmatinerfe@192.168.168.233' | |
2018-07-17 23:29:23.590 [info] <0.659.0> Application pgapp started on node 'dalmatinerfe@192.168.168.233' | |
2018-07-17 23:29:23.590 [info] <0.659.0> Application dqe_idx_ddb started on node 'dalmatinerfe@192.168.168.233' | |
2018-07-17 23:29:23.591 [info] <0.659.0> Application dqe_fun started on node 'dalmatinerfe@192.168.168.233' | |
2018-07-17 23:29:23.591 [info] <0.659.0> Application sqlmig started on node 'dalmatinerfe@192.168.168.233' |
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 | |
checkFile(){ | |
FILE=$1 | |
OTOOL=`which otool` | |
TAIL=`which tail` | |
IFS='/' read -ra ADDR <<< "$FILE" | |
unset APP | |
for i in "${ADDR[@]}"; do | |
if [[ ! "${i-}" = $'\n' ]]; then |
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
{ | |
"alias": "ldap", | |
"hostname": "ldap", | |
"brand": "lx", | |
"kernel_version": "3.10.0", | |
"cpu_shares": 20, | |
"max_physical_memory": 512, | |
"quota": 5, | |
"image_uuid": "07b33b7a-27a3-11e6-816f-df7d94eea009", | |
"resolvers": [ |
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
{ | |
"alias": "gitlab", | |
"hostname": "gitlab", | |
"brand": "lx", | |
"kernel_version": "3.10.0", | |
"max_physical_memory": 1024, | |
"cpu_shares": 40, | |
"quota": 64, | |
"image_uuid": "07b33b7a-27a3-11e6-816f-df7d94eea009", | |
"resolvers": [ |
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
{ | |
"alias": "2fact", | |
"brand": "lx", | |
"kernel_version": "3.13.0", | |
"docker": true, | |
"cpu_shares": 1000, | |
"zfs_io_priority": 1000, | |
"max_physical_memory": 1024, | |
"quota": 10, | |
"nowait": true, |
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
#cloud-config | |
hostname: "coreos1" | |
# include one or more SSH public keys | |
ssh_authorized_keys: | |
- ssh-rsa XXX | |
coreos: | |
units: |
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
{ | |
"execution": "failed", | |
"chain_results": [ | |
{ | |
"result": "All parameters OK!", | |
"error": "", | |
"name": "common.validate_params", | |
"started_at": "2015-08-02T18:16:48.867Z", | |
"finished_at": "2015-08-02T18:16:48.871Z" | |
}, |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
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
{ | |
"login": "consolving", | |
"id": 3236400, | |
"url": "https://api.github.com/orgs/consolving", | |
"repos_url": "https://api.github.com/orgs/consolving/repos", | |
"events_url": "https://api.github.com/orgs/consolving/events", | |
"members_url": "https://api.github.com/orgs/consolving/members{/member}", | |
"public_members_url": "https://api.github.com/orgs/consolving/public_members{/member}", | |
"avatar_url": "https://avatars.githubusercontent.com/u/3236400?v=2", | |
"name": "Consolving Network Solutions", |
NewerOlder