Week 1

Principles and practices, Project management

About Me:

 

 

I have a Bachelors degree in Accounting and Function as an Accountant ,In Arabian Oil Company in the year of 1997 and in the year 2003 I transfer to Kuwait Gulf Oil Company as an accountant now I am currently in  Audits Affairs Team currently work as an Senior Auditor, I have a total working experience of 20 years.

 

 

 Assignment  

 

 To build any website we need to learn some specific languages. Examples of these are HTML, CSS, HP, Java script and MYSOL.

 

 I have learned HTML using some online academies. Just like Khan Academy, Code Academy and W3school. I also got lots of help from the local instructor.

 

 The tools that I have used to build my first website are sublime as a code editor and good chrome browser as a file runner and the inspect function. 

        I faced difficulties while typing the code for the pictures then gladly that my colleagues and instructor helped me in finding the right words to refer to the picture on my PC. The inspect feature really helped me in finding the objects I wanted to change, I used this feature through Google chrome browser. I also faced some difficulties in finding the right slogan that could fulfill my project after a long search that I have done because of the variety of options that I could have used. 

        I will describe some HTML tags that I have learned this week:

<img src=” “ alt=””>  that tag helped to insert  image we can set the image source between the quotation and we can set the alternative text if the image not show in the alt.

<button type=”button” onclick=””>We can set the title of the button here</button> using this tag we can set the type of the button like submit or button and we can set a JavaScript action to change an attribute.

 That’s some HTMLcode that helped me to edit the template that I downloaded from the online website.

 reference for the page that i visited

https://www.codecademy.com/
https://www.khanacademy.org/

This Video series from youtube also helped me to achive my goal and to grab basic idea of html tags and working





I downloaded a template which is suitable for me to upload my works on each week and as well as project.


For images corresponding to each week shown in website are placed inside a folder named img and gave the link of image to upload in the website.


The main problem i faced was with the typing commands and then making the corresponding images and the hyperlinking of links and the font adjusting etc each time.


As my next week got already lagged and i was behind everybody in the lab.I have to seek help from instructors and as well as from colleagues for the website making.Then i decided to convert the libre office writer documenting and then converting it in to html format.

I made the website using the template and I got as follows:

 
 
 

Now I will describe the git version control.

Version control is a system that’s keep you track your different versions for a source code file. For example I can have a template for a website and I need to edit it I will make a backup for each step I do and if  something goes wrong I can return to the step where am I and get everything back as it was before.

 

SSH Connection.


(Secure SHell) is a security protocol for entering in to a remote server. SSH helps to provides an encrypted way for transferring confidential datas,files and executing highly secure server programs. SSH also serve as a secure client/server connection for applications such as database access and e-mail, SSH supports a variety of authentication methods.
The use of SSH connection helps to avoid un authorised access of datas and other files.SO using the Git by an SSH based connection will help to protect the files and other things.


Setting up the Git!

 

http://git.fabacademy.org


I got the accesss to git lab and then i created an account

Sign in with fablabs. I signed in in the git lab using the creential got and set the user name and password for my account.I choosed username which will be easier for e to remember,As wellas the Pass word.

 

Open the terminal(simply Ctrl+Alt+T) and type

sudo apt update sudo apt install git


As i am firstly using the linux based OS in my life. I was very curious and as well was little bit hard to understand.Till i am joining FAB Aademy, I was a Windows user. BY viewing the terminal and command, I understood that this is what the thing like Comand prompt in windows.

 

Generate ssh keys

(If you have the ssh keys you can use it, skip this step)

Open terminal and type

ssh-keygen -t rsa -b 4096 -C "your mail id"


I put my mail Id in the corresponding position.The terminal commands were little confusing to me. As the instructors are helping as i am new to this system, the things are getting easily sorted out.

 

Ensuring the SSH agent is enabled and adding it.


eval "$(ssh-agent -s)"

ssh-add ~/.ssh/id_rsa


I typed the above code to check the SSH agent is added.

 

Adding the global user name and global email id.

 

git config --global user name "your user name"

git config --global user.email "your mail id"


I typed the above two comands with the User name and Mail Id of mine to add a global account.

 

we will open the file and copy the text in the file and insert it on my account.

sudo gedit ~/.ssh/id_rsa.pub


The gedit is opened when the command is done n the terminal.So i copied that key or the code shown in it..

 

Then we will clone the fablab kuwait file.

git clone git@git.fabacademy.org:fabacademy2017/fablabkuwait.git


Cloning of this folder enable me to put my data in this repository in Git.This contains very students folder.So i can put my things inside mine.

uploading of my files to Git repository


I used following commands or steps for adding my things to repository using terminal.


git pull :----- This is for getting the repository with the last changes from the server


git add --all :---- This is for adding my files.


git commit -m "comment" :---- This is for adding my message to understand or notify my updates and modifications.


git push :----- This is for pushing my files in to the repository .

The progress of pushing progress will be shown in the terminal. Wait untill it reaches 100%.

 

 

Conclusion

At the end, a webpage has been created and it is acceptable in my opinion and clear for the community to check it. This will be the start up of the FABLAB career and adventure.


Another thing is dealing with the linux OS and also Git(Important thing in Fab Acdemy which need to be carried out throughout the course.)

Final project

 

  • •.My Project which I planned make is a  surprise Box and it’s aim to teach younger kids ordering skills. When the child arranged the puzzle pieces correctly the box will open and the child will get a gift. Otherwise the box will be close until figure it out correctly. I am planning to make 3 slots with a key or an opening .I f that is closed properly,Then only the box can open. There can be prizes or gifts inside it need  3 resistors attached to the slots and a conducting material on the openings . If the resistor is connected, Door opens with a servo motor attached at the door.