Skip to content

Instantly share code, notes, and snippets.

View ssilva's full-sized avatar

Saulo Silva ssilva

View GitHub Profile
@ssilva
ssilva / ruby.html
Last active July 23, 2018 20:01
Nihongo
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Ruby</title>
</head>
<body>
<p>
<ruby>
明日 <rp>(</rp><rt>Ashita</rt><rp>)</rp>
@ssilva
ssilva / main.rs
Last active July 20, 2018 17:00
Simple grid: C vs Rust
extern crate rand;
use rand::Rng;
const ROWS: usize = 10;
const COLS: usize = 80;
const ANSI_COLOR_RED: &str = "\x1b[31m";
const ANSI_COLOR_GREEN: &str = "\x1b[32m";
const ANSI_COLOR_BLUE: &str = "\x1b[34m";
@ssilva
ssilva / .vimrc
Created July 19, 2018 17:16
.vimrc using Plug
" Plug: https://github.com/junegunn/vim-plug
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-obsession'
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-markdown'
Plug 'itchyny/lightline.vim'
Plug 'terryma/vim-multiple-cursors'
Plug 'airblade/vim-gitgutter'
Plug 'chriskempson/base16-vim'

Bootstrapping Vim

  1. Install vim-plug
    curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
        https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
    
  2. Clone .vimrc
  3. vim +PlugInstall +qall
  4. In Vim :Obsess ~/.vim/mysession.vim
@ssilva
ssilva / quotes.md
Last active January 10, 2019 13:38
  • No Mundo Maior (13)
  • Paulo e Estêvão
  • Pensamento e Vida
  • A Caminho da Luz (82)
  • Vinha de Luz
  • O Consolador (58)
  • Cinquenta Anos Depois (14)
  • Voltei (10)
  • Memórias de um suicida
  • Caminho, Verdade e Vida (104)
@ssilva
ssilva / keybase.md
Last active October 31, 2018 01:55

Keybase proof

I hereby claim:

  • I am ssilva on github.
  • I am ssilva (https://keybase.io/ssilva) on keybase.
  • I have a public key ASD4uTWrjL1lBlfQGqbAru4GQOh6xWzDYXAhwleLTkxMnwo

To claim this, I am signing this object: