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 / 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;
[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}..)
.DayPicker {
background: #28262e;
border-radius: 10px;
}
.DayPicker-wrapper {
padding-bottom: 0;
}
.DayPicker,
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;
@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
@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 / settings.json
Created July 30, 2021 03:32 — forked from ChrisFrontDev/settings.json
My windows terminal Settings (Dracula theme, Fira Code w/ font ligatures on, symbols on)
// This file was initially generated by Windows Terminal 1.0.1401.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@viannaandreBR
viannaandreBR / git.md
Created November 7, 2021 02:09 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

Github Two-Factor Authentication (2FA) for Brazil via SMS

The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55 will be the first on the list, already selected:


🇧🇷 [pt-BR]

Autenticação em dois fatores (2FA) do GitHub para o Brasil via SMS