This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Purpose: Download and install latest stable firefox for any Linux distribution | |
# gpg --receive-keys 0x4360FE2109C49763186F8E21EBE41E90F6F12F6D | |
# Update 2021-06-03: key change, new key is signed with old 0x14F26682D0916CDD81E37B6D61B7B526D98F0353 | |
# https://blog.mozilla.org/security/2021/06/02/updating-gpg-key-for-signing-firefox-releases/ | |
# GPG SETTINGS | |
RELEASE_KEY_FINGERPRINT="0xADD7079479700DCADFDD5337E36D3B13F3D93274" | |
MOZILLA_KEY_SERVER="gpg.mozilla.org" | |
GNUPGHOME="/var/cache/gnupg_download_firefox_release" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdb: | |
1)wgt:(/|/sdbackup/)sdbackup.bin\.tar\.gz/ # (sha1=ce831841c0d0....) | |
2.1)v2.asc: echo -n "ta.."|sha256sum # =^fa0 | |
2.2)v1.asc: echo -n "ta.."|openssl dgst -whirlpool -provider legacy -binary |base64 -w 0 # =^Rl/ | |
2.3) .bin: openssl aes-256-cbc -d -md md5 -in i -out o # v1key | |
3) --key-file a --offset=0 --readonly --cipher aes-xts-plain --key-size=512 --type plain open devX name | |
--------------------------------------------- | |
sh: | |
1) l=s....nres..e ; p=995|def; | |
strtfpr=(JN5TpD/hwppRotTpsK...|46:08:e6:33:87:....) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hubic_splitbigfile_in_cwd (){ | |
set -x | |
for f in $(find . -type f -ls |awk '{ if ($7 >4194304000) print $11}') | |
do | |
split -d --bytes=4000M "${f}" "${f}." | |
rm -f -- "${f}" | |
done | |
set +x | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THIS IS THE PRETTY BIT | |
#change the hardstatus settings to give an window list at the bottom of the | |
##screen, with the time and date and with the current window highlighted | |
hardstatus alwayslastline | |
#hardstatus string '%{= mK}%-Lw%{= KW}%50>%n%f* %t%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}' | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' | |
NewerOlder