Skip to content

Instantly share code, notes, and snippets.

View viannaandreBR's full-sized avatar
🏠
Working from Office

Andre viannaandreBR

🏠
Working from Office
View GitHub Profile
@viannaandreBR
viannaandreBR / settings.json
Created July 22, 2021 02:29 — forked from jdhitsolutions/settings.json
My Windows Terminal settings file.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
// PROSPERO
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{993855ad-b0eb-4f3d-8370-1a8d5b53abb5}",
// Launch Settings
"initialCols": 135,
"initialRows": 35,
// You can add more global application settings here.
@viannaandreBR
viannaandreBR / ec2-user-data.txt
Created July 16, 2021 21:27 — forked from nktstudios/ec2-user-data.txt
AWS Certificate Manager Tutorial
#!/bin/bash
# update the machine
yum update -y
# install http
yum install -y httpd.x86_64
# start the service
systemctl start httpd.service
server {
server_name testdeploy.rocketseat.com.br;
location / {
proxy_pass http://127.0.0.1:3333;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
.DayPicker {
background: #28262e;
border-radius: 10px;
}
.DayPicker-wrapper {
padding-bottom: 0;
}
.DayPicker,
[alias]
ci = commit
co = checkout
cm = checkout master
cb = checkout -b
st = status -sb
sf = show --name-only
lg = log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30
incoming = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' ..@{u})
outgoing = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' @{u}..)
@viannaandreBR
viannaandreBR / general.sol
Created August 2, 2020 05:42 — forked from eCoinomic/general.sol
general.sol
pragma solidity >=0.4.22 <0.6.0;
// Current version:0.5.3+commit.10d17f24.Emscripten.clang
// Optinization: YES
contract owned {
address public owner;
constructor() public {
owner = msg.sender;