Skip to content

Instantly share code, notes, and snippets.

@opless
opless / virt-backup.pl
Created March 30, 2017 00:04 — forked from trick77/virt-backup.pl
virt-backup.pl: fixed paths so live images will work again in Ubuntu 14.04
#!/usr/bin/perl -w
#
# 1. Install required dependencies:
# sudo apt-get install -y libxml-simple-perl pv libsys-virt-perl
# 2. Run it like this (assuming the LVM disk size is 20G):
# /virt-backup.pl --vm mykvm --state --snapsize=20G --backupdir /tmp --debug --compress
#
# AUTHOR
# Daniel Berteaud <daniel@firewall-services.com>
#
# rename origin remote
git remote rename origin github
# add the gitlab remote (for the love of everything that’s holy, use ssh)
git remote add bitbucket <remote link for bitbucket>
# push existing code to new remote
git push -u bitbucket —all
# let’s magic

The houses of parliament netblock is publicly listed:

https://apps.db.ripe.net/search/lookup.html?source=ripe&key=194.60.0.0%20-%20194.60.63.255&type=inetnum

Despite their unwillingness to reveal the UK parliament web proxies in an FOI request, wikipedia allows you to query for /24 blocks. 63 wikipedia queries later, and here's the list of every IP address that has made a wikipedia edit from the UK parliament netblock.

  • 194.60.62.36 [7 found](h ttps://en.wikipedia.org/wiki/Special:Contributions/194.60.62.36)
  • 194.60.62.35 10 found
  • 194.60.62.34 15 found
  • 194.60.62.33 34 found