Compare commits
4 Commits
7a0675d357
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
43ce3ac0dd | ||
|
91380fdc13 | ||
|
7fc8641a1b | ||
|
b021a14447 |
@@ -50,7 +50,7 @@ docker images --format='{{.Repository}};{{.Tag}};{{.ID}}' | grep '<none>;<none>'
|
||||
# Get all used images tag in dir $PATH_ANALYSE
|
||||
find $PATH_ANALYSE -name 'Dockerfile*' | while read file; do cat $file; echo ''; done | grep -e FROM | cut -d ' ' -f 2 | sed $'s/[^[:print:]\t]//g' | sort -u | xargs -n1 docker pull
|
||||
# Calculate total docker images size
|
||||
docker images --format {{.ID}} | xargs -n1 docker inspect | jq '.[0]["Size"]' | paste -sd + | bc | format_bytes_str
|
||||
docker images --format {{.ID}} | xargs -n1 docker inspect | jq '.[0]["Size"]' | paste -sd + | bc | format_bytes
|
||||
```
|
||||
|
||||
## Remove every user R packages
|
||||
|
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
# Print out escape sequences usable for coloured text on tty.
|
||||
# shellcheck disable=2016
|
||||
printf 'Colour escapes are %s\n' '\e[${value};...;${value}m'
|
||||
|
9
compare_world.sh
Executable file
9
compare_world.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
rsync mainpc:/var/lib/portage/world /tmp/mainpc
|
||||
rsync streampc:/var/lib/portage/world /tmp/streampc
|
||||
cp /var/lib/portage/world /tmp/framework
|
||||
|
||||
exec nvim -d /tmp/framework /tmp/mainpc /tmp/streampc
|
@@ -44,7 +44,7 @@ if ! rc-service docker status > /dev/null; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
build /home/_aspil0w/git/3d-playground
|
||||
build /home/_aspil0w/git/Byron
|
||||
build /home/_aspil0w/git/CoverLetter
|
||||
build /home/_aspil0w/git/CurriculumVitae
|
||||
build /home/_aspil0w/git/dotfiles
|
||||
|
Reference in New Issue
Block a user