Skip to content

Instantly share code, notes, and snippets.

View haplabs's full-sized avatar
💭
I may be slow to respond.

haplabs

💭
I may be slow to respond.
  • Haplabs
  • Fortaleza
View GitHub Profile

Oportunidade - Data Scientist

Fortaleza/CE e região - thiago.machado@hapvida.com.br

85 9166-6019


Nossa equipe de Transformação Digital vem realizando diversos projetos de impacto para a empresa, por isso buscamos pessoas que irão materializar a missão de desenhar o melhor serviço Hapvida para as pessoas.

@haplabs
haplabs / curl.sh
Created April 8, 2019 15:47 — forked from JPry/curl.sh
Use CURL to request a domain name/path from a specific IP address. Substitute the domain for "example.com", and the IP address and path in the URL.
curl -H "Host: example.com" -I http://IP.ADD.RE.SS/path/to/file/or/folder/
https://www.howtogeek.com/313230/how-to-set-up-network-file-sharing-on-macos-without-sharing-your-username-and-password/
dotn forget to share in sharing setting, after that, you set a user santandar, with same password and set this user in sharing setting
docker rm -f myjenkins
docker run -d --rm -u 2000 --name myjenkins -p 8080:8080 -p 50000:50000 -v $(pwd)/jenkins_home:/var/jenkins_home jenkins/jenkins
docker logs -f myjenkins
<div id="sapioschat-widget">
<div id="sapioschat-container"></div>
</div>
<script src="https://preprod.sapios.com.br/chatapp/public/js/livechat.js"></script>
<style>
#sapioschat-container {
position: fixed;
overflow: auto;
height: 650px;
1 hostname elliot-01
2 echo elliot-01 > /etc/hostname
3 bash
4 vim /etc/modules-load.d/k8s.conf
5 curl -fsSL https://get.docker.com | bash
6 docker version
7 docker ps
8 apt-get update && apt-get install -y apt-transport-https
9 curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
10 echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list
1 hostname elliot-01
2 echo elliot-01 > /etc/hostname
3 bash
4 vim /etc/modules-load.d/k8s.conf
5 curl -fsSL https://get.docker.com | bash
6 docker version
7 docker ps
8 apt-get update && apt-get install -y apt-transport-https
9 curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
10 echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list