<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Prateek Jain</title>
    <description>The latest articles on DEV Community by Prateek Jain (@prateekj117).</description>
    <link>https://dev.to/prateekj117</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F193117%2Fa1592c37-80d4-4ef9-841c-42fab29c366d.jpeg</url>
      <title>DEV Community: Prateek Jain</title>
      <link>https://dev.to/prateekj117</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prateekj117"/>
    <language>en</language>
    <item>
      <title>Why Most Workshops suck?</title>
      <dc:creator>Prateek Jain</dc:creator>
      <pubDate>Sun, 27 Oct 2019 19:08:10 +0000</pubDate>
      <link>https://dev.to/prateekj117/why-most-workshops-suck-50c6</link>
      <guid>https://dev.to/prateekj117/why-most-workshops-suck-50c6</guid>
      <description>&lt;p&gt;So it's 1:40 at night, and I cannot sleep (as usual). But how about writing about my thoughts this time? Due to some &lt;br&gt;
recent discussions with some people, this is the topic which I had in mind for a few days.&lt;/p&gt;

&lt;p&gt;First I would like to highlight the word &lt;strong&gt;most&lt;/strong&gt; here.&lt;/p&gt;

&lt;p&gt;First, let's go back a year. We all heard the news that a three-month Internship would be compulsory for our batch &lt;br&gt;
in order to complete our B.Tech. program. First thing that popped into my head:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Great !!! Now companies will start selling Trainings in the name of Internship.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And it wasn't much later that I saw all this coming true. Though it was not just the companies, it included some very &lt;br&gt;
prestigious Universities as well. Well, no issue, maybe they will teach the students the right way and do justice to the &lt;br&gt;
large amounts students are paying. &lt;/p&gt;

&lt;h3&gt;
  
  
  Why I think that it won't ever be true:
&lt;/h3&gt;

&lt;p&gt;Leaving the case of Companies/Universities doing this just for money (no solution to that except that the students &lt;br&gt;
should make smart decisions themselves), let me explain why workshops are no good even when the company/university &lt;br&gt;
themselves want good for the students. &lt;/p&gt;

&lt;p&gt;As we know, there is no screening process in such workshops/training. So, a curious student who wants to learn, and a &lt;br&gt;
student with no interest in the topic are both in the same class, being taught from the same teacher. And we all know &lt;br&gt;
that the amount of later type of students is much much more than the former. &lt;/p&gt;

&lt;p&gt;The workshop organizers want you to learn, but they won't ever teach things which more than half the class cannot &lt;br&gt;
understand. They would want to meet the level of everyone present in the class. All they do is give those students the &lt;br&gt;
&lt;em&gt;Hoax of knowledge&lt;/em&gt; (instead of telling them how much more there is to explore in that field)&lt;br&gt;
leading to ignorance, which is enough to stop their learning process. What a waste of time for the student who was actually there to learn. &lt;/p&gt;

&lt;p&gt;All Workshop organizers care about are positive reviews. They want more participation next time. Their goal is to leave &lt;br&gt;
you with you feeling smart. So basically, workshops/training programs quality sucks, almost always.&lt;/p&gt;

&lt;p&gt;Students attending such workshops should also know:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Some skills are too complex for short-term intensive training to be effective.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And coding is definitely one of those skills.&lt;/p&gt;

&lt;p&gt;Workshops are a fad and a waste of time and money.&lt;/p&gt;

&lt;h3&gt;
  
  
  So all workshops/training programs suck?
&lt;/h3&gt;

&lt;p&gt;I think mostly which are paid. Maybe I think so because I have used free resources to learn from the time I started &lt;br&gt;
coding and things are much more clear and innocent when money is not the reason for transfer of knowledge, curiosity is.&lt;/p&gt;

&lt;h3&gt;
  
  
  But where to learn from then?
&lt;/h3&gt;

&lt;p&gt;MOOCs MOOCs MOOCs !!!!!!!!!!&lt;/p&gt;

&lt;p&gt;MOOCs are free, taught by world experts (not kidding). Some of the best teachers in the world are out there, writing &lt;br&gt;
books, blogs, making MOOCs, for you, why would you opt for a training program dude?     &lt;/p&gt;

</description>
      <category>discuss</category>
      <category>tutorial</category>
      <category>techtalks</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Make your own portfolio using Jekyll and Github Developer Pack</title>
      <dc:creator>Prateek Jain</dc:creator>
      <pubDate>Sat, 27 Jul 2019 03:01:39 +0000</pubDate>
      <link>https://dev.to/prateekj117/make-your-own-portfolio-using-jekyll-and-github-developer-pack-460f</link>
      <guid>https://dev.to/prateekj117/make-your-own-portfolio-using-jekyll-and-github-developer-pack-460f</guid>
      <description>&lt;p&gt;In this blog we will be creating a portfolio using Github developer pack and Jekyll.&lt;br&gt;
