Skip to content

Instantly share code, notes, and snippets.

View Arkanosis's full-sized avatar

Jérémie Roquet Arkanosis

View GitHub Profile
@Arkanosis
Arkanosis / kubuntu_to_debian.md
Last active May 3, 2021 19:55
Upgrading from Kubuntu 18.04 (Bionic) to Debian 10 (Buster) using Arch

Upgrading from Kubuntu 18.04 (Bionic) to Debian 10 (Buster) using Arch

The following describes how you can upgrade a running Kubuntu 18.04 to Debian 10 without having to format the root partition (which usually also contains /home).

This might sounds complicated at first, but it really isn't. Note that this is using Arch because why not, but you only need a distro on a bootable drive which is not the one being upgraded; Ubuntu or Debian would work as well.

Also, obviously:

  • only a fool would try that without proper backups;
  • this comes with no guarantee of any kind (if it breaks and you lose all your data, it's your own fault).
@Arkanosis
Arkanosis / GitHub_over_NTLM.md
Last active March 14, 2019 15:52
GitHub over NTLM

Using GitHub with read/write access, on Debian / Ubuntu, behind a NTLM proxy

This gist is accessible using:

Accessing the Internet, on Linux, behind a NTLM proxy

Most tools don't know how to pass a NTLM proxy, but do know how to pass an HTTP proxy.

@Arkanosis
Arkanosis / install_vep.md
Last active March 3, 2022 18:28
Installing VEP on Ubuntu 18.04 LTS Bionic Beaver

Installing VEP on Ubuntu 18.04 LTS Bionic Beaver

sudo apt install unzip curl git libmodule-build-perl libdbi-perl libdbd-mysql-perl build-essential zlib1g-dev
git clone https://github.com/Ensembl/ensembl-vep.git
cd ensembl-vep
./INSTALL.pl -a a

This will only build and install the base VEP and its dependencies. See the documentation (search for --AUTO and --PLUGINS) for the flags needed for additional content.

@mdonkers
mdonkers / server.py
Last active April 24, 2024 06:50
Simple Python 3 HTTP server for logging all GET and POST requests
#!/usr/bin/env python3
"""
License: MIT License
Copyright (c) 2023 Miel Donkers
Very simple HTTP server in python for logging requests
Usage::
./server.py [<port>]
"""
from http.server import BaseHTTPRequestHandler, HTTPServer
@Arkanosis
Arkanosis / tel2txt.py
Created June 13, 2014 17:15
Script that converts a phone number to alternatives phone “words”
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
_num2char = [
'0+ ',
'1 ',
'2ABC ',