<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shrey Modi on Medium]]></title>
        <description><![CDATA[Stories by Shrey Modi on Medium]]></description>
        <link>https://medium.com/@shrey007?source=rss-59755b31e2a9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rvrktK38pM0q2x17NWDsxg.jpeg</url>
            <title>Stories by Shrey Modi on Medium</title>
            <link>https://medium.com/@shrey007?source=rss-59755b31e2a9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 08:28:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shrey007/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Machine Learning in Mental Health Space]]></title>
            <link>https://shrey007.medium.com/machine-learning-in-mental-health-space-3b9838acab6b?source=rss-59755b31e2a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b9838acab6b</guid>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Shrey Modi]]></dc:creator>
            <pubDate>Sat, 02 Mar 2024 20:43:51 GMT</pubDate>
            <atom:updated>2024-03-02T21:01:07.152Z</atom:updated>
            <content:encoded><![CDATA[<p>Machine Learning in Mental Health Space</p><p>Machine learning, a subset of artificial intelligence, is making significant strides in transforming the mental health space. This technology offers groundbreaking tools for diagnosis, treatment, and ongoing patient monitoring, heralding a new era in mental health care.</p><p>In the realm of diagnosis, machine learning algorithms are capable of analyzing vast datasets, uncovering intricate patterns that might elude human clinicians. This capacity for deep data analysis facilitates the early detection of mental health issues, which is critical for effective intervention. Early diagnosis can significantly alter the course of a condition, offering patients a better prognosis and more effective treatment options.</p><p>Moreover, machine learning is instrumental in customizing treatment plans for individuals. By leveraging data on a patient’s history, responses to previous treatments, and unique health profile, AI can tailor treatment strategies that are far more personalized than traditional one-size-fits-all approaches. This personalization not only enhances the effectiveness of treatments but also boosts patient engagement and adherence to prescribed regimens.</p><p>Patient monitoring is another area where machine learning shines. AI-driven tools can continuously analyze data from various sources, such as wearable devices, mobile apps, and electronic health records, providing real-time insights into a patient’s condition. This constant monitoring can alert healthcare providers to potential issues before they escalate, enabling timely intervention and preventing deterioration in the patient’s mental health.</p><p>While the benefits are substantial, the integration of machine learning into mental health care also raises important ethical considerations. The use of AI must be governed by stringent guidelines to protect patient privacy and ensure data security. The potential for misuse of sensitive health data is a concern that must be addressed through robust regulatory frameworks and ethical standards.</p><p>Despite these challenges, the promise of machine learning in mental health is undeniable. By offering more accurate diagnoses, personalized treatment plans, and enhanced monitoring, AI has the potential to significantly improve the quality and accessibility of mental health care. It can reduce the burden on healthcare providers, make services more cost-effective, and most importantly, improve outcomes for patients.</p><p>As we look to the future, it’s clear that machine learning will play an increasingly vital role in mental health care. Its ability to process and analyze vast amounts of data can drive innovations that were previously unimaginable. However, it’s crucial that the deployment of these technologies is guided by a commitment to patient welfare, ethical standards, and respect for privacy.</p><p>In conclusion, machine learning represents a beacon of hope in the field of mental health. It offers tools that can transform care delivery, making it more precise, personalized, and proactive. The journey ahead will require careful navigation of the ethical landscape, but the potential rewards for patients and healthcare providers alike are immense. As we harness the power of AI, we move closer to a future where mental health care is more accessible, effective, and responsive to the needs of individuals, promising a brighter outlook for those affected by mental health conditions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b9838acab6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Django Boilerplate!(part 2)]]></title>
            <link>https://shrey007.medium.com/creating-a-django-boilerplate-part-2-6230760e535d?source=rss-59755b31e2a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/6230760e535d</guid>
            <category><![CDATA[django]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Shrey Modi]]></dc:creator>
            <pubDate>Fri, 02 Oct 2020 08:14:57 GMT</pubDate>
            <atom:updated>2020-10-02T08:14:57.852Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wxxKa1jK3UnJolOTNOJOEw.png" /></figure><h3>Part 2(Setting up multiple settings modules)</h3><p>So mainly in this part we will focus on making different settings module like development and production.</p><p>Make a folder named settings and add a file called __init__.py in it.Then move the settings.py in the folder and rename it as base.py.</p><p>Make two new files named development.py and production.py.</p><p>In development file we will include the settings required for the development like the app or function name in INSTALLED_APPS, added functions in MIDDLEWARE , DATABASE and the entire debug toolbar setting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*9rD5UlMs0U0H_w3vstH2_g.png" /></figure><p>while the production file will include AUTH_PASSWORD_VALIDATORS, DATABASES(sqllite or postgres or any other) and the stripe keys if payment is integrated in it. After adding all these just delete the the added items from the main file i.e base.py</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*XiSGmcK2m_4NyrWtMn0Wnw.png" /></figure><p>so now the runserver command would get confuse which setting to take so for that we need to make some change in the manage.py file in the line 8 as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*imFtc6dwInsestYRleJiLA.png" /></figure><p>And also change the BASE_DIR settings as follow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*6poudW7gl_zaZsyTT63tRA.png" /></figure><p>The folder structure will be as following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/172/1*ozAMpFwM-lnEQvi3fXWqFg.png" /><figcaption>folder structure</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6230760e535d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Django Boilerplate!]]></title>
            <link>https://shrey007.medium.com/creating-a-django-boilerplate-eb490450e7b9?source=rss-59755b31e2a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb490450e7b9</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Shrey Modi]]></dc:creator>
            <pubDate>Fri, 02 Oct 2020 08:13:24 GMT</pubDate>
            <atom:updated>2020-10-02T08:13:24.909Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wxxKa1jK3UnJolOTNOJOEw.png" /></figure><p>In Information Technology, a boilerplate is a unit of writing that can be reused over and over without change. By extension, the idea is sometimes applied to reusable programming, as in “boilerplate code.”</p><p>So we are going to create a boilerplate code for Django which consists of 3 parts:</p><p><strong>1.Setting up the Debug Toolbar</strong></p><p><strong>2. Setting up multiple settings modules</strong></p><p><strong>3. How to use python decouple</strong></p><p><strong>4. How to create custom Django commands</strong></p><h3><strong>Part 1(Setting up the Debug Toolbar)</strong></h3><p>So starting with Django debug toolbar , The <strong>Django</strong> Debug <strong>Toolbar</strong> is a configurable set of panels that display various debug information about the current request/response and when clicked, display more details about the panel’s content.</p><p>The basics steps are to install Django and python ‘s latest versions. You can see that in my <a href="https://medium.com/@shrey007/making-a-professional-portfolio-in-django-b6a98071c1c5">last story (https://medium.com/@shrey007/making-a-professional-portfolio-in-django-b6a98071c1c5</a>)</p><p>Here we will name our project as demo. then we will head to the django debug toolbar’s documentation (<a href="https://django-debug-toolbar.readthedocs.io/en/latest/index.html">https://django-debug-toolbar.readthedocs.io/en/latest/index.html</a>) and start the installation process. So firstly</p><pre>pip install django-debug-toolbar</pre><p>Then we will add &#39;django.contrib.staticfiles&#39; and &#39;debug_toolbar&#39; in the settings.py</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*U-2dq9LQsw06xYrXOdVHwA.png" /><figcaption>settings.py</figcaption></figure><p>Then we are going to add the static comands required for the project blow the STATIC_URL .</p><pre><strong>STATICFILES_DIRS</strong> = [os<strong><em>.</em></strong>path<strong><em>.</em></strong>join(<strong>BASE_DIR<em>,</em></strong> &#39;static_files&#39;)]<br><strong>STATIC_ROOT</strong> = os<strong><em>.</em></strong>path<strong><em>.</em></strong>join(<strong>BASE_DIR<em>,</em></strong> &#39;static&#39;)<br><strong>MEDIA_URL</strong> = &#39;/media/&#39;<br><strong>MEDIA_ROOT</strong> = os<strong><em>.</em></strong>path<strong><em>.</em></strong>join(<strong>BASE_DIR<em>,</em></strong> &#39;media&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*d2Duy-Rxqz15NTUpoH7r3Q.png" /><figcaption>static commands in settings.py</figcaption></figure><p>Now adding the MIDDLEWARE which is required for the toolbar .The order of MIDDLEWARE is important. You should include the Debug Toolbar middleware as early as possible in the list. However, it must come after any other middleware that encodes the response’s content, such as <a href="https://docs.djangoproject.com/en/dev/ref/middleware/#django.middleware.gzip.GZipMiddleware">GZipMiddleware</a>. So we will add it at the top.</p><pre>&#39;debug_toolbar.middleware.DebugToolbarMiddleware&#39;,</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*OxpnMNCNsRSPFdD6wlRlWA.png" /><figcaption>MIDDLEWARE in settings.py</figcaption></figure><p>Now open the urls.py folder and Add the Debug Toolbar’s URLs to your project’s URLconf as follows:</p><pre>from django.conf import settings<br>from django.conf.urls import include, url  <br>from django.urls import include, path  <br><br>if settings.DEBUG:<br>    import debug_toolbar<br>    urlpatterns = [<br>        path(&#39;__debug__/&#39;, include(debug_toolbar.urls)),<br><br><br>    ] + urlpatterns</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*J3MLNNRFY0Xs3yoU0tkADg.png" /><figcaption>demo/urls.py</figcaption></figure><p>And then add some basic code to the views.py to just render the html page as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*4PhWq3rzpw-3x4Rg5Mwcbg.png" /><figcaption>demo/views.py</figcaption></figure><p>Then add your local host ip to the ALLOWED_HOSTS generally it is ‘127.0.0.1’</p><pre>ALLOWED_HOSTS=[&#39;127.0.0.1&#39;]</pre><p>Now moving towards the debug Toolbar settings.You can find the above process in the documentation under the installation section.Now go to the panels section from the left panel. It displays all the panel functions which can be added in it , we will be taking the default panel from the configuration section. we would be adding like show_toolbar which allows us to hide the toolbar and the intercept redirect.</p><pre>DEBUG_TOOLBAR_PANELS = [<br>    &#39;debug_toolbar.panels.versions.VersionsPanel&#39;,<br>    &#39;debug_toolbar.panels.timer.TimerPanel&#39;,<br>    &#39;debug_toolbar.panels.settings.SettingsPanel&#39;,<br>    &#39;debug_toolbar.panels.headers.HeadersPanel&#39;,<br>    &#39;debug_toolbar.panels.request.RequestPanel&#39;,<br>    &#39;debug_toolbar.panels.sql.SQLPanel&#39;,<br>    &#39;debug_toolbar.panels.staticfiles.StaticFilesPanel&#39;,<br>    &#39;debug_toolbar.panels.templates.TemplatesPanel&#39;,<br>    &#39;debug_toolbar.panels.cache.CachePanel&#39;,<br>    &#39;debug_toolbar.panels.signals.SignalsPanel&#39;,<br>    &#39;debug_toolbar.panels.logging.LoggingPanel&#39;,<br>    &#39;debug_toolbar.panels.redirects.RedirectsPanel&#39;,<br>    &#39;debug_toolbar.panels.profiling.ProfilingPanel&#39;,<br>]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*I3GRLnfvsOHVSbYCoo545g.png" /><figcaption>debug settings</figcaption></figure><p>Now make a template folder and add the base.html and index.html which contains some basic code to display something on the website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*hNyCI2-2XnxSUp9lcC50wQ.png" /><figcaption>base.html</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*3-4Zn_OTNARQAeq6z4rPDg.png" /><figcaption>index.html</figcaption></figure><p>change the template settings in the settings.py as follow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*T2bpaNT2Ugqj9skV682oag.png" /><figcaption>template settings</figcaption></figure><p>Ugh! finally now some basic commands for the display in the content and see the toolbar. and just make a static_files folder and leave it empty for now.</p><pre>#For migrating<br>python manage.py migrate</pre><pre>#For collecting static files<br>python manage.py collectstatic</pre><pre>#For running the server<br>python manage.py runserver</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yaAGELnq1Jc-XLyYuyZjzA.png" /><figcaption>We get the Debug Toolbar</figcaption></figure><p>Here is the folder structure for part 1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/207/1*Ot8JrofYlEqHAmn-Qb3-kQ.png" /><figcaption>folder structure</figcaption></figure><p>Hope you like this</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb490450e7b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitHub commands]]></title>
            <link>https://shrey007.medium.com/github-commands-e42f29fa2d03?source=rss-59755b31e2a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/e42f29fa2d03</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[github-pages]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Shrey Modi]]></dc:creator>
            <pubDate>Thu, 14 May 2020 12:32:51 GMT</pubDate>
            <atom:updated>2020-10-23T03:40:56.278Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CfXGrg1zh3xPwllRcHNf-Q.png" /></figure><p><strong>GitHub</strong> is a Git repository hosting service, but it adds many of its own features. While Git is a command line tool, <strong>GitHub</strong> provides a Web-based graphical interface. It also provides access control and several collaboration features, such as a wikis and basic task management tools for every project</p><p>So Here are some commands and why are they used:</p><ol><li>Initialise the local directory as Git repository.</li></ol><pre>git init</pre><p>2. Add all the files in the local directory to staging using the command below.</p><pre>git add .</pre><p>3. You can now commit the staged files using the command below.</p><pre>git commit -m &quot;First commit Message&quot;</pre><p>4 .Now we will add the copied URL for your GitHub repository as remote repository using the code below.</p><pre>git remote add origin https://github.com/yourusername/your-repo-name.git</pre><p>5. use the below command line in your terminal to push the local repository to GitHub. It will upload the file or project on github.</p><pre>git push origin master</pre><p>6. To reinitialize a repo locally</p><pre>rm -rf .git</pre><p>7. To know the branches in a repository locally</p><pre>git branch</pre><p>8.To switch between the branches locally</p><pre>git checkout branch_name</pre><p>9. to create a new branch locally</p><pre>git checkout -b branch_name</pre><p>10. To remove a folder locally</p><pre>git rm -r folder-name</pre><p>11 . For pushing a branch to remote git</p><pre>git push origin branch_name</pre><p>12 . For deleting a branch locally</p><pre>git branch -d branch_name</pre><p>13. Deleting a branch remotely</p><pre>git push origin :branch_name</pre><p>14. Cloning the github branch</p><pre>git clone -b &lt;branch&gt; &lt;remote_repo&gt;<br>eg: git clone -b dev <a href="https://github.com/username/project.git">https://github.com/username/project.gi</a></pre><p>15. If you have forked a repo and made a PR once and it is accepted and want to make another one you will need to update the code in your local with the remote one so for that follow these steps</p><pre>git remote add upstream https://github.com/whoever/whatever.git</pre><pre>git fetch upstream</pre><pre>git checkout master</pre><pre>git rebase upstream/master</pre><p>For creating a new repository follow</p><p>STEPS- 1 -&gt; 2 -&gt; 3 -&gt; 4 -&gt; 5</p><p>For deleting a folder in remote git</p><p>STEPS- 8 -&gt; 10 -&gt; 3 -&gt; 5</p><p>For deleting a branch</p><p>STEPS- SWITCH TO MASTER BRANCH-&gt; 12 -&gt; 13</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*ZmQMCV1T1oo11s5ghtXQUQ.jpeg" /><figcaption>CheatSheet</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e42f29fa2d03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making a Professional Portfolio In Django]]></title>
            <link>https://shrey007.medium.com/making-a-professional-portfolio-in-django-b6a98071c1c5?source=rss-59755b31e2a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6a98071c1c5</guid>
            <category><![CDATA[django]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Shrey Modi]]></dc:creator>
            <pubDate>Thu, 07 May 2020 17:00:26 GMT</pubDate>
            <atom:updated>2020-05-07T17:00:26.054Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*00CzH_tUk0u3qm5KGZsyiw.png" /></figure><p>A portfolio is a compilation of work samples and professional documentation that provides proof of your accomplishments or samples of your work. It can be a physical book or binder that organizes samples of your work, or an online portfolio with electronic files.Portfolios are a great way to demonstrate the competencies you would list on a resume or talk about in an interview — they allow you to <em>show</em> and not just <em>tell</em>. During a job search, the portfolio showcases your work to potential employers. It presents evidence of your relevant skills and abilities. Portfolios are also helpful for independent contractors, consultants, or business owners who need to provide work samples to potential clients.</p><p>So starting with it lets first install python from the its website <a href="https://www.python.org/downloads/windows/">https://www.python.org/downloads/windows/</a>. If already installed proceed to install Django</p><pre>python -m pip install Django</pre><p>Next step is to create a project in Django</p><pre>django-admin startproject portfolio</pre><p>Next is to create app in it.Change the directory to portfolio and write the command</p><pre>django-admin startapp base</pre><p>Bingo! portfolio folder is created now go to the settings.py in the folder and add the app name in the installed apps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*ysdQ-AL6MELJw-2K_13mgQ.png" /><figcaption>settings.py</figcaption></figure><p>Next go to the urls.py in the portfolio folder and add include in django<strong><em>.</em></strong>urls import path and add the path which takes the info from the views.py file in the base folder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*HrnaRY4Cl2CilrtU4gVpVQ.png" /><figcaption>portfolio/urls.py</figcaption></figure><p>Now go to the base folder and go to views.py. Now we will be writing the views which are used to do things like fetch objects from the database, modify those objects if needed, render forms, return HTML, and much more.So here we will be rendering and returning the HTML file.</p><p>Now lets look at the code below and understand it, from django.shortcuts import render is used to render the html template present in the folder so it could be seen on the page. we are making a function called home and returning the html file to get rendered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*d7mVvbiTfQ6uJEfEP5bc2Q.png" /></figure><p>Next step is to create a template folder inside the base folder and add base folder inside it and add html file called home.html . ughhh! its confusing right ? Look at the file structure below and understand from it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/214/1*EXiIWIzwIlWqnc3HHraMow.png" /><figcaption>template folder structure</figcaption></figure><p>So now we need to check if the server is running or not so for that first migrate what we have done</p><pre>python manage.py migrate</pre><p>After migrating run your server. And we should get the following below image</p><pre>python manage.py runserver</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j0WnhBSPc3NFku4-XbTM4A.png" /></figure><p>Now the main part comes designing the portfolio, I am not that good at designing so if you have that skills just brush it up and make an outstanding portfolio.You wont be able to see the code so just get your cursor on the bold text and click on the link which pops below it to get the code</p><p><a href="https://gist.github.com/shrey1608/6673cfa853b3e5708b81f70e021698aa"><strong>gist:6673cfa853b3e5708b81f70e021698aa</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NsJ6FFV_0ppjt6elVbi9Hg.png" /></figure><p>Now everything is set but we are not able to get to the site on the web so for that we need to set the url in urls.py of the base folder.so create a new file in base folder as urls.py and write the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*MQkIUC9aMTahTYUMV_vdtQ.png" /><figcaption>base/urls.py</figcaption></figure><p>Now we need to insert the css styling and the images so for that create a folder named staticfiles in the main portfolio folder (If you get confused where to create just scroll below i have kept the folder structure screenshot) and in that create 2 folders css and images add your Display image in the image folder and change the name in the home.html page on line 17 and also add the linkedin ,github and medium icon images from my github repo and change the link to your account on line 33,34,35 respectively.</p><p>Now in Css folder add the styling needed for the page.so make a file named main.css and add the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*fzyutoARSHWnc4rRqHpQdg.png" /><figcaption>main.css</figcaption></figure><p>Now we have created everything but we would not be able to see our pic on the site because we have not told that where django needs to get our images like from which folder. So for that head to settings.py and change and add the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*mYy7AfnZpDADlChZbOx9xg.png" /><figcaption>portfolio/settings.py</figcaption></figure><p>Tadaaa! We have made our portfolio . Cheers to one more project. now just see the folder structure if anyone didnt get where to add what.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/204/1*l9IlPKMLL_TLaTCT7QHK5g.png" /><figcaption>Folder structure</figcaption></figure><p>Github repo For the Portfolio <a href="https://github.com/shrey1608/Portfolio">https://github.com/shrey1608/Portfolio</a></p><p>Overall, I hope this article has helped you make your portfolio. If you’d like to share your own portfolio, feel free to post it in the comments and do tell what you want me to make next !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6a98071c1c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to make VS Code Beautiful?]]></title>
            <link>https://shrey007.medium.com/how-to-make-vs-code-beautiful-aad0b4c08689?source=rss-59755b31e2a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/aad0b4c08689</guid>
            <category><![CDATA[html]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Shrey Modi]]></dc:creator>
            <pubDate>Wed, 06 May 2020 18:53:06 GMT</pubDate>
            <atom:updated>2020-05-06T18:53:06.456Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*ucWrO2tK8poWvcwoj3woug.jpeg" /></figure><p>Think of all the beauty still around you and be happy.<br>So as we need beauty everywhere why to compromise it in Things we use in our daily life. So here is an article for making Vs code beautiful. For Starters Vs code stands for <strong>Virtual Studio code</strong> , it is a source-code editor developed by Microsoft for Windows, Linux and macOS. It includes support for debugging, embedded Git control and GitHub, syntax highlighting, intelligent code completion, snippets, and code refactoring.</p><h3><strong>Color Theme</strong></h3><p>Starting with the <strong>Color Theme : </strong>So Vs code has inbuilt some of the colorthemes like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*ag0ZEvMBzpQWTm9uF-datQ.gif" /><figcaption>Default Color Themes</figcaption></figure><p>So to add Theme which you like just go to <a href="https://vscodethemes.com/">https://vscodethemes.com/</a> and select the theme you like . I personally use “Just Black”. For adding it just select open extension and then click on open in vs code, it will redirect you to vs code and there just click install and just use it.</p><h3><strong>File</strong> <strong>Icon-Theme</strong></h3><p>Second Feature is <strong>File</strong> <strong>Icon-Theme:</strong> The icon theme feature changes the icons of the files and folders . The inbuilt Icon themes are</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*eICstxJpFnFlrQ0o1vfGkQ.png" /><figcaption>Default Icon Themes</figcaption></figure><p>Adding more beautiful icon themes is very simple just do ctrl+shift+p and search for file icon theme and click on Install additional file icon themes and Extensions view pops up with tag:icon-theme written in search just add vscode icons to it and download that file icon thats it we are done.</p><h3><strong>Font</strong></h3><p>Third is the <strong>Font :</strong> Their are millions of free as well as free fonts available but the top 10 fonts for programming are <a href="https://developer-tech.com/news/2018/may/16/10-best-fonts-programming/">https://developer-tech.com/news/2018/may/16/10-best-fonts-programming/</a> . So you can select one from it and just change it in the open settings UI or json.</p><h3><strong>MiniMap</strong></h3><p>Fourth is the <strong>MiniMap:</strong> The minimap is the slide down toggling which helps to move up and down in the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*F3JqJN52mU-PrptjznS7vA.png" /><figcaption>Minimap on the right side</figcaption></figure><p>So if you dont like it or you want a clean code just go to settings and search minimap and change True to False or disable it and you are good to go!</p><h3>Ligatures</h3><p>If you want === to look more like ≡, &gt;= to look more like ⩾, or !== to look more like ≠, then there’s a font for you.</p><p>It’s called FiraCode, and to enable it you need to:</p><ul><li>Install the FiraCode Font locally on your computer. (<a href="https://github.com/tonsky/FiraCode">Click here</a>, then scroll down in README.MD and click ‘Download’. If in doubt about what font type to install, I’d recommend the TTF versions).</li><li>Add the following code to settings.json :</li></ul><pre>{<br>    &quot;editor.fontFamily&quot;: &quot;Fira Code&quot;,<br>    &quot;editor.fontLigatures&quot;: true<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eHsjPCsyo6i3f3yF4Q57yg.png" /></figure><h3>Prettier</h3><p>You don’t need to use any fancy terminal commands to install Prettier. Instead, you can grab it straight from the extension marketplace.</p><p>I like the following settings. The first one makes sure Prettier works smoothly with ESLint; the second means Prettier will automatically format code every time you save.</p><pre>{ <br>  &quot;prettier.eslintIntegration&quot;: true,<br>  &quot;editor.formatOnSave&quot;: true<br>}</pre><h3>Matching Bracket Colours</h3><p>When you have a lot of parentheses, square brackets and braces, it can be difficult to see where each block of code opens and closes.</p><p>The Bracket Pair Colorizer by Coenraads solves this problem. The author has recently released a second version of the extension called Bracket Pair Colorizer 2, which is supposed to bring improvements in speed and accuracy. It’s currently in beta mode, but so far it’s worked well for me.</p><p>To get started, install the extension by clicking <a href="https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2">here for version 2 (in beta)</a>, or <a href="https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer">here for version 1</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UNZDHdZ6Iu6mbbhfSL-xBg.png" /></figure><p>All These features make Vs Code Beautiful to code and increase the Efficiency of doing the work.</p><p>Overall, I hope this article has helped you customise your version of Visual Studio Code. If you’d like to share your own VS Code setup, feel free to post it in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aad0b4c08689" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>