So, let's first talk about what is Github developer pack and what is jekyll.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;NOTE:&lt;/em&gt;&lt;/strong&gt;  Where ever curly brackets &lt;code&gt;{}&lt;/code&gt; are used, it has a variable inside it with actual value corresponding to the name of the variable.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
  
  
  What is Github developer pack?
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Ficrnxnzlpjvqvhxa45qn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Ficrnxnzlpjvqvhxa45qn.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is a program under &lt;a href="https://education.github.com/" rel="noopener noreferrer"&gt;&lt;strong&gt;Github Education&lt;/strong&gt;&lt;/a&gt; in which Github provides free tools and services to students.&lt;br&gt;
To apply to &lt;a href="https://education.github.com/pack" rel="noopener noreferrer"&gt;Github Developer Pack&lt;/a&gt;, all you have to do is submit a proof that you are a student at the time &lt;br&gt;
of applying to the program. And answer a small question: "&lt;strong&gt;How you are planning to use Github?&lt;/strong&gt;". After filling the details, you will receive&lt;br&gt;
a mail within five days when your application is approved.&lt;/p&gt;
&lt;h5&gt;
  
  
  Some important things which you get in Github Developer Pack:
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;Free credits in AWS Educate&lt;/li&gt;
&lt;li&gt;A free license for Bootstrap Studio&lt;/li&gt;
&lt;li&gt;$50 in platform credit in DigitalOcean for new users (In case you ever plan to learn SSH or sys-admin)&lt;/li&gt;
&lt;li&gt;Unlimited Private Repositories on Github&lt;/li&gt;
&lt;li&gt;A free subscription to all Jetbrains IDEs (I survive because of this.)&lt;/li&gt;
&lt;li&gt;$100 credits free with Microsoft Azure&lt;/li&gt;
&lt;li&gt;A free &lt;code&gt;.me&lt;/code&gt; domain name with SSL certificate&lt;/li&gt;
&lt;li&gt;Travis CI for private builds&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;and the list goes on. Now let's talk about Jekyll.&lt;/p&gt;


&lt;h3&gt;
  
  
  What is Jekyll?
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Frt4naxdh80myyl6fi9bx.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Frt4naxdh80myyl6fi9bx.jpg"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://jekyllrb.com" rel="noopener noreferrer"&gt;&lt;strong&gt;Jekyll&lt;/strong&gt;&lt;/a&gt; is a simple, blog aware, static site generator for personal, project, or organization sites. &lt;br&gt;
In simple words, you won't require writing HTML, CSS or JS to build your static website, just simple Markdown. All you need to do is follow some basic instructions given in the &lt;a href="https://jekyllrb.com/docs" rel="noopener noreferrer"&gt;&lt;strong&gt;docs&lt;/strong&gt;&lt;/a&gt;. &lt;br&gt;
But don't start just yet, we will be going through everything step by step. I will try to keep this blog self sufficient.&lt;/p&gt;

&lt;p&gt;Now let's make a list of steps involved in making the portfolio, and after that go through those steps one by one.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Steps involved in making the website:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Choose a theme&lt;/li&gt;
&lt;li&gt;Fork the theme, then clone it and run it locally&lt;/li&gt;
&lt;li&gt;Make it personal and host it&lt;/li&gt;
&lt;li&gt;Get a &lt;code&gt;.me&lt;/code&gt; domain&lt;/li&gt;
&lt;li&gt;Add CNAME&lt;/li&gt;
&lt;li&gt;Further improvements&lt;/li&gt;
&lt;/ol&gt;


&lt;h4&gt;
  
  
  1. Choose a theme:
&lt;/h4&gt;

&lt;p&gt;For those who are choosy, this is going to be the longest step. I myself took days searching for themes before finally settling on &lt;a href="https://geekyboy.me" rel="noopener noreferrer"&gt;this&lt;/a&gt; one.&lt;br&gt;
&lt;a href="https://jekyllthemes.io/free" rel="noopener noreferrer"&gt;Here&lt;/a&gt; is the list of free themes by Jekyll. You can also find some extra on &lt;a href="https://github.com/search?q=jekyll+themes" rel="noopener noreferrer"&gt;Github&lt;/a&gt;. &lt;br&gt;
And some more &lt;a href="https://github.com/search?q=portfolio+theme" rel="noopener noreferrer"&gt;here&lt;/a&gt;. These are all the resources I scrapped. All the best. May you find your theme.&lt;/p&gt;
&lt;h4&gt;
  
  
  2. Clone the theme and run it locally
&lt;/h4&gt;

&lt;p&gt;After choosing a theme, fork it on Github, and then clone it so that the remote &lt;code&gt;origin&lt;/code&gt; points to the directory on your Github Profile. &lt;br&gt;
Most repositories of jekyll themes include the documentation for running the jekyll theme locally. If they don't, here are some steps you can follow:&lt;br&gt;
&lt;code&gt;cd&lt;/code&gt; into your blog directory and run the following commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="gp"&gt;foo@bar:~$&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;gem &lt;span class="nb"&gt;install &lt;/span&gt;jekyll bundler
&lt;span class="gp"&gt;foo@bar:~$&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;gem &lt;span class="nb"&gt;install &lt;/span&gt;github-pages
&lt;span class="gp"&gt;foo@bar:~$&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;bundle &lt;span class="nb"&gt;install&lt;/span&gt;
&lt;span class="gp"&gt;foo@bar:~$&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;bundle &lt;span class="nb"&gt;exec &lt;/span&gt;jekyll serve
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now in your browser go to: &lt;a href="http://localhost:4000" rel="noopener noreferrer"&gt;http://localhost:4000&lt;/a&gt; and bam!!! Here's what your website will look like.&lt;/p&gt;

