Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the twentyseventeen domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/seisiywb/public_html/wp-includes/functions.php on line 6260
Seismology (Educational) – Seismo-Bunji

WordPress database error: [Table 'seisiywb_wp428.wpul_cookieadmin_cookies' doesn't exist]
SELECT cookie_name, category, expires, description, patterns FROM wpul_cookieadmin_cookies


Deprecated: Function WP_Dependencies->add_data() was called with an argument that is deprecated since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /home/seisiywb/public_html/wp-includes/functions.php on line 6260

Deprecated: Function WP_Dependencies->add_data() was called with an argument that is deprecated since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /home/seisiywb/public_html/wp-includes/functions.php on line 6260

Seismology

There has been quite a long hiatus in my posts on SeismoBunji because I have been occupied with my PhD milestones. I hope to post here more frequently as the time allows me 🙂

For my GitHub

#!/bin/bash
# Try running this script from your terminal :)
# Costa de Lima, T

# Asking the user an important question !
echo "Have you done science today? (yes/no)"

read varname

if [ "$varname" == "no" ];then
	echo "Hum... das not good. Go do some science and come back later."


else if [ "$varname" == "yes" ];then
	echo "Hum... Was the science good?"
	read var_1
	if [ "$var_1" == "yes" ];then
		echo "Awesome! You deserve chocolate :D"
	else if [ "$var_1" == "no" ];then
		echo "That is okay. You still deserve chocolate :-)"
	else
		echo "** wrong answer **"

fi
fi
fi
fi

# What if the user types something different from 'yes' or 'no'?
# Think about a way that you could improve this script!