Skip to content

Instantly share code, notes, and snippets.

View mvanotti's full-sized avatar
馃惁
Nobody knows anything about horses

Marco Vanotti mvanotti

馃惁
Nobody knows anything about horses
View GitHub Profile
@mvanotti
mvanotti / main.cpp
Created October 21, 2017 03:46
UVA Problem 11974 - Switch The Lights
#include <algorithm>
#include <queue>
#include <vector>
#include <stdio.h>
#include <string.h>
#define MAX_ELEMS 1 << 16
static bool visited[MAX_ELEMS] = {false};
@mvanotti
mvanotti / mininet-itz.py
Created September 10, 2016 02:49
POX Errors, while trying to run a Mininet fat tree topology with 64 nodes.
from time import sleep
from mininet.topo import Topo
from mininet.topolib import TreeTopo
from mininet.net import Mininet
from mininet.log import setLogLevel
from mininet.node import RemoteController
from mininet.node import OVSSwitch, OVSKernelSwitch
from mininet.link import TCLink
from random import sample
@mvanotti
mvanotti / parsemounts.go
Created May 31, 2014 19:20
Display all the filesystem mount points and their respective type.
package main
import (
"bufio"
"fmt"
"os"
"strings"
)
// Display all the mounted filesystems and their respective type.

tl;dr: Guia que explica qu茅 es ssh, c贸mo se usa y c贸mo lo pueden usar de forma eficiente para facilitarles la vida con el tp


Hola!

En este documento van a encontrar informaci贸n que les va a facilitar la vida en ORGA2 y otras materias, cuando quieran conectarse remotamente a los laboratorios. Espero lo lean y encuentren utilidad en el mismo :).

Decid铆 dividirlo en varias partes, de forma tal que pueden saltear las que no les interesen.

DISCLAIMER: No me hago cargo de nada de lo que les pueda pasar a sus computadoras o a ustedes por seguir estos consejos. Esto incluye (pero no se limita a): Perdida de acceso ssh a otros servidores, perdida de informacion en su pc local, perdida de tps, ganas de llorar, perdida de cordura y locura espont谩nea.

@mvanotti
mvanotti / lista.c
Created September 4, 2012 23:05
TP1 Implementaci贸n en C
#include "lista.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
static void *copiar_dato(tipo t, void *dato) {
int *nuevo_i;
double *nuevo_d;
char *nuevo_s;