Skip to content

Instantly share code, notes, and snippets.

View molinav's full-sized avatar

Víctor Molina García molinav

View GitHub Profile
@molinav
molinav / settings.json
Last active January 30, 2024 15:17
Visual Studio Code settings
{
// Launch properties.
"launch": {
"configurations": [
],
"compounds": [
]
},
@molinav
molinav / install-python.sh
Last active September 6, 2023 18:42
Install almost all Python environments on Ubuntu 20.04
#! /bin/bash
#
# Copyright (c) 2020 Víctor Molina García
# MIT License
#
# Script to install Python environments 2.6+ and 3.2+ using PyEnv
# and the installation steps for OpenSSL 1.0.2 mostly based on the
# information available in the following link:
# http://www.linuxfromscratch.org/blfs/view/7.7/postlfs/openssl.html
#
@molinav
molinav / get-pip-py26.py
Created June 15, 2021 09:52
Get functional pip for Python 2.6 (with SNI support)
This file has been truncated, but you can view the full file.
#! /usr/bin/env python2.6
# -*- coding: utf8 -*-
#
# Copyright (c) 2021 Víctor Molina García
# MIT License
#
# Script to install a functional `pip` under Python 2.6 by forcing to
# use `pyOpenSSL`.
#
# Because it is not possible to install packages until having a `pip`