- Update /etc/apt/sources.list:
deb https://deb.parrotsec.org/parrot parrot main contrib non-free
- Then add public key:
wget -qO - https://archive.parrotsec.org/parrot/misc/parrotsec.gpg | apt-key add -
- Update apt
deb https://deb.parrotsec.org/parrot parrot main contrib non-free
wget -qO - https://archive.parrotsec.org/parrot/misc/parrotsec.gpg | apt-key add -
""" | |
function rounded_time | |
param: dt a date time object | |
kwarg: rnd the number of minutes to round to | |
Since datetime attributes are integers round them like a normal integer | |
This function will roll over hours i.e 10:59 -> 11:00 | |
This function will roll over days i.e 23:59 01/01 -> 00:00 01/02 | |
""" | |
from datetime imort datetime, timedelta |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# ... or force ignoredups and ignorespace | |
HISTCONTROL=ignoredups:ignorespace |