Skip to content

Instantly share code, notes, and snippets.

@alexandreab
alexandreab / .tmux.conf
Last active March 30, 2020 13:34
Personal tmux settings
set-option -g assume-paste-time 1
set-option -g base-index 1
set -g pane-base-index 1
set-option -g bell-action any
set-option -g default-command ""
set-option -g default-shell "/bin/bash"
set-option -g default-terminal "screen"
set-option -g destroy-unattached off
# Modified
Comando executado:
mysqldbcompare --server1=replicator:123456@10.10.10.3 --server2=replicator:123456@10.10.10.4 --difftype=unified --format=vertical --run-all-tests dbexample:dbexample
Json enviado:
{"host": "10.10.10.3", "log_file": "mysql-bin.000007", "log_position": "1411", "slaves": [{"databases": [{"date": "2015-04-17T16:21:19", "name": "dbexample", "tables": {}}], "host": "10.10.10.4", "log_file": "mysql-bin.000007", "log_position": "1757", "status": "connected"}], "status": "connected", "token": "bananabananabanana"}
# Download raw file
wget http://mirror.igorpecovnik.com/Armbian_5.13_Orangepione_Debian_jessie_3.4.112_desktop.7z
# Copy raw file image to SD card
dd if=file.raw of=/dev/sd bs=4k
# Mount SD image on pc
# TODO
[user]
name = Alexandre Barbosa
email = alexandreab@live.com
[init]
defaultBranch = main
[pull]
rebase = true
[core]
editor = vim
[ui]
{
"basics": {
"name": "Alexandre Almeida Barbosa",
"label": "Software Engineer at Wildlife Studios",
"picture": "",
"email": "alexandrealmeidabarbosa@gmail.com",
"phone": "",
"website": "",
"summary": "I'm a Software Engineer with a passion for building meaningful products and more than 5 years of experience. My strengths lie within Python, C, and Javascript.",
"location": {
set number
set smartindent
set tabstop=4
set shiftwidth=4
set softtabstop=4
nmap <C-t> :tabnew<CR>
nmap <C-n> :tabnext<CR>
nmap <C-p> :tabprevious<CR>