Skip to content

Instantly share code, notes, and snippets.

View fpalladoro's full-sized avatar

Federico Palladoro fpalladoro

View GitHub Profile

Keybase proof

I hereby claim:

  • I am fpalladoro on github.
  • I am fedepalladoro (https://keybase.io/fedepalladoro) on keybase.
  • I have a public key ASCVypSUhtq8v7ofqtiK6EYNVfnVfbneFglk4As-z16kjQo

To claim this, I am signing this object:

@fpalladoro
fpalladoro / ping_report
Created August 6, 2018 13:18
Script to create a report of network connectivity
#!/bin/sh
PACKETS=10
echo "###########################"
ping -q -c $PACKETS 192.168.1.1
echo "###########################"
ping -q -c $PACKETS 8.8.8.8
echo "###########################"
ping -q -c $PACKETS 23.23.198.25
#!/usr/bin/env python
import os
import sys
import argparse
from nomad import Nomad
from prettytable import PrettyTable
from collections import Counter
def get_last_job(job_list, parent_job_id):