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
| /* | |
| * identificador utilizado para identificar os campos de configuração das colunas | |
| */ | |
| const columnOptionIdentifier = 'gbnrcc|field_'; | |
| /* | |
| * url da api NerdGraph da NewRelic | |
| */ | |
| const newRelicNerdGraphApiUrl = "https://api.newrelic.com/graphql"; |
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
| ###### INICIO ALL MACHINES ####### | |
| sudo -s | |
| touch /etc/modules-load.d/k8s.conf && nano /etc/modules-load.d/k8s.conf | |
| ########## /etc/modules-load.d/k8s.conf ########## | |
| br_netfilter | |
| ip_vs_rr | |
| ip_vs_wrr | |
| ip_vs_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
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "defaultProfile": "{2ce24f27-29b6-4aa2-bbe7-665f89a6b859}", | |
| "profiles": | |
| [ | |
| { | |
| "guid": "{2ce24f27-29b6-4aa2-bbe7-665f89a6b859}", | |
| "name": "Git Bash", | |
| "commandline": "\"C:\\Program Files\\Git\\bin\\sh.exe\" --login", | |
| "icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png", |
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
| Date.prototype.toUTCStringGMT = function (gmtHourIncrement) { | |
| var cloneDate = new Date(this); | |
| cloneDate.setTime(cloneDate.getTime() + (gmtHourIncrement*60*60*1000)); | |
| var strIncrement = gmtHourIncrement > 0 ? "+"+gmtHourIncrement : gmtHourIncrement == 0 ? "" : gmtHourIncrement.toString(); | |
| return cloneDate.toUTCString() + strIncrement; | |
| } | |
| function test_toUTCStringGMT() { | |
| var dataAtual = new Date(); | |
| var dataAtualStringUTC = dataAtual.toUTCString(); |
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
| FROM debian:jessie-slim | |
| COPY './mongo_initial_script.js' /data/mongo_initial_script.js | |
| RUN mkdir -p /data/db /data/configdb \ | |
| && apt-get update \ | |
| && apt-get install -y sudo \ | |
| && sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 \ | |
| && echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.6 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list \ | |
| && sudo apt-get update \ | |
| && sudo apt-get install -y mongodb-org=3.6.3 mongodb-org-server=3.6.3 mongodb-org-shell=3.6.3 mongodb-org-mongos=3.6.3 mongodb-org-tools=3.6.3 \ |