Skip to content

Instantly share code, notes, and snippets.

View mateusmpa's full-sized avatar

Mateus Alves mateusmpa

View GitHub Profile
@mateusmpa
mateusmpa / colinha_para_a_apresentacao_k8s_parte_3.md
Created March 9, 2023 00:45
Colinha para a apresentação k8s parte 3

Then

Arquitetura

Falar

  • orquestração de containers
  • escalabilidade horizontal e vertical
  • cluster com máquinas virtuais
  • maquinas masters e nodes
@mateusmpa
mateusmpa / iterm2-solarized.md
Created July 10, 2019 22:12 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@mateusmpa
mateusmpa / iterm2.md
Created March 25, 2019 22:08 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@mateusmpa
mateusmpa / .tmux.config
Created March 26, 2018 02:43
Examples files of tmux and vim config
# Change leader key
set -g prefix C-a
unbind C-b
# Reload tmux.conf
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Split window
bind | split-window -h
bind - split-window -v
@mateusmpa
mateusmpa / README-Template.md
Created March 18, 2018 02:35 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Ex1.
puts "Insira um número:"
pair = (Integer(gets.strip) % 2) == 0
puts "É #{pair ? 'par' : 'ímpar'}!!"
Ex2.
ingredients = {
2 => 'açucar',