###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
[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 |
###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
# .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= |
#!/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' |
require 'openssl' | |
require 'digest/sha1' | |
require 'base64' | |
require 'json' | |
def go_demo! | |
key = Digest::SHA1.hexdigest("clave1")[0..15] # 16bytes => 128bits | |
iv = 'clave2 con chicha'[0..15] # 16bytes forced | |
data = { esto: 'es', un: 'hash', en: 'ruby' } |
### Install few required packages to run SNX | |
sudo dnf install -y java-1.8.0-openjdk.x86_64 icedtea-web.x86_64 libstdc++.i686 libX11.i686 libpamtest.i686 libnsl.i686 | |
### Download compat-libstdc++ driver and install it | |
wget https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/compat-libstdc++-33-3.2.3-72.el7.i686.rpm | |
sudo dnf install -y ./compat-libstdc++-33-3.2.3-72.el7.i686.rpm | |
### Install snx_linux.sh | |
### Download snx_linux_30.sh file from Checkpoint | |
sudo ./snx_install_linux30.sh |
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.
asdf
lives in https://github.com/asdf-vm/asdf
Follow its installation instructions, which at the moment of writing were:
{"lastUpload":"2022-03-12T07:13:12.685Z","extensionVersion":"v3.4.3"} |
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.
This solution does not use Docker
at all
See this if you don't know how's that even possible. Understand this and this to see why is it advisable not to depend on Docker at all.
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.