diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 1/EDA.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 1/EDA.pptx new file mode 100644 index 0000000..f3053a8 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 1/EDA.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 1/Unit 1 Notes.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 1/Unit 1 Notes.pptx new file mode 100644 index 0000000..be3dd6c Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 1/Unit 1 Notes.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 2/Data Aggregation.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 2/Data Aggregation.pptx new file mode 100644 index 0000000..58644e9 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 2/Data Aggregation.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 2/Data summarization Techniques.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 2/Data summarization Techniques.pptx new file mode 100644 index 0000000..a4cedd3 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 2/Data summarization Techniques.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 2/Reshaping and Pivoting.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 2/Reshaping and Pivoting.pptx new file mode 100644 index 0000000..8b60d06 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 2/Reshaping and Pivoting.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 2/Unit 2 Notes.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 2/Unit 2 Notes.pptx new file mode 100644 index 0000000..c3a87a3 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 2/Unit 2 Notes.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 3/Unit 3 Notes.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 3/Unit 3 Notes.pptx new file mode 100644 index 0000000..ff05428 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 3/Unit 3 Notes.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 4/GIS_External_Datasets_Presentation.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 4/GIS_External_Datasets_Presentation.pptx new file mode 100644 index 0000000..ccf9ad9 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 4/GIS_External_Datasets_Presentation.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 4/Special Data Types Images Audio Video.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 4/Special Data Types Images Audio Video.pptx new file mode 100644 index 0000000..a90ba97 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 4/Special Data Types Images Audio Video.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 4/Unit 4 Notes.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 4/Unit 4 Notes.pptx new file mode 100644 index 0000000..0ae25c8 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 4/Unit 4 Notes.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Automation and Reproducibility Using Scripting and Workflow Management Tools.pdf b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Automation and Reproducibility Using Scripting and Workflow Management Tools.pdf new file mode 100644 index 0000000..fd039f7 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Automation and Reproducibility Using Scripting and Workflow Management Tools.pdf differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Documentation/Git Setup And Commands.md b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Documentation/Git Setup And Commands.md new file mode 100644 index 0000000..05daa12 --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Documentation/Git Setup And Commands.md @@ -0,0 +1,52 @@ +# Command Descriptions for Setting Up a Git Repository + +## GitHub CLI Command + +```bash +gh repo create Learning-Git --private --source=. --remote=origin +``` + +This command uses the GitHub CLI (`gh`) to create a new private repository named `Learning-Git` on GitHub. It uses the current directory (`.`) as the source for the new repository and sets up a remote named `origin`. The repository is available at: https://github.com/madhurimarawat/Learning-Git. + +## Git and Directory Setup Commands + +```bash +mkdir Learning-Git +``` + +Creates a new directory named `Learning-Git`. This will be the local folder where the Git repository will be initialized. + +```bash +cd Learning-Git +``` + +Changes the current working directory to `Learning-Git`, so you are inside the folder you just created. + +```bash +git remote add origin https://github.com/username/Learning-Git.git +``` + +Adds a remote repository named `origin` that points to the URL `https://github.com/madhurimarawat/Learning-Git.git`. This remote repository will be the location where you can push and pull changes. + +```bash +git branch -M main +``` + +Renames the current branch to `main`. The `-M` option forces the renaming even if a branch named `main` already exists. + +```bash +git push -u origin main +``` + +Pushes the `main` branch to the remote repository `origin`. The `-u` option sets this remote branch as the default upstream branch for future push and pull commands. + +```bash +git remote add origin https://github.com/madhurimarawat/Learning-Git.git +``` + +Attempts to add another remote repository named `origin` pointing to `https://github.com/madhurimarawat/Learning-Git.git`. However, this would result in an error if a remote named `origin` already exists. + +# Note + +The correct repository link is: https://github.com/madhurimarawat/Learning-Git +The folder name for this project should be `Learning-Git`. diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Documentation/Git Setup And Commands.txt b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Documentation/Git Setup And Commands.txt new file mode 100644 index 0000000..b8fc48e --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Documentation/Git Setup And Commands.txt @@ -0,0 +1,57 @@ +# Command Descriptions for Setting Up a Git Repository + + +## GitHub CLI Command + +```bash +gh repo create Learning-Git --private --source=. --remote=origin +``` + +This command uses the GitHub CLI (`gh`) to create a new private repository named `Learning-Git` on GitHub. It uses the current directory (`.`) as the source for the new repository and sets up a remote named `origin`. The repository is available at: https://github.com/madhurimarawat/Learning-Git. + +## Git and Directory Setup Commands + +```bash +mkdir Learning-Git +``` + +Creates a new directory named `Learning-Git`. This will be the local folder where the Git repository will be initialized. + + +```bash +cd Learning-Git +``` + +Changes the current working directory to `Learning-Git`, so you are inside the folder you just created. + + +```bash +git remote add origin https://github.com/username/Learning-Git.git +``` + +Adds a remote repository named `origin` that points to the URL `https://github.com/madhurimarawat/Learning-Git.git`. This remote repository will be the location where you can push and pull changes. + + +```bash +git branch -M main +``` + +Renames the current branch to `main`. The `-M` option forces the renaming even if a branch named `main` already exists. + + +```bash +git push -u origin main +``` + +Pushes the `main` branch to the remote repository `origin`. The `-u` option sets this remote branch as the default upstream branch for future push and pull commands. + + +```bash +git remote add origin https://github.com/madhurimarawat/Learning-Git.git +``` + +Attempts to add another remote repository named `origin` pointing to `https://github.com/madhurimarawat/Learning-Git.git`. However, this would result in an error if a remote named `origin` already exists. + +# Note +The correct repository link is: https://github.com/madhurimarawat/Learning-Git +The folder name for this project should be `Learning-Git`. diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Learning-Git/LICENSE.md b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Learning-Git/LICENSE.md new file mode 100644 index 0000000..ec454a1 --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Learning-Git/LICENSE.md @@ -0,0 +1 @@ +# MIT License for learning Git diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Learning-Git/README.md b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Learning-Git/README.md new file mode 100644 index 0000000..3c99c5c --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Learning-Git/README.md @@ -0,0 +1 @@ +#My New Repository for learning Git diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Learning-Git/TRIAL.py b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Learning-Git/TRIAL.py new file mode 100644 index 0000000..b289719 --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Learning-Git/TRIAL.py @@ -0,0 +1 @@ +print(Hello World) diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Output/Git Output..docx b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Output/Git Output..docx new file mode 100644 index 0000000..03d1039 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Output/Git Output..docx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Output/Git Output.pdf b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Output/Git Output.pdf new file mode 100644 index 0000000..e053957 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Codes and Output/Output/Git Output.pdf differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Data Wrangling Documentation and Git Workflow.pptx b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Data Wrangling Documentation and Git Workflow.pptx new file mode 100644 index 0000000..47a91f6 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Data Wrangling Documentation and Git Workflow.pptx differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.html b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.html new file mode 100644 index 0000000..d8ba988 --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.html @@ -0,0 +1,159 @@ + + + + + + + + + + + Comments, Markdown, and Notebooks + + + + + +

