Skip to content

Instantly share code, notes, and snippets.

View sebastianvera's full-sized avatar

Sebastián Vera sebastianvera

View GitHub Profile

Con cuantos ceros termina:

  • 20!
  • 60!
  • 1000!
  • 10000!
  • 100000!
  • 174786321!

Cuáles son los factores primos?

[
{
"name": "TABLET LENOVO YOGA B6000 8",
"oldPrice": 159990,
"price": 99990,
"url": "http://www.ripley.cl/ripley-chile/esp-notebookid/tablet-lenovo-yoga-b6000-8-2000343658683p",
"discount": 37
},
{
"name": "TABLET ACER B1 730-17R9",
package main
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/http/cookiejar"
"net/url"
-- Official docs: http://www.postgresql.org/docs/9.3/static/app-psql.html
-- Unofficial docs: http://robots.thoughtbot.com/improving-the-command-line-postgres-experience
-- Don't display the "helpful" message on startup.
\set QUIET 1
\pset null '[NULL]'
-- http://www.postgresql.org/docs/9.3/static/app-psql.html#APP-PSQL-PROMPTING
-- \set PROMPT1 '%[%033[38;5;214m%]%M[%033[0m% %n@%/%R%[%033[0m%]%# '
\set PROMPT1 '%[%033[38;5;203m%]%M%[%033[0m%] %n@%/%R%[%033[0m%]%# '
@sebastianvera
sebastianvera / init.vim
Last active May 22, 2018 14:51
Personal Neovim config for linux
let mapleader = " "
" Install vundle
let shouldInstallBundles = 0
if !filereadable($HOME . "/.config/nvim/autoload/plug.vim")
echo "~≥ Installing vim-plug \n"
silent !curl -fLo $HOME/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
let shouldInstallBundles = 1
endif
###########################
# Configuration
###########################
# use 256 term for pretty colors
set -g default-terminal 'xterm-256color'
# increase scroll-back history
set -g history-limit 5000
@sebastianvera
sebastianvera / init.vim
Created May 22, 2018 17:13
Personal nvim config on my linux machine
let mapleader = " "
" Install vundle
let shouldInstallBundles = 0
if !filereadable($HOME . "/.config/nvim/autoload/plug.vim")
echo "~≥ Installing vim-plug \n"
silent !curl -fLo $HOME/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
let shouldInstallBundles = 1
endif

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@sebastianvera
sebastianvera / init.vim
Last active December 27, 2020 21:46
Vim config
let mapleader = " "
" Install vundle
let shouldInstallBundles = 0
if !filereadable($HOME . "/.config/nvim/autoload/plug.vim")
echo "~≥ Installing vim-plug \n"
silent !curl -fLo $HOME/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
let shouldInstallBundles = 1
endif
###########################
# Configuration
###########################
# increase scroll-back history
set -g history-limit 5000
# use vim key bindings
setw -g mode-keys vi