Skip to content

Instantly share code, notes, and snippets.

Rubén Caro rubencaro

Block or report user

Report or block rubencaro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rubencaro
rubencaro / install_elixir.md
Last active Aug 13, 2019
Elixir installation guide
View install_elixir.md

Elixir installation guide

Version numbers should be the ones you want. Here I do it with the last ones available at the moment of writing.

The simplest way to install elixir is using your package manager. Sadly, at the time of writing only Fedora shows the intention to keep its packages up to date. There you can simply sudo dnf install erlang elixir and you are good to go.

Anyway, if you intend to work with several versions of erlang or elixir at the same time, or you are tied to a specific version, you will need to compile it yourself. Then asdf is your best friend.

@rubencaro
rubencaro / cloudSettings
Last active Aug 13, 2019
Visual Studio Code Sync Settings Gist
View cloudSettings
{"lastUpload":"2019-08-13T15:21:19.692Z","extensionVersion":"v3.4.1"}
@rubencaro
rubencaro / README.md
Last active Aug 2, 2019
Python installation guide
View README.md

Python installation guide

These are my notes, not a generic solution. They are not meant to work anywhere outside my machines. Update version numbers to whatever are the current ones while you do this.

Install asdf and its python plugin, then install Python

asdf lives in https://github.com/asdf-vm/asdf

Follow its installation instructions, which at the moment of writing were:

@rubencaro
rubencaro / rerun.sh
Last active Jul 21, 2019
Rerun script
View rerun.sh
#!/usr/bin/env bash
# Living in https://gist.github.com/rubencaro/633cd90065d399d5fe1b56e46440d2bb
# Loosely based on https://github.com/tartley/rerun2
ignore_secs=0.25
clear='false'
verbose='false'
ignore_until=$(date +%s.%N)
excludes='\.git|\.coverage|\.cache|tmp|env|deps|_build|.elixir_ls|cover|target|\.vscode'
@rubencaro
rubencaro / setup_go.md
Last active Mar 26, 2019
Golang installation guide
View setup_go.md

Golang installation guide

Since Golang version 1.11 this process is finally (almost) as easy as it should (!!). You can see full docs here. For older guides see here.

These are my notes, not a generic solution. They are not meant to work anywhere outside my machines. Update version numbers to whatever are the current ones while you do this.

Installing everything needed the first time

Install asdf and its golang plugin, then install golang

View .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
@rubencaro
rubencaro / setup_kotlin.md
Last active Dec 21, 2018
Kotlin/Java Installation Guide
View setup_kotlin.md

Kotlin/Java installation guide

These are my notes, not a generic solution. They are not meant to work anywhere outside my machines. Update version numbers to whatever are the current ones while you do this.

Install asdf and some plugins, then install Java, Kotlin & Gradle

asdf lives in https://github.com/asdf-vm/asdf

Follow its installation instructions, which at the moment of writing were:

View openrtb-iab-category.md

###IAB1 Arts & Entertainment IAB1-1 Books & Literature
IAB1-2 Celebrity Fan/Gossip
IAB1-3 Fine Art
IAB1-4 Humor
IAB1-5 Movies
IAB1-6 Music
IAB1-7 Television

###IAB2 Automotive

View .gitconfig
[user]
name = Rubén Caro
email = ruben.caro.estevez@gmail.com
[alias]
co = checkout
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
lolas = log --graph --decorate --abbrev-commit --all --date=short --format=format:'%C(yellow)%h %Cgreen%an %Cblue%ad %Cred%d %Creset%s'
a = !bash -c 'git add --all . && git diff HEAD' -
c = commit -am
@rubencaro
rubencaro / gnome.md
Last active Sep 10, 2017
GNOME Config
View gnome.md

GNOME Config

Custom CSS

File at .config/gtk-3.0/gtk.css

headerbar entry,
headerbar spinbutton,
You can’t perform that action at this time.