Skip to content

Instantly share code, notes, and snippets.

@jayktaylor
jayktaylor / guide.md
Last active April 13, 2022 08:23
Instructions for installing Python 3.5 using pyenv on Debian Jessie

Installing Python 3.5 on Debian Jessie with pyenv

Debian Jessie does not come with the correct Python version out of the box, and instead comes with Python 2. To be able to install Python 3(.5), we have a few options. We could build and install from source, but as per Debian's website, we shouldn't do this. Instead, we will use pyenv, a tool that allows users to switch Python versions easily without breaking their system.

Installing pyenv

To install pyenv, we will use the official installer.

curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
@pblocz
pblocz / cv-autologin.user.js
Last active August 29, 2015 14:11
To login automatically into UCM unified login
/*! cv-autologin.user.js v1.0 | (c) 2014 Pablo Cabeza | MIT license: http://opensource.org/licenses/mit-license.php */
// ==UserScript==
// @name cv-autologin
// @namespace https://gist.github.com/2b50eaf5e4912cbf8d35
// @version 1.0
// @description To login automatically into UCM unified login
// @author Pablo Cabeza
// @include https://sso.ucm.es/simplesaml/module.php/userpasswordcaptcha/loginuserpass.php*
// @include http://www.ucm.es/campusvirtual*
@pblocz
pblocz / ELPRank.user.js
Last active December 11, 2019 21:53
Tampermonkey script to find UCM ELP Sakai forums posts ranking, use from *forums* tab, or else it won't work
/*! ELPRank.user.js v1.3 | (c) 2014 Pablo Cabeza
* license: http://opensource.org/licenses/mit-license.php
*/
// ==UserScript==
// @name ELPRank
// @namespace https://gist.github.com/43dc185975386ab5eedf
// @version 1.3
// @description To find UCM ELP Sakai forum posts ranking, use from *forums* tab, or else it won't work
// @author Pablo Cabeza