Skip to content

Instantly share code, notes, and snippets.

@milnak
milnak / ubuntu20-hyperv-enhanced-session.md
Last active November 30, 2025 03:30
Enabling enhanced session in Hyper-V for Ubuntu 20: This works for me, although it seems that Hyper-V quick create now supports enhanced session by default. #windows

Setup Hyper-V enhanced session for Ubuntu 20

I couldn't find instructions that were 100% complete, so I put this together.

These instructions worked fine for me. Follow each step carefully.

Download Ubuntu 20 desktop

DO NOT create the VM by choosing Quick Create in Hyper-V Manager. Follow these instructions exactly.

@damiancipolat
damiancipolat / calculate_cuil.js
Created September 10, 2020 18:50
Codigo JS para calcular el CUIL en base al DNI y sexo, pensado para ser usado en NODE.JS
const assert = require('assert');
const createError = require('http-errors');
/*
Receive a dni and gender 'M' or 'F' and return his cuil.
Params
document : number -> dni
gender : string
Returns
string -> cuil
*/