31 / 3 / 2024
Task 1: Javascript
JavaScript is a dynamic programming language that's used for web development, in web applications, for game development, and lots more. It allows you to implement dynamic features on web pages that cannot be done with only HTML and CSS.
Learnt basics of javascript and created a small webpage that accepts names and marks, calculates and displays the rankings.
Code Link
Task 2: Async JS
Asynchronous programming is a technique that enables your program to start a potentially long-running task and still be able to be responsive to other events while that task runs, rather than having to wait until that task has finished. Once that task has finished, your program is presented with the result.
Used callbacks to write a small program that displays recipe of veg biryani.
Code link
Task 3: Promises
Promise is an object that will produce a single value some time in the future. If the promise is successful, it will produce a resolved value, but if something goes wrong then it will produce a reason why the promise failed. The possible outcomes here are similar to that of promises in real life.
By using promises, I could write the task 2 code in a more simple and readable form.
Code link
Task 4: Get familiar with the command line and do the following subtasks
- Created a directory named test by using mkdir command.
- Changed the directory using cd command.
- Created a txt file using touch command.
- Next I created 2600 folders using loop.
- Used echo command to enter and create a txt file at the same time.
- Concatenated two files into another file by cat command.
Task 5: VI
The default editor that comes with the UNIX operating system is called vi (visual editor). The UNIX vi editor is a full screen editor and has two modes of operation:
Command mode commands which cause action to be taken on the file, and
Insert mode in which entered text is inserted into the file.
Learnt the basics of VI, created a md file and then inserted the features of VI editor in it using insert mode.
Task 6: Linux Continued
Learnt the basics about regex, piping and grep working. Used grep to extract login times within a date/time range from the login logs using the 'last' command. Piped this information into a text file and put it into a folder named logs. Zipped this folder using gzip and tar.
Task 7: Introduction to Cloud Computing
Cloud computing is the delivery of computing services—including servers, storage, databases, networking, software, analytics, and intelligence—over the internet (“the cloud”) to offer faster innovation, flexible resources, and economies of scale.
There are 3 service models of cloud computing i.e. Iaas(Infrastructure as a service), Paas(Platform as a service) and Saas(Software as a service).
Learnt about local file sharing solution. Steps:
- Go to network and sharing center in control panel.
- In advanced settings panel, Turn on network discovery and file & printer sharing. Save the changes.
- Open the services app, change SSDP Discovery, UpnP Device Host Host, Functions discovery provider host and function discovery resources startup type from manual to automatic.
- Final step is to select the folder to share.
Task 8: Introduction to Cybersecurity
Cybersecurity is the practice of protecting internet-connected systems such as hardware, software and data from cyberthreats. It's used by individuals and enterprises to protect against unauthorized access to data centers and other computerized systems.
Cryptography is the process of hiding or coding information so that only the person a message was intended for can read it.
Learnt about various ciphers. The encrypted code for \Cybersecurity in Marvel" in different ciphers is shown in the below picture.
Pigpen Cipher: