summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-07-18 16:26:48 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-07-18 16:26:48 +0200
commit0d32c78b32acc5e0a23a9cc1967efd1f7d1a7d0a (patch)
tree2f1dcee1428a2ea14f8e172338f50d0fec4aa7dc
parentMerge ssh://ni/var/lib/git/sijanec/n (diff)
downloadn-0d32c78b32acc5e0a23a9cc1967efd1f7d1a7d0a.tar
n-0d32c78b32acc5e0a23a9cc1967efd1f7d1a7d0a.tar.gz
n-0d32c78b32acc5e0a23a9cc1967efd1f7d1a7d0a.tar.bz2
n-0d32c78b32acc5e0a23a9cc1967efd1f7d1a7d0a.tar.lz
n-0d32c78b32acc5e0a23a9cc1967efd1f7d1a7d0a.tar.xz
n-0d32c78b32acc5e0a23a9cc1967efd1f7d1a7d0a.tar.zst
n-0d32c78b32acc5e0a23a9cc1967efd1f7d1a7d0a.zip
-rw-r--r--etc/portage/package.accept_keywords/conf1
-rw-r--r--root/.bash_aliases1
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/portage/package.accept_keywords/conf b/etc/portage/package.accept_keywords/conf
index 6011023..6ccb6cf 100644
--- a/etc/portage/package.accept_keywords/conf
+++ b/etc/portage/package.accept_keywords/conf
@@ -48,3 +48,4 @@ sys-firmware/sigrok-firmware-fx2lafw ~*
media-sound/sndpeek ~*
net-mail/libpst ~*
media-video/obs-studio ~*
+net-analyzer/masscan ~*
diff --git a/root/.bash_aliases b/root/.bash_aliases
index abff120..cdef3c5 100644
--- a/root/.bash_aliases
+++ b/root/.bash_aliases
@@ -26,6 +26,7 @@ function upload () {
# chmod 0644 "$1"
d=`[ '$2'x = x ] && echo $1 || echo $2`
sftp -b- upload@upload.sijanec.eu <<< "put '$1' www/$d"
+ grep '/$' <<<$d && d=$d`rev <<<$1 | cut -d/ -f1 | rev`
ssh upload@upload.sijanec.eu chmod 0644 "www/$d"
echo https://upload.sijanec.eu./$d | xclip
}