&lt;h4&gt;
  
  
  3. Make it personal and host it
&lt;/h4&gt;

&lt;p&gt;Now, go to the &lt;code&gt;_config.yml&lt;/code&gt; and fill the fields accordingly. Don't forget to edit the field named &lt;code&gt;baseurl&lt;/code&gt; to &lt;code&gt;""&lt;/code&gt;. It is used in &lt;br&gt;
delivering your css and images. I faced an error where my hosted website didn't load it's css and images while everything was working&lt;br&gt;
fine locally. It turns out &lt;code&gt;baseurl&lt;/code&gt; was the culprit.&lt;br&gt;&lt;br&gt;
Now, push these changes using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="gp"&gt;foo@bar:~$&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;git push origin master
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now go to the settings tab of your Repo and rename your Github Jekyll theme Repo to &lt;code&gt;{your_username}.github.io&lt;/code&gt; and you will see that github will host &lt;br&gt;
your website to the Url &lt;code&gt;{your_username}.github.io&lt;/code&gt;.&lt;/p&gt;
&lt;h4&gt;
  
  
  4. Get a &lt;code&gt;.me&lt;/code&gt; domain
&lt;/h4&gt;

&lt;p&gt;Go to Github Developer Pack page, and from there, open Namecheap, and activate your Namecheap account using Github, and select a &lt;code&gt;.me&lt;/code&gt; domain &lt;br&gt;
of your choice. After selecting a Domain, purchase it for free (Thanks to Github Developer Pack). &lt;/p&gt;
&lt;h4&gt;
  
  
  5. Add CNAME
&lt;/h4&gt;

&lt;p&gt;On your Domain Dashboard on Namecheap, then go to &lt;code&gt;Advanced DNS&lt;/code&gt; &lt;br&gt;
and add a CNAME record. Something like this:&lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fsrwmcabtkl32sc22nkz2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fsrwmcabtkl32sc22nkz2.png"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;
In Target, replace &lt;code&gt;prateekj117.github.io&lt;/code&gt; with &lt;code&gt;{your_username}.github.io&lt;/code&gt;.&lt;br&gt;
After that, in the root directory of your theme project, make a file named &lt;code&gt;CNAME&lt;/code&gt; and enter the value &lt;code&gt;{your_domain_name}.me&lt;/code&gt; in it.&lt;br&gt;
Commit the change and again push the commit using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="gp"&gt;foo@bar:~$&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;git push origin master
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that, you website is hosted on &lt;code&gt;{your_domain_name}.me&lt;/code&gt;.  Congratulations !!!&lt;/p&gt;

&lt;h4&gt;
  
  
  6. Further improvements
&lt;/h4&gt;

&lt;p&gt;After all the above steps are done, now you can add an additional functionality of comments if not already integrated in your theme using &lt;a href="https://disqus.com/" rel="noopener noreferrer"&gt;Disqus&lt;/a&gt;.&lt;br&gt;
And a subscribe button functionality as below which will send updates to the emails subscribed to your blogs using &lt;a href="https://mailchimp.com/" rel="noopener noreferrer"&gt;Mailchimp&lt;/a&gt;.&lt;br&gt;
For the Mailchimp functionality, you will need to add a RSS feed to your blogs which you can add using &lt;a href="https://github.com/jekyll/jekyll-feed" rel="noopener noreferrer"&gt;jekyll-feed&lt;/a&gt;.&lt;br&gt;
You should also add &lt;code&gt;gem 'jekyll-compose', group: [:jekyll_plugins]&lt;/code&gt; to your Gemfile and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="gp"&gt;foo@bar:~$&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;bundle &lt;span class="nb"&gt;install&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The use of &lt;a href="https://github.com/jekyll/jekyll-compose" rel="noopener noreferrer"&gt;jekyll-compose&lt;/a&gt; is that you can directly add a blog post using command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="gp"&gt;foo@bar:~$&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;bundle &lt;span class="nb"&gt;exec &lt;/span&gt;jekyll post &lt;span class="s2"&gt;"My New Post"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;As an example, you can also see the code of this website &lt;a href="https://github.com/prateekj117/prateekj117.github.io" rel="noopener noreferrer"&gt;here&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;For now, that's all. Do comment if you get any error or get stuck somewhere. Subscribe to the &lt;a href="https://geekyboy.me" rel="noopener noreferrer"&gt;blogs&lt;/a&gt;. I will be posting a guide to &lt;br&gt;
&lt;strong&gt;How to contribute to Open Source&lt;/strong&gt; next.&lt;/p&gt;

&lt;h3&gt;
  
  
  Happy Coding !!!
&lt;/h3&gt;

</description>
      <category>github</category>
    </item>
  </channel>
</rss>
