Skip to content

Instantly share code, notes, and snippets.

View rubencaro's full-sized avatar

Rubén Caro rubencaro

View GitHub Profile
@rubencaro
rubencaro / install-snx-checkpoint
Last active March 15, 2021 12:08 — forked from ikurni/install-snx-checkpoint
How to install SNX Checkpoint VPN client in Fedora 33
### 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
@rubencaro
rubencaro / README.md
Last active December 25, 2022 09:57
Kubernetes development environment settings

Kubernetes development environment settings

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.

Install tooling to manage containers and VMs, and the CRI-O runtime

@rubencaro
rubencaro / setup_kotlin.md
Last active April 9, 2021 19:13
Kotlin/Java Installation Guide

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:

@rubencaro
rubencaro / rerun.sh
Last active August 21, 2019 12:58
Rerun script
#!/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 / README.md
Last active September 10, 2024 02:14
Python installation guide

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 / gnome.md
Last active September 10, 2017 15:08
GNOME Config

GNOME Config

Custom CSS

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

headerbar entry,
headerbar spinbutton,
# .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_go.md
Last active April 28, 2024 21:52
Golang installation guide

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

@rubencaro
rubencaro / combinations.ex
Created May 27, 2017 20:28
Ursula's explosion of keys
defmodule Ursula.Combinations do
@keys ~w(a b c d e)
@doc """
Returns any combination of the elements in `enum` with exactly `k` elements.
Repeated elements are handled intelligently.
## Examples
iex> combinations([1, 2, 3], 2) |> Enum.to_list
@rubencaro
rubencaro / cloudSettings
Last active March 12, 2022 07:13
Visual Studio Code Sync Settings Gist
{"lastUpload":"2022-03-12T07:13:12.685Z","extensionVersion":"v3.4.3"}