First Blog Setup
Wow have I ever printed anything before in my entire life‽‽ Also, answers to installation hacks?
Hello World
- Hello World in Java, Javascript and Python
System.out.println("Hello World ☕");
Hello World ☕
console.log("Hello World 🟨");
Hello World 🟨
print("Hello World 🐍")
Hello World 🐍
Installation Hacks
- Terminal Commands
- Some of the common commands we use in the terminal include wsl to launch the Windows Subsystem for Linux, cd to change directories, ls to list the files in the current directory, and pwd to print the current working directory. Along with other commands like apt-get to install packages, sudo to increase our permissions. Along with the use of git commands to clone repositories, add files to the staging area, commit files, and push files to the remote repository, or deal with reverting changes. We also use other commands such as cat to print the contents of a file, and echo to print a string to the terminal. We also use the command clear to clear the terminal screen.
- Version Control
- Where are the files from GitHub placed on your local machine. How do you navigate to those files?:
- The files from GitHub are placed in the directory that you specify when you clone the repository. For instance the /vscode directory. The directory of the clones repository can be navigated by using the
cd
command with the name of the cloned directory.
- The files from GitHub are placed in the directory that you specify when you clone the repository. For instance the /vscode directory. The directory of the clones repository can be navigated by using the
- Where are the files placed in the GitHub Cloud, how do you navigate to those files?:
- The directory containing the files in the repository on GitHub is created on their servers (possibly on some Azure server somewhere). These files are then accessible and managed through the GitHub website or through the GitHub Desktop application or similar software.
- How would you update your Template or Fork of student repository if teacher wanted you to pick up an update?:
- To update the template or fork of the student repository, you would need to add the teacher repository as a remote repository. Then you would need to fetch the changes from the teacher repository and merge them into your local repository. Then push the changes to your repository updating your repository with the changes from the teacher repository. (There may be merge conflicts that need to be resolved.)
- Where are the files from GitHub placed on your local machine. How do you navigate to those files?:
- Github Pages: Put into words the difference between viewing Github Pages running on localhost machine versus running on a deployed server.
- What is the localhost URL for your distribution? Can anyone else see it?
-
The url for my localhost version of Github pages is http://localhost:4200/Mort-Pages-Personal/ and no one else can see it as it running on a local port on my machine it is only accessible from my machine.
-
What is the Github pages URL for your distribution? Can anyone else see it? My Github pages URL is https://Tirth-Thakkar.github.io/Mort-Pages-Personal/ and anyone can see it as it is hosted on Github’s servers. With a custom domain name, it can be made to look like a professional website but however it is still the default link and setup for a typical Github pages website.
-
- What is the localhost URL for your distribution? Can anyone else see it?