├── Assignment.md ├── Markdown.md ├── _config.yml ├── extras ├── Git.png ├── a.md ├── gitcom.png └── gitwork.png ├── git.md └── index.md /Assignment.md: -------------------------------------------------------------------------------- 1 | # Assignment - Github Profile 2 | 3 | Now that you have understanding of Git and Markdown, it's time for your profile building using these two. 4 | 5 | Github has introduced a ✨special ✨ repository that you can use to add a README.md to your GitHub profile. It is like a small portfolio to present yourself on your github profile. So you will try to build your Github profile more Awesome. 6 | 7 | Steps for the same: 8 | 9 | 1. Go to your Github profile and create a repository. 10 | 2. Name of the repository should be your username, as you will type your username, you'll get an instant message: 11 | 12 | ```You found a secret! {username}/{username} is a ✨special ✨ repository that you can use to add a README.md to your GitHub profile. Make sure it’s public and initialize it with a README to get started.``` 13 | 3. So as said initialize the repository with a Readme and make it public. 14 | 15 | 4. Now you will see, Github has already gave a template for this readme.md in repository, and you can try to edit it, and try to add more features to it like providing links of your social media accounts. 16 | 17 | 5. After editing save it, and go to your main profile, you will see that readme with your profile like this one [here.](https://github.com/arpit-dwivedi) 18 | 19 | 6. After completing, fill the Quiz form shared on Slack workspace. 20 | 21 |   22 | 23 | ### Click here to see video implementation of this assignment 24 | 25 | Thanks for Reading!!! 26 | 27 | Go back to [Prerequisite-Python](https://devincept.tech/Prerequisite-Module/) 28 | -------------------------------------------------------------------------------- /Markdown.md: -------------------------------------------------------------------------------- 1 | # Introduction to Markdown 2 | 3 | Markdown is a lightweight markup language with plain text formatting syntax. What this means to you is that by using just a few extra symbols in your text, Markdown helps you create a document with an explicit structure. 4 | 5 | ## Why Markdown 6 | 7 | * **Easy:** The syntax is very simple. 8 | 9 | * **Fast:** It speeds up the workflows. 10 | 11 | * **Clean:** No missing closing tags, no improperly nested tags, no blocks left without containers. 12 | 13 | * **Portable:** Cross-platform by nature. 14 | 15 | * **Flexible:** Output documents to a wide array of formats like, convert to HTML , rich text for sending emails or any number of other proprietary formats. 16 | 17 | 18 | > We will be using markdown in almost every module's assignment, so it is an important thing to learn here if you don't know already. 19 | 20 | ## Basic working in Markdown 21 | 22 | ### 1. Heading 23 | 24 | Use # for headings. You can use this like in HTML for H1, H2 etc. 25 | 26 | 27 | 28 | **Input:** 29 | 30 | 31 | 32 | ```md 33 | 34 | # H1 35 | ## H2 36 | ### H3 37 | . 38 | . 39 | ###### H6 40 | ``` 41 | 42 | **Output:** 43 | 44 | # H1 45 | ## H2 46 | ### H3 47 | . 48 | 49 | . 50 | ###### H6 51 | 52 |
53 | 54 | ### 2. Bold and Italics 55 | 56 | Use `**` for making text bold and `*` for italics. 57 | 58 | > You are required to close the tag here. 59 | 60 | **Input:** 61 | 62 | ```md 63 | 64 | **Bold** 65 | *Italics* 66 | ***Bold and Italics Both*** 67 | 68 | ``` 69 | 70 | **Output:** 71 | 72 | **Bold** 73 | 74 | *Italics* 75 | 76 | ***Bold and Italics Both*** 77 | 78 | 79 |
80 | 81 | ### 3. Lists 82 | 83 | Use `*` from new line for unordered list, `1.` for order. 84 | 85 | > You can also use these with proper indentation. 86 | 87 | **Input:** 88 | 89 | ```md 90 | 91 | * Unordered 92 | 93 | 1. Ordered 94 | 95 | * Nested 96 | 1. ordered inside. 97 | * Unordered inside 98 | 99 | ``` 100 | 101 | **Output:** 102 | 103 | 104 | * Unordered 105 | 106 | 1. Ordered 107 | 108 | * Nested 109 | 1. ordered inside. 110 | * Unordered inside 111 | 112 | 113 | 114 |
115 | 116 | ### 4. Hyperlinks and images 117 | 118 | Use `[text](url)` for hyperlinks and, `![text](path/url)` for image. 119 | 120 | > You can also use image links by nesting these both. 121 | 122 | **Input:** 123 | 124 | ```md 125 | 126 | [Devincept Website](https://devincept.tech/) 127 | 128 | ![DevIncept logo image](extras/logo.gif) 129 | 130 | [![DevIncept logo image link](extras/logo.gif)](https://devincept.tech/) 131 | 132 | ``` 133 | 134 | **Output:** 135 | 136 | [Devincept Website](https://devincept.tech/) 137 | 138 | ![DevIncept logo image](extras/logo.gif) 139 | 140 | [![DevIncept logo image link](extras/logo.gif)](https://devincept.tech/) 141 | 142 | 143 | 144 |
145 | 146 | ### 5. Coding and notes 147 | 148 | * Use ` for liner codes or highlight. 149 | * Use ``` for multiline code. 150 | * Use > to give a note. 151 | 152 | > You can also use language of code to make the multiline code more realistic, exp: ```python 153 | 154 | **Input:** 155 | 156 | ```md 157 | `simple code or highlight` 158 | 159 | > Give a note like this 160 | 161 | ```python 162 | #simple python multiline code 163 | a=input() 164 | c=a 165 | print (c) 166 | ``` 167 | ``` 168 | 169 | 170 | 171 | **Output:** 172 | 173 | `simple code or highlight` 174 | 175 | 176 | > Give a note like this 177 | 178 | 179 | ```python 180 | #simple python multiline code 181 | a=input() 182 | c=a 183 | print (c) 184 | ``` 185 | 186 | 187 |
188 | 189 | ### 6. Table 190 | 191 | Till now we got to know some important 192 | 193 | 194 | **Input:** 195 | 196 | ```md 197 | 198 | |Heading 1|Heading 2| Heading 3| 199 | |---------|---------|----------| 200 | | Data | Data | Data | 201 | | Data | Data | Data | 202 | 203 | ``` 204 | 205 | **Output:** 206 | 207 | |Heading 1|Heading 2| Heading 3| 208 | |---------|---------|----------| 209 | | Data | Data | Data | 210 | | Data | Data | Data | 211 | 212 |
213 | 214 | ### 7. The power of HTML 215 | 216 | We have seen the basic features of markdown till now, but superpower of markdown is, You can directly use HTML in it. 217 | 218 | 219 | > Some times it becomes a little difficult to do some complex things in markdown, so using HTML that time can make it work. 220 | 221 | 222 | **Input:** 223 | 224 | 225 | ```md 226 | Lists or table inside the table can be implemented using HTML 227 | 228 | |Heading 1|Heading 2| Heading 3 | 229 | |---------|---------|----------------------------------------------------------------------------| 230 | | Data | Data | Data | 231 | | Data | Data |
h1h2
d1d2
| 232 | 233 | ``` 234 | 235 | **Output:** 236 | 237 | |Heading 1|Heading 2| Heading 3| 238 | |---------|---------|----------| 239 | | Data | Data | Data | 240 | | Data | Data |
h1h2
d1d2
| 241 | 242 | 243 |
244 | 245 | ### 7. Emojis to make it :heart: 246 | 247 | Use emojis in your repository's Readme to make it Awesome :exclamation::exclamation::exclamation: 248 | 249 | **Input:** 250 | 251 | 252 | ```md 253 | Use anywhere just like 254 | 255 | :bowtie: 256 | 257 | :smile: 258 | 259 | :heart: 260 | 261 | ``` 262 | 263 | **Output:** 264 | 265 | :bowtie: 266 | 267 | :smile: 268 | 269 | :heart: 270 | 271 | > To get the complete list of github markdown emoji markup [click here](https://gist.github.com/rxaviers/7360908) 272 | 273 |
274 | 275 |   276 | 277 | These were the most used Markdown features. These will help you for you assignment in this module as well as in further program, and without markdown your repository on github is just a code-file, start using it now :wink: 278 | 279 |   280 | 281 |   282 | 283 | 284 | Thanks for Reading!!! 285 | 286 | Go back to [Prerequisite-Python](https://github.com/DevIncept/Prerequisite-Python) 287 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-architect -------------------------------------------------------------------------------- /extras/Git.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevIncept/Prerequisite-Module/29f6ecc86254dccf5866466edc042a9fd6b7c4ff/extras/Git.png -------------------------------------------------------------------------------- /extras/a.md: -------------------------------------------------------------------------------- 1 | gfr 2 | -------------------------------------------------------------------------------- /extras/gitcom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevIncept/Prerequisite-Module/29f6ecc86254dccf5866466edc042a9fd6b7c4ff/extras/gitcom.png -------------------------------------------------------------------------------- /extras/gitwork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevIncept/Prerequisite-Module/29f6ecc86254dccf5866466edc042a9fd6b7c4ff/extras/gitwork.png -------------------------------------------------------------------------------- /git.md: -------------------------------------------------------------------------------- 1 | # Introduction to Git 2 | 3 | ## What is Git? 4 | Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear workflows. 5 | ## Important terms 6 | 7 | #### Repository: 8 | 9 | It is the collection of files and folders (code files) that you’re using git to track. 10 | 11 | #### Commit: 12 | 13 | The "commit" command is used to save your changes to the local repository. 14 | 15 | #### Push: 16 | 17 | Pushing is essentially syncing your commits to GitLab. 18 | 19 | #### Branch: 20 | 21 | A branch is like a parallel world where you can create commit without introducing bugs into production code. 22 | 23 | #### Merge: 24 | 25 | Merge integrates two branches. When a branch becomes error free and is ready to become part of main branch, it is merged. 26 | 27 | #### Clone: 28 | 29 | Clone means making an exact copy on local machine. 30 | 31 | #### Fork: 32 | 33 | A fork is a copy of a repository that allows you to freely experiment with changes without affecting the original project. 34 | 35 | 36 | ## Practical work 37 | 38 | ### How to Install Git 39 | 40 | For Linux, open the terminal and type 41 | ``` 42 | sudo apt-get install git 43 | ``` 44 | On Windows, it’s just as simple. You [download the installer](https://git-scm.com/download/win) and run it. 45 | 46 | 47 | ## Git Internals 48 | 49 | 50 | ![Internals](extras/Git.png) 51 | 52 | The picture above shows you the basic commands to move your files into different 53 | trees in your repository. 54 | 55 | ## Git Workflow 56 | This helps to use Git to accomplish work in a consistent and productive manner. Git workflows encourage users to leverage Git effectively and consistently. Git offers a lot of flexibility in how users manage changes. 57 | Below image explains in brief the git workflow. 58 | 59 | ![workflow](extras/gitwork.png) 60 | 61 | ## Git commands 62 | 63 | ![img](extras/gitcom.png) 64 | 65 |
66 | 67 |   68 | 69 |   70 | 71 | 72 | Thanks for Reading!!! 73 | 74 | Go back to [Prerequisite-Python](https://github.com/DevIncept/Prerequisite-Python) 75 | -------------------------------------------------------------------------------- /index.md: -------------------------------------------------------------------------------- 1 | # Course Introduction 2 | 3 | **Topics we will learn:** Markdown, Github, Slack 4 | 5 | 6 | 7 | ## Complete these tasks for prerequisites module: 8 | 9 | 10 | ### 1. Introduction to Git & Markdown 11 | * Introduction to markdown - Video tutorial 12 | * Introduction to markdown - Notes 13 | * Introduction to Github -Video 14 | * Git introduction - Notes 15 | 16 | ### 2. Slack Features 17 | 18 | As all our work and conversation regarding to the program will be done on Slack, Go through these: 19 | 20 | * Introduction to Slack - Video tutorial 21 | * Start Slacking like a pro - Video tutorial 22 | 23 | ### [3. Assignment](Assignment.md) 24 | 25 | ### 4. Quiz 26 | 27 | > Quiz form will be shared on Slack workspace. 28 | 29 | --------------------------------------------------------------------------------