Skip to content

Instantly share code, notes, and snippets.

View bonifacemwanza's full-sized avatar
💭
Hey guys, lets Code!

Boniface C Mwanza bonifacemwanza

💭
Hey guys, lets Code!
View GitHub Profile
@bonifacemwanza
bonifacemwanza / bash_basics.sh
Created June 3, 2023 16:02
Basics of Bash Scripting
# Variable declaration and assignment
name="John"
age=25
echo "My name is $name and I am $age years old."
# Echo command and command substitution
echo "Hello, World!"
current_directory=$(pwd)
echo "Current directory: $current_directory"
<!-- add this to your header -->
<div id="google_translate_element"></div>
<!-- to your js part -->
<script src="script.js"></script>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement(
{pageLanguage: 'en'},
'google_translate_element'