Comparison of Code Comments πŸ’¬, Markdown πŸ“, and Jupyter Notebooks πŸ““

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Criteria πŸ“‹Code Comments πŸ’¬Markdown πŸ“Jupyter Notebook πŸ““
Purpose πŸ“ Explain code logic, add notes within code filesCreate formatted documentation and textCombine code, text, and output for interactive documents
File Extensions πŸ—‚οΈ .py, .js, .c, etc. (depends on the language).md, .markdown.ipynb
Ownership 🏒 General standard across programming languagesDeveloped by John Gruber (open-source standard)Initially developed by Fernando Pérez and IPython team (open-source)
Syntax Format πŸ“„ Language-specific comment symbols (` //`, `#`, `/* */`)Uses simple markup like `#`, `**`, `[]()`Uses Markdown for text cells and Python for code cells
Text Formatting ✍️ Limited to plain textSupports bold, italics, headings, etc.Supports full Markdown formatting with rendered output
Execution Capability βš™οΈ No code executionNo code executionCode cells can be executed, showing results inline
Interactivity πŸ”„ Not interactiveNot interactiveInteractive; supports widgets, graphs, etc.
Use Cases πŸ“š Inline code documentationREADME files, project documentationData analysis, teaching, research papers
Visual Output 🌟 Plain text onlyStyled text formattingVisual output such as graphs, images, and tables
Integration πŸ”— Integrated into code editors and IDEsSupported by most text editors and Git platformsRequires Jupyter environment or compatible software
Learning Curve πŸŽ“ Minimal; simple to useEasy for basic formatting; more for advanced featuresModerate; requires learning notebook environment
Version Control πŸ“Š Managed as part of codeEasy to version-control (e.g., GitHub)More complex to version-control due to JSON format
Execution Environment πŸƒ Runs in the specific programming environmentNot executableExecutable in Jupyter Notebook, JupyterLab, or similar platforms
Collaboration 🀝 Shared as part of code reviewsEasy to collaborate via platforms like GitHubCollaborative using JupyterHub and shared notebooks
Examples of Use πŸ’‘ `# This is a code comment``# This is a Markdown heading`Markdown cell: `# Heading` + Code cell: `print("Hello")`
Link to GitHub Repo πŸ”— Used within codebase (e.g., [Sample Repo](#))Often found in [README files](https://github.com/)Common in [Jupyter repos](https://github.com/)
+ + +
+ + + \ No newline at end of file diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.md b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.md new file mode 100644 index 0000000..fe56e96 --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.md @@ -0,0 +1,18 @@ +| **Criteria** | **Code Comments** | **Markdown** | **Jupyter Notebook** | +| ---------------------------- | ------------------------------------------------------ | ----------------------------------------------------- | -------------------------------------------------------------------- | +| πŸ“ **Purpose** | Explain code logic, add notes within code files | Create formatted documentation and text | Combine code, text, and output for interactive documents | +| πŸ—‚οΈ **File Extensions** | .py, .js, .c, etc. (depends on the language) | .md, .markdown | .ipynb | +| 🏒 **Ownership** | General standard across programming languages | Developed by John Gruber (open-source standard) | Initially developed by Fernando PΓ©rez and IPython team (open-source) | +| πŸ“„ **Syntax Format** | Language-specific comment symbols (`//`, `#`, `/* */`) | Uses simple markup like `#`, `**`, `[]()` | Uses Markdown for text cells and Python for code cells | +| ✍️ **Text Formatting** | Limited to plain text | Supports bold, italics, headings, etc. | Supports full Markdown formatting with rendered output | +| βš™οΈ **Execution Capability** | No code execution | No code execution | Code cells can be executed, showing results inline | +| πŸ”„ **Interactivity** | Not interactive | Not interactive | Interactive; supports widgets, graphs, etc. | +| πŸ“š **Use Cases** | Inline code documentation | README files, project documentation | Data analysis, teaching, research papers | +| 🌟 **Visual Output** | Plain text only | Styled text formatting | Visual output such as graphs, images, and tables | +| πŸ”— **Integration** | Integrated into code editors and IDEs | Supported by most text editors and Git platforms | Requires Jupyter environment or compatible software | +| πŸŽ“ **Learning Curve** | Minimal; simple to use | Easy for basic formatting; more for advanced features | Moderate; requires learning notebook environment | +| πŸ“Š **Version Control** | Managed as part of code | Easy to version-control (e.g., GitHub) | More complex to version-control due to JSON format | +| πŸƒ **Execution Environment** | Runs in the specific programming environment | Not executable | Executable in Jupyter Notebook, JupyterLab, or similar platforms | +| 🀝 **Collaboration** | Shared as part of code reviews | Easy to collaborate via platforms like GitHub | Collaborative using JupyterHub and shared notebooks | +| πŸ”— **Examples of Use** | `# This is a code comment` | `# This is a Markdown heading` | Markdown cell: `# Heading` + Code cell: `print("Hello")` | +| πŸ”— **Link to GitHub Repo** | Used within codebase (e.g., [Sample Repo](#)) | Often found in [README files](https://github.com/) | Common in [Jupyter repos](https://github.com/) | diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.pdf b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.pdf new file mode 100644 index 0000000..d19612f Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.pdf differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.png b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.png new file mode 100644 index 0000000..a7b7941 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Difference between Code Comments, Markdown and Jupyter Notebook.png differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Documenting and Reproducing Data Wrangling Workflows.pdf b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Documenting and Reproducing Data Wrangling Workflows.pdf new file mode 100644 index 0000000..13aa4e5 Binary files /dev/null and b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Documenting and Reproducing Data Wrangling Workflows.pdf differ diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/Git-Commands.html b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Git-Commands.html new file mode 100644 index 0000000..2d2bb21 --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/Git-Commands.html @@ -0,0 +1,564 @@ + + + + + + + + + + + + + + + + + + Git Commands + + + + + +

+
+ +
+ +

Git Commands

+
+
+
+

Introduction to Git

+

Git is a distributed version control system renowned for its ability to manage projects of various scales + with efficiency and speed. Originally developed by Linus Torvalds for managing the Linux kernel + development, + Git has become an essential tool in modern software development.

+ +

Its distributed nature allows developers to work offline, commit changes locally, and synchronize their + work + with remote repositories seamlessly. Git tracks changes to files, enabling developers to revert to + previous + versions, manage different branches for feature development, and collaborate effectively across teams. +

+ +

Used extensively in both open-source and proprietary projects, Git's popularity stems from its + robustness, + scalability, and the rich ecosystem of tools and services built around it. Whether you're working on a + small + personal project or coordinating with a global team on a large-scale application, Git provides the + foundation + for efficient version control and collaborative software development.

+
+ + +
+ +

Installing Git

+ +

To install Git on your Windows machine, follow these steps:

+
    +
  1. Download Git from the official Git website: Git for Windows
  2. +
  3. Run the downloaded installer file and follow the installation instructions.
  4. +
  5. During installation, you can customize settings as per your preference.
  6. +
  7. Once installed, open Git Bash or Git GUI to start using Git commands.
  8. +
+ +
+ + + +
+
Command 1:
+
git init
+
+ Initializes a new Git repository. +

+ Description: +
    +
  • git init creates an empty Git repository or reinitializes an existing one.
  • +
+ Output: A new .git directory is created in the current directory. +
+
+ +
+
Command 2:
+
git clone <repository-url>
+
+ Clones a repository into a new directory. +

+ Description: +
    +
  • git clone <repository-url> copies an existing Git repository to your local + machine.
  • +
+ Output: A new directory is created containing the cloned repository. +
+
+ +
+
Command 3:
+
git status
+
+ Displays the state of the working directory and staging area. +

+ Description: +
    +
  • git status shows which changes have been staged, which haven't, and which files + aren't + being tracked by Git.
  • +
+ Output: A summary of changes to be committed, changes not staged for commit, and + untracked + files. +
+
+ +
+
Command 4:
+
git add <file>
+
+ Adds changes in the working directory to the staging area. +

+ Description: +
    +
  • git add <file> stages the specified file, preparing it for a commit.
  • +
+ Output: The file is added to the staging area. +
+
+ +
+
Command 5:
+
git commit -m "Commit message"
+
+ Records changes to the repository along with a commit message. +

+ Description: +
    +
  • git commit -m "Commit message" commits the staged changes to the repository with + the specified commit message.
  • +
+ Output: Shows the commit hash and details of the committed changes. +
+
+ +
+
Command 6:
+
git push origin <branch-name>
+
+ Pushes committed changes to a remote repository. +

+ Description: +
    +
  • git push origin <branch-name> sends committed changes from your local + repository + to the remote repository specified by origin.
  • +
+ Output: Updates the remote repository with the local commits. +
+
+ +
+
Command 7:
+
git pull
+
+ Fetches and merges changes from a remote repository to your local branch. +

+ Description: +
    +
  • git pull retrieves new work from the remote repository and integrates it with your + local + branch.
  • +
+ Output: Updates your local repository with the latest changes from the remote. +
+
+ +
+
Command 8:
+
git branch
+
+ Lists all local branches in the current repository. +

+ Description: +
    +
  • git branch displays a list of all branches in the local repository, highlighting + the + current branch.
  • +
+ Output: Lists branches prefixed with an asterisk (*) to denote the current branch. +
+
+ +
+
Command 9:
+
git checkout <branch-name>
+
+ Switches to the specified branch. +

+ Description: +
    +
  • git checkout <branch-name> changes the current working branch to the + specified + branch.
  • +
+ Output: Updates the working directory to match the specified branch. +
+
+ +
+
Command 10:
+
git merge <branch-name>
+
+ Merges the specified branch into the current branch. +

+ Description: +
    +
  • git merge <branch-name> integrates changes from the specified branch into the + current + branch.
  • +
+ Output: Combines the histories of both branches. +
+
+ +
+
Command 11:
+
git log
+
+ Shows the commit history for the current branch. +

+ Description: +
    +
  • git log displays a list of commits with details such as hash, author, date, and + message. +
  • +
+ Output: Commit history log. +
+
+ +
+
Command 12:
+
git reset --hard <commit>
+
+ Resets the working directory and index to the specified commit. +

+ Description: +
    +
  • git reset --hard <commit> moves the HEAD to the specified commit and discards + all + changes in the working directory and index.
  • +
+ Output: Working directory and index are reset to match the specified commit. +
+
+ +
+
Command 13:
+
git stash
+
+ Temporarily saves changes in the working directory. +

+ Description: +
    +
  • git stash stores modified tracked files, staging area changes, and working + directory + changes to a stash.
  • +
+ Output: Changes are stashed and working directory is clean. +
+
+ +
+
Command 14:
+
git stash pop
+
+ Applies the most recent stash and removes it from the stash list. +

+ Description: +
    +
  • git stash pop restores the most recently stashed changes to the working directory + and + removes them from the stash list.
  • +
+ Output: Stashed changes are reapplied and removed from the stash list. +
+
+ +
+
Command 15:
+
git remote add <name> <url>
+
+ Adds a new remote repository. +

+ Description: +
    +
  • git remote add <name> <url> creates a new reference to a remote + repository. +
  • +
+ Output: New remote repository reference is added. +
+
+ +
+
Command 16:
+
git remote -v
+
+ Displays the current configured remote repositories. +

+ Description: +
    +
  • git remote -v shows the URLs of the remote repositories for fetch and push + operations. +
  • +
+ Output: List of remote repositories with their fetch and push URLs. +
+
+ +
+
Command 17:
+
git tag <tag-name>
+
+ Creates a new tag. +

+ Description: +
    +
  • git tag <tag-name> creates a new tag at the current commit.
  • +
+ Output: New tag is created at the current commit. +
+
+ +
+
Command 18:
+
git diff
+
+ Shows changes between commits, commit and working tree, etc. +

+ Description: +
    +
  • git diff displays the differences between the working directory and the index.
  • +
+ Output: Diff output of changes. +
+
+ +
+
Command 19:
+
git fetch
+
+ Downloads objects and refs from another repository. +

+ Description: +
    +
  • git fetch retrieves updates from a remote repository without merging them.
  • +
+ Output: Updates from the remote repository are fetched. +
+
+ +
+
Command 20:
+
git rebase <base-branch>
+
+ Reapplies commits on top of another base tip. +

+ Description: +
    +
  • git rebase <base-branch> moves or combines a sequence of commits to a new + base + commit.
  • +
+ Output: Commits are reapplied on top of the new base tip. +
+
+
+ + + +
+

Thank You

+

+ Thank you for visiting this website. If you have any questions or would + like to get in touch, please feel free to contact me. +

+ + + +
+ Email + + 9407959924 + + GitHub +   +   + + LinkedIn   + + LinkTree   + Portfolio  + + Devfolio + +
+ Visit on GitHub   +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/css/commands.css b/7 SEMESTER/Data Wrangling/Notes/Unit 5/css/commands.css new file mode 100644 index 0000000..ac11308 --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/css/commands.css @@ -0,0 +1,340 @@ +/* +********************************************************************************************* +* File: commands.css +* Author: Madhurima Rawat +* Date: July 18, 2024 +* Description: Stylesheet for a website dedicated to additional resources for commands, featuring responsive design, +* interactive hover effects, cohesive color schemes, and refined layout adjustments. +* Version: 1.0 +* GitHub Repository: https://github.com/madhurimarawat/Semester-Notes +* Issues/Bugs: For any issues or bugs, please visit the GitHub repository issues section. +* Comments: This CSS file defines styles for various components such as navbar, cards, +* headings, buttons, and footer. It includes customizations for hover effects, +* color schemes, and layout adjustments to enhance user experience and visual appeal. +* Dependencies: Bootstrap 4.5.2 for responsive design. +********************************************************************************************* +*/ + +/* Root variables for primary colors */ +:root { + --primary-color: #28a745; + --button-color: #ffc107; +} + +/* Background color for the navbar */ +.navbar { + background-color: var(--primary-color); + /* Change background color */ +} + +/* Text color for navbar links */ +.navbar-dark .navbar-nav .nav-link { + color: #fff; + /* Change text color */ +} + +/* Hover effect for navbar links */ +.navbar-dark .navbar-nav .nav-link:hover { + color: #f0f0f0; + /* Change text color on hover */ +} + +/* Padding for the navigation links */ +.navbar-nav .nav-link { + padding: 0.5rem 1rem; + /* Padding for the navigation links */ +} + +/* Margin for font-awesome icons in navigation links */ +.navbar-nav .nav-link .fa { + margin-right: 5px; + /* Margin for font-awesome icons in navigation links */ +} + +/* Dropdown menu item hover */ +.navbar-dark .navbar-nav .dropdown-menu a.dropdown-item:hover { + background-color: var(--primary-color); + /* Set hover background color */ + color: black; + /* Set hover text color */ +} + +/* General section styling */ +.section { + padding: 45px; + /* Padding for sections */ +} + +/* Body styling */ +body { + font-family: Arial, sans-serif; + /* Font family for the body */ + color: #333; + /* Text color */ + text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); + /* Text shadow effect */ + background-color: #FFFFF0; + /* Background color */ +} + +/* Heading styling */ +h1, +h2 { + text-align: center; + /* Center align headings */ + color: var(--primary-color); + /* Heading text color */ +} + +/* Styling for command boxes */ +.command-box { + border: 2px solid var(--primary-color); + /* Border color and width */ + border-radius: 10px; + /* Rounded corners */ + padding: 20px; + /* Padding inside the box */ + margin: 20px 0; + /* Margin outside the box */ + background-color: #fff; + /* Background color */ + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + /* Box shadow for 3D effect */ + transition: transform 0.2s, box-shadow 0.2s; + /* Transition effects */ + position: relative; + /* Ensure position context for absolute button */ +} + +/* Hover effect for command boxes */ +.command-box:hover { + transform: translateY(-5px); + /* Slight lift on hover */ + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); + /* Deeper shadow on hover */ +} + +/* Command box title styling */ +.command-title, +.command-title-1, +.command-title-2 { + font-weight: bold; + /* Bold text */ + color: var(--primary-color); + /* Text color */ + font-size: 1.2em; + /* Font size */ + text-align: center; + /* Center align text */ +} + +/* Command box description styling */ +.command-desc { + margin-top: 10px; + /* Margin at the top */ + color: #666; + /* Text color */ +} + +/* Command text styling */ +.command { + font-family: monospace; + /* Monospaced font */ + background-color: #eee; + /* Background color */ + padding: 10px; + /* Padding */ + display: block; + /* Block display */ + margin-top: 10px; + /* Margin at the top */ + border-radius: 5px; + /* Rounded corners */ + white-space: pre-wrap; + /* Preserve white space and line breaks */ + text-align: center; + /* Center align text */ +} + +/* Copy button styling */ +.copy-button { + position: absolute; + /* Absolute positioning */ + top: 18px; + /* Position from the top */ + right: 20px; + /* Position from the right */ + background-color: var(--button-color); + /* Background color */ + color: #fff; + /* Text color */ + border: none; + /* No border */ + padding: 5px 10px; + /* Padding */ + border-radius: 5px; + /* Rounded corners */ + cursor: pointer; + /* Pointer cursor on hover */ + font-size: 0.8em; + /* Font size */ + transition: background-color 0.3s ease; + /* Transition effect */ +} + +/* Hover effect for copy button */ +.copy-button:hover { + background-color: var(--button-color); + /* Background color on hover */ + color: black; +} + +/* Intro box styling */ +.intro-box { + border: 2px solid var(--primary-color); + /* Border color and width */ + border-radius: 10px; + /* Rounded corners */ + padding: 20px; + /* Padding inside the box */ + margin: 20px 0; + /* Margin outside the box */ + background-color: #fff; + /* Background color */ + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + /* Box shadow for 3D effect */ + transition: transform 0.2s, box-shadow 0.2s; + /* Transition effects */ + text-align: center; + /* Center align text */ +} + +/* Hover effect for intro box */ +.intro-box:hover { + transform: translateY(-5px); + /* Slight lift on hover */ + box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); + /* Deeper shadow on hover */ +} + +/* Note styling */ +.note { + font-size: 0.9em; + /* Font size */ + color: #555; + /* Text color */ + margin-top: 10px; + /* Margin at the top */ +} + +/* Header container styling */ +.header-container { + display: flex; + /* Flex display */ + justify-content: center; + /* Center align horizontally */ + align-items: center; + /* Center align vertically */ + text-align: center; + /* Center align text */ +} + +/* Styling for the second type of tool button */ +.tool-button-2 { + display: inline-block; + /* Inline-block display */ + background-color: bisque; + /* Background color */ + color: black; + /* Text color */ + text-align: center; + /* Center align text */ + padding: 4px 10px; + /* Reduced padding */ + margin: 2px 4px; + /* Slightly reduced margin */ + border-radius: 4px; + /* Increased border radius for a smoother look */ + text-decoration: none; + /* No text decoration */ + font-size: 0.875rem; + /* Slightly smaller font size */ + font-weight: 500; + /* Added font weight for a bolder look */ + transition: background-color 0.3s, transform 0.3s; + /* Added transform transition for better effect */ +} + +/* Hover effect for the second type of tool button */ +.tool-button-2:hover { + background-color: bisque; + /* Slightly darker background on hover */ + transform: scale(1.05); + /* Slight scale up effect on hover */ +} + +/* Footer section styling */ +.footer-section { + text-align: center; + /* Center align text */ + padding: 10px; + /* Padding inside the footer */ + color: white; + /* Text color */ + background-color: var(--primary-color); + /* Background color */ + width: 100%; + /* Full width */ + box-sizing: border-box; + /* Include padding and border in the element's total width and height */ + margin: 0; + /* Remove margin */ +} + +.hadoop-list { + text-align: left; +} + +.description { + margin-top: 15px; +} + +/* Media query for mobile devices */ +@media (max-width: 600px) { + .copy-button { + position: absolute; + /* Absolute positioning */ + top: 24px; + /* Position from the top */ + right: 20px; + /* Position from the right */ + background-color: var(--primary-color); + /* Background color */ + color: #fff; + /* Text color */ + border: none; + /* No border */ + padding: 5px 10px; + /* Padding */ + border-radius: 5px; + /* Rounded corners */ + cursor: pointer; + /* Pointer cursor on hover */ + font-size: 0.5em; + /* Reduced font size */ + transition: background-color 0.3s ease; + /* Transition effect */ + } + + .command-title { + margin-right: 45px; + } + + .command-title-1 { + margin-right: 75px; + } + + .command-title-2 { + margin-right: 85px; + } +} \ No newline at end of file diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/js/commands.js b/7 SEMESTER/Data Wrangling/Notes/Unit 5/js/commands.js new file mode 100644 index 0000000..2c0b032 --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/js/commands.js @@ -0,0 +1,108 @@ +/* +********************************************************************************************* +* File: commands.js +* Author: Madhurima Rawat +* Date: July 18, 2024 +* Description: JavaScript file for study materials website commands section, providing +* functionality to dynamically change color schemes based on user-selected seasons. +* This also contains the code which allows to copy commands from website. +* Version: 1.0 +* GitHub Repository: https://github.com/madhurimarawat/Semester-Notes +* Issues/Bugs: For any issues or bugs, please visit the GitHub repository issues section. +* Comments: This JS file defines functions to update the primary color variable of the root +* element based on the provided season. It enhances user experience by allowing +* dynamic customization of the color scheme. +* Dependencies: None +********************************************************************************************* +*/ + +/** + * The script waits for the DOM to load, enables copying text to clipboard on button click, and changes + * color variables based on a parameter. + * @param Color - The `Color` parameter in the `changeColor` function is a string that represents a + * specific color theme. The function then determines the corresponding color values for the primary + * color and button color based on the provided `Color` parameter. The function sets CSS variables + * `--primary-color` and `--button + */ + +// Wait for the DOM content to be fully loaded before executing the script +document.addEventListener('DOMContentLoaded', function () { + // Select all elements with class 'copy-button' + const copyButtons = document.querySelectorAll('.copy-button'); + + // Iterate over each 'copy-button' element + copyButtons.forEach(button => { + // Add a click event listener to each button + button.addEventListener('click', function () { + // Find the closest ancestor element with class 'command-box' + const commandBox = this.closest('.command-box'); + + // Find the text content of the element with class 'command' inside 'command-box' + const commandText = commandBox.querySelector('.command').textContent.trim(); + + // Create a temporary textarea element to copy text to clipboard + const textarea = document.createElement('textarea'); + textarea.value = commandText; // Set textarea value to command text + textarea.setAttribute('readonly', ''); // Make textarea readonly + textarea.style.position = 'absolute'; + textarea.style.left = '-9999px'; // Move outside the screen to make it invisible + + // Append textarea to the body + document.body.appendChild(textarea); + + // Select the content of the textarea + textarea.select(); + + // Execute copy command to copy selected text to clipboard + document.execCommand('copy'); + + // Remove the temporary textarea from the DOM + document.body.removeChild(textarea); + + // Change button text temporarily to indicate successful copy + const initialText = this.textContent; // Store the initial button text + this.textContent = 'Copied!'; // Change button text to 'Copied!' + + // Restore original button text after 1.5 seconds + setTimeout(() => { + this.textContent = initialText; + }, 1500); + }); + }); +}); + +// This function takes the color from the index page and then returns the variable value according to that +function changeColor(Color) { + let color; + let button; + + // Determine the color based on the provided Color parameter + switch (Color) { + case 'autumn': + color = 'coral'; // Autumn: Coral + button = '#BA68C8'; // Button color: Purple + break; + case 'summer': + color = '#ffc107'; // Summer: Gold + button = '#4D94FF'; // Button color: Blue + break; + case 'rainy': + color = '#00CED1'; // Rainy: Dark Turquoise + button = '#c65b5b'; // Button color: Red + break; + case 'winter': + color = 'rgb(242, 82, 175)'; // Winter: Deep Pink + button = '#4CAF50'; // Button color: Dark Green + break; + default: + color = '#28a745'; // Default color (Green) + button = '#ffc107'; // Default button color: Gold + } + + // Set the '--primary-color' CSS variable of the root element to the determined color + document.documentElement.style.setProperty('--primary-color', color); + + // Set the '--primary-color' CSS variable of the root element to the determined color + document.documentElement.style.setProperty('--button-color', button); +} + diff --git a/7 SEMESTER/Data Wrangling/Notes/Unit 5/js/desktop.ini b/7 SEMESTER/Data Wrangling/Notes/Unit 5/js/desktop.ini new file mode 100644 index 0000000..6cf1551 --- /dev/null +++ b/7 SEMESTER/Data Wrangling/Notes/Unit 5/js/desktop.ini @@ -0,0 +1,4 @@ +[ViewState] +Mode= +Vid= +FolderType=Documents