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
<script> | |
let pao = { | |
pesoEmGramas: 30, | |
nome: "Pao", | |
codigoDeBarras: "123", | |
preco: 18.90 / (1000/30), | |
obs: "Cada pao, no peso", | |
quantidade: 5, | |
}; |
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
<script> | |
let pao = { | |
pesoEmGramas: 30, | |
nome: "Pao", | |
codigoDeBarras: "123", | |
preco: 18.90 / (1000/30), | |
obs: "Cada pao, no peso", | |
quantidade: 5, | |
}; |
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
<script> | |
let pao = { | |
pesoEmGramas: 30, | |
nome: "Pao", | |
codigoDeBarras: "123", | |
preco: 18.90 / (1000/30), | |
obs: "Cada pao, no peso", | |
quantiade: 5, | |
}; |
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 copyToClipboard(u){window.prompt("Copy to clipboard: Ctrl+C, Enter",u)}var title=document.title,url=document.URL,author_tag=document.querySelector("[name=author]"),author=null==author_tag?"":author_tag.content,today=new Date,dd=today.getDate(),mm=today.getMonth()+1,yyyy=today.getFullYear();dd<10&&(dd="0"+dd),mm<10&&(mm="0"+mm);var urldate=dd+"/"+mm+"/"+yyyy,title_key=title.replace(/ /g,"_"),re=/[\0-\x1F\x7F-\x9F\xAD\u0378\u0379\u037F-\u0383\u038B\u038D\u03A2\u0528-\u0530\u0557\u0558\u0560\u0588\u058B-\u058E\u0590\u05C8-\u05CF\u05EB-\u05EF\u05F5-\u0605\u061C\u061D\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB-\u07FF\u082E\u082F\u083F\u085C\u085D\u085F-\u089F\u08A1\u08AD-\u08E3\u08FF\u0978\u0980\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FC-\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84 |
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 copyToClipboard(u){window.prompt("Copy to clipboard: Ctrl+C, Enter",u)}var title=document.title,url=document.URL,author_tag=document.querySelector("[name=author]"),author=null==author_tag?"":author_tag.content,today=new Date,dd=today.getDate(),mm=today.getMonth()+1,yyyy=today.getFullYear();dd<10&&(dd="0"+dd),mm<10&&(mm="0"+mm);var urldate=dd+"/"+mm+"/"+yyyy,title_key=title.replace(/ /g,"_"),re=/[\0-\x1F\x7F-\x9F\xAD\u0378\u0379\u037F-\u0383\u038B\u038D\u03A2\u0528-\u0530\u0557\u0558\u0560\u0588\u058B-\u058E\u0590\u05C8-\u05CF\u05EB-\u05EF\u05F5-\u0605\u061C\u061D\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB-\u07FF\u082E\u082F\u083F\u085C\u085D\u085F-\u089F\u08A1\u08AD-\u08E3\u08FF\u0978\u0980\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FC-\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84 |
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
%Si equation | |
s_{i} = \frac{min(\mu out(x_{i}))-\mu in(x_{i})}{max(min(\mu out(x_{i})),\mu in(x_{i}))} | |
%and SC equatiob | |
SC = \frac{1}{n}\sum s_{i} | |
%\cite{Rousseeuw:1987} |
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
//Import jenkinsHelper | |
const jenkinsDeployerManager = require("deploy-blue-green-helper-jenkins"); | |
//Create your jenkinsOptions configuration | |
const jenkinsOptions = { | |
debug: false, | |
jenkinsUrl: "http://192.168.99.100:8081/" | |
}; | |
//Create your blueOptions configuration | |
const blueOptions = { |
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
upstream yoursiteName { | |
server 127.0.0.1:9090 max_fails=1; | |
server 127.0.0.1:9091 max_fails=3 backup; | |
server 127.0.0.1:9090 max_fails=3 fail_timeout=600s backup; | |
} | |
server { | |
listen 80; | |
server_name www.yoursite.com.br yoursite.com.br; | |
access_log /var/log/yoursite.access.log main; |
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
FROM jenkins | |
# if we want to install via apt | |
USER root | |
RUN curl -sL https://deb.nodesource.com/setup_5.x | bash - | |
RUN apt-get install -y nodejs | |
EXPOSE 8080 | |
EXPOSE 50000 | |
EXPOSE 9090 | |
EXPOSE 9091 |
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 fat(x) { | |
if (x == 0 || x == 1) { | |
return 1; | |
} | |
return fat(x - 1) * x; | |
} | |
var quadrado = function(x) { | |
return x * x; | |
}; |
NewerOlder