display logs + UPlanet UPbutton + Maya Kin
This commit is contained in:
parent
41cb844f32
commit
3cd2e186c2
Binary file not shown.
After Width: | Height: | Size: 786 KiB |
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#############################################################
|
||||||
|
## DISPLAY SERVER LOG FILES
|
||||||
|
#############################################################
|
||||||
|
## 1234 API ~/.zen/tmp/12345.log
|
||||||
|
## 12345 API ~/.zen/tmp/_12345.log
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
[[ ! $(which multitail) ]] && sudo apt install multitail
|
||||||
|
|
||||||
|
multitail -s 2 -I ~/.zen/tmp/12345.log ~/.zen/tmp/_12345.log
|
20
tools/kin.sh
20
tools/kin.sh
|
@ -181,7 +181,7 @@ display_maya_kin_details() {
|
||||||
# Determine the glyph, tonality, and color based on the Maya Kin
|
# Determine the glyph, tonality, and color based on the Maya Kin
|
||||||
local glyph_index=$(( (kin - 1) % 20 ))
|
local glyph_index=$(( (kin - 1) % 20 ))
|
||||||
local tonality_index=$(( (kin - 1) % 13 ))
|
local tonality_index=$(( (kin - 1) % 13 ))
|
||||||
local color_index=$(( (tonality_index % 4) + 1 )) # Assuming 4 colors in each tonality
|
local color_index=$(( (kin - 1) / 13 % 5 ))
|
||||||
|
|
||||||
local glyph=${glyphs[$glyph_index]}
|
local glyph=${glyphs[$glyph_index]}
|
||||||
local tonality=${tonalities[$tonality_index]}
|
local tonality=${tonalities[$tonality_index]}
|
||||||
|
@ -203,7 +203,7 @@ display_maya_kin_details() {
|
||||||
echo "Couleur: $color"
|
echo "Couleur: $color"
|
||||||
describe_color "$color"
|
describe_color "$color"
|
||||||
echo "------------------------------"
|
echo "------------------------------"
|
||||||
echo "Le Maya Kin est $color, $color_description , gouverné par la tonalité $tonality et représenté par le glyphe $glyph."
|
echo "Le Maya Kin $kin est $color, gouverné par la tonalité $tonality et représenté par le glyphe $glyph."
|
||||||
}
|
}
|
||||||
|
|
||||||
# Input date of birth
|
# Input date of birth
|
||||||
|
@ -219,12 +219,16 @@ day=$(echo $dob | cut -d'-' -f3)
|
||||||
# Calculate the Maya Kin based on the provided date
|
# Calculate the Maya Kin based on the provided date
|
||||||
maya_kin=$(calculate_maya_kin $year $month $day)
|
maya_kin=$(calculate_maya_kin $year $month $day)
|
||||||
|
|
||||||
# Display Maya Kin details
|
|
||||||
display_maya_kin_details $maya_kin
|
|
||||||
#############################################"
|
#############################################"
|
||||||
echo
|
echo
|
||||||
echo "seeking for kin$maya_kin sound"
|
(
|
||||||
ipfs get -o /tmp/kin$maya_kin.mp3 /ipfs/Qmbt31Txi8hq9FUMhrEHbjtpgv8A8o3SqysJUrEA4nuZBe/kin$maya_kin.mp3 \
|
ipfs get -o /tmp/kin$maya_kin.mp3 /ipfs/Qmbt31Txi8hq9FUMhrEHbjtpgv8A8o3SqysJUrEA4nuZBe/kin$maya_kin.mp3 2>&1>/dev/null
|
||||||
&& echo "playing kin$maya_kin.mp3" \
|
echo "playing kin$maya_kin.mp3"
|
||||||
&& mplayer /tmp/kin$maya_kin.mp3
|
mplayer /tmp/kin$maya_kin.mp3 2>&1>/dev/null
|
||||||
|
) &
|
||||||
|
#############################################"
|
||||||
|
|
||||||
|
# Display Maya Kin details
|
||||||
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
||||||
|
display_maya_kin_details $maya_kin
|
||||||
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
||||||
|
|
|
@ -519,7 +519,7 @@ if [[ $XDG_SESSION_TYPE == 'x11' || $XDG_SESSION_TYPE == 'wayland' ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## https://git.p2p.legal/qo-op/OSM2IPFS
|
## https://git.p2p.legal/qo-op/OSM2IPFS
|
||||||
EARTHCID="/ipfs/QmXWDm78ne22ou9kmRPFqVa3e15BNHsXBZe4Y9KmgBPmJL"
|
EARTHCID="/ipfs/QmQizK777pFChbR12aKf3GExRUQyoPTHeWQxYpqfUGj7ff"
|
||||||
FLIPPERCID="${EARTHCID}/coinflip" ### EASTER EGG
|
FLIPPERCID="${EARTHCID}/coinflip" ### EASTER EGG
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
|
|
Loading…
Reference in New Issue