<?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: Shreyam Maity</title>
    <description>The latest articles on DEV Community by Shreyam Maity (@shreyammaity).</description>
    <link>https://dev.to/shreyammaity</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%2F731756%2F19d34b4a-8464-4aa5-a199-f0fe0846d7b1.png</url>
      <title>DEV Community: Shreyam Maity</title>
      <link>https://dev.to/shreyammaity</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shreyammaity"/>
    <language>en</language>
    <item>
      <title>Push Code and Get Assignment 😍 (⚠️Lazy People Only...)</title>
      <dc:creator>Shreyam Maity</dc:creator>
      <pubDate>Wed, 08 Dec 2021 16:40:25 +0000</pubDate>
      <link>https://dev.to/shreyammaity/push-code-and-get-assignment-lazy-people-only-2jjc</link>
      <guid>https://dev.to/shreyammaity/push-code-and-get-assignment-lazy-people-only-2jjc</guid>
      <description>&lt;p&gt;
 &lt;a href="https://i.giphy.com/media/azUBCBFSCyNgc/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/azUBCBFSCyNgc/giphy.gif"&gt;&lt;/a&gt;  
&lt;/p&gt;  

&lt;p&gt;So, it all started from my college. But first. Let's be honest. I'm a lazy guy. I just find ways to skip works. And try to find easy ways to live my life. So when it comes to writing assignments, um you know what I would do.&lt;/p&gt;

&lt;p&gt;
 &lt;a href="https://i.giphy.com/media/QHE5gWI0QjqF2/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/QHE5gWI0QjqF2/giphy.gif"&gt;&lt;/a&gt;  
&lt;/p&gt; 

&lt;p&gt;So the thing is , I've noted one thing. My professor give us few questions to code and then make an assignment out of it which just contains my code , the working snaps and the question. But making the these things is too much work for a guy like me. Though it's just copy paste but still I have to do the same repetitive task again and again for a whole semester or may be for a whole year.&lt;/p&gt;

&lt;p&gt;
 &lt;a href="https://i.giphy.com/media/pOZhmE42D1WrCWATLK/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/pOZhmE42D1WrCWATLK/giphy.gif"&gt;&lt;/a&gt;  
&lt;/p&gt; 

&lt;p&gt;And here comes the GitHub actions. So what I do is , I store my codes and snaps in my local repository and then push it to GitHub. And GitHub Actions gets files from my last commit and form an assignment for me then sent it to my email so that I can just submit it. 😊&lt;/p&gt;

&lt;p&gt;
 &lt;a href="https://i.giphy.com/media/xT0BKiK5sOCVdBUhiM/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/xT0BKiK5sOCVdBUhiM/giphy.gif"&gt;&lt;/a&gt;  
&lt;/p&gt; 

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;FUN FACT&lt;/code&gt; - Code and this github actions is reusable and easily configurable 🎭&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/s5KuaHp_ujc"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  My Workflow
&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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9rrng8s6xlre2dto1f9g.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%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9rrng8s6xlre2dto1f9g.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Instructions
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/l1lCx5gsFRg8tMg0eK/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/l1lCx5gsFRg8tMg0eK/giphy.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;if you want to know how to use it just lightly press here 👉🏻 &lt;a href="https://www.youtube.com/watch?v=OWB7oYtS9N8" rel="noopener noreferrer"&gt;🍎(forgot to bite it)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;press here &lt;a href="https://github.com/marketplace/actions/assignmenty-bot" rel="noopener noreferrer"&gt;😭(Why are you so harsh)&lt;/a&gt; hardly to follow this action in marketplace
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/xT1R9Jzib1CFmuQlAQ/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/xT1R9Jzib1CFmuQlAQ/giphy.gif"&gt;&lt;/a&gt;&lt;br&gt;
&lt;code&gt;Wacky Wildcards&lt;/code&gt; (this is just a lazy people's bot XD)&lt;/p&gt;
&lt;h3&gt;
  
  
  Yaml File or Link to Code
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name: Assignmenty Mailer
on: 
push:
    branches:
    - main
workflow_dispatch:
jobs:
mailer:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
        with:
        fetch-depth: 2
    - uses: ShreyamMaity/Assignmenty@main 
        with:
        MAILID : 'sample@gmail.com' #mail if of your choice
        FILENAME : 'assignment' #assignment file name
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Still Want to Learn More?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Here you go lazy person 👇🏻
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/ShreyamMaity" rel="noopener noreferrer"&gt;
        ShreyamMaity
      &lt;/a&gt; / &lt;a href="https://github.com/ShreyamMaity/Assignmenty" rel="noopener noreferrer"&gt;
        Assignmenty
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Just Code and Push , Leave The Assignment Part on us....
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Assignmenty Bot&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;
   &lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/640b03be380d96b61abd06d885a41ea0bce157d02b5ebac76257920cf19d78ac/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e67756167652d707974686f6e2d626c75653f7374796c65"&gt;&lt;img src="https://camo.githubusercontent.com/640b03be380d96b61abd06d885a41ea0bce157d02b5ebac76257920cf19d78ac/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c616e67756167652d707974686f6e2d626c75653f7374796c65"&gt;&lt;/a&gt;
   &lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/d13a648107f58f4b6a69838447daec740b976fc698e055eab8d994e8528811bd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f5368726579616d4d616974792f41737369676e6d656e7479"&gt;&lt;img src="https://camo.githubusercontent.com/d13a648107f58f4b6a69838447daec740b976fc698e055eab8d994e8528811bd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f5368726579616d4d616974792f41737369676e6d656e7479"&gt;&lt;/a&gt;
   &lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/b210bb1066c3f009bbe5b800ca3560c2b298fb81c6201b7dc9b0f59ddd50a115/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f5368726579616d4d616974792f41737369676e6d656e7479"&gt;&lt;img src="https://camo.githubusercontent.com/b210bb1066c3f009bbe5b800ca3560c2b298fb81c6201b7dc9b0f59ddd50a115/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f5368726579616d4d616974792f41737369676e6d656e7479"&gt;&lt;/a&gt;
   &lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/26b5b7853b581b12e0a36ccd35ab8d07fc568284e1adfff19a6c63c4ec7e49d5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5368726579616d4d616974792f41737369676e6d656e7479"&gt;&lt;img src="https://camo.githubusercontent.com/26b5b7853b581b12e0a36ccd35ab8d07fc568284e1adfff19a6c63c4ec7e49d5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5368726579616d4d616974792f41737369676e6d656e7479"&gt;&lt;/a&gt;
   &lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/48ecf77ba14e27e5eee74eada5eff4a8fc9ee2702084fced7025cb4fa0b88494/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d254630253946253843253946266d6573736167653d496625323055736566756c267374796c653d7374796c653d666c617426636f6c6f723d424334453939"&gt;&lt;img src="https://camo.githubusercontent.com/48ecf77ba14e27e5eee74eada5eff4a8fc9ee2702084fced7025cb4fa0b88494/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d254630253946253843253946266d6573736167653d496625323055736566756c267374796c653d7374796c653d666c617426636f6c6f723d424334453939" alt="Star Badge"&gt;&lt;/a&gt;
   &lt;a rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/0e7248e610077b57edc89adeaed4534b0beb07fd8179eb6683a427ccfb622567/68747470733a2f2f76697369746f722d62616467652e676c697463682e6d652f62616467653f706167655f69643d5368726579616d4d616974792e41737369676e6d656e7479222f"&gt;&lt;img src="https://camo.githubusercontent.com/0e7248e610077b57edc89adeaed4534b0beb07fd8179eb6683a427ccfb622567/68747470733a2f2f76697369746f722d62616467652e676c697463682e6d652f62616467653f706167655f69643d5368726579616d4d616974792e41737369676e6d656e7479222f"&gt;&lt;/a&gt;
&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;Just Code and Push , Leave The Assignment Part on us....Happy Coding &amp;lt;/&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;




  
    

    &lt;span class="m-1"&gt;Assignmenty.mp4&lt;/span&gt;
    
  

  

  


&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;This is a &lt;a href="https://developer.github.com/actions/" rel="noopener noreferrer"&gt;GitHub Action&lt;/a&gt; to create your assignment automatically with the help of git version control.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;It takes code and snaps from your latest commit and make it an assignment and send you in mail📧&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;This action runs in a Docker container and therefore only supports Linux🐧&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="https://youtu.be/OWB7oYtS9N8" rel="nofollow noopener noreferrer"&gt;Watch Full Config Video Here&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Prep Work&lt;/h2&gt;

&lt;/div&gt;


&lt;ol&gt;

&lt;li&gt;Create you coding assignments like or &lt;a href="https://youtu.be/OWB7oYtS9N8?t=17" rel="nofollow noopener noreferrer"&gt;Watch Config Video Here&lt;/a&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;`&lt;/span&gt;&lt;span class="pl-pds"&gt;`&lt;/span&gt;&lt;span class="pl-pds"&gt;`&lt;/span&gt; This is Your Question , Write Questions like this&lt;span class="pl-pds"&gt;`&lt;/span&gt;&lt;span class="pl-pds"&gt;`&lt;/span&gt;&lt;span class="pl-pds"&gt;`&lt;/span&gt;&lt;/span&gt;

def &lt;span class="pl-en"&gt;code&lt;/span&gt;():
    this is your code. Just code anything
&lt;/pre&gt;

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Save the code file as &lt;code&gt;assignment12.py&lt;/code&gt; or &lt;code&gt;assignment34.py&lt;/code&gt;
&lt;blockquote&gt;
&lt;p&gt;This action currently supports only  &lt;strong&gt;Python Code Assignments&lt;/strong&gt; 🐍&lt;br&gt;
but this GitHub Action can me modified for any code based asssignments.Feel free to contribute.🤗&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;You can use &lt;a href="https://github.com/ShreyamMaity/Assignmenty#usage" rel="noopener noreferrer"&gt;this&lt;/a&gt; example to work it out 🧐&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;create a…&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/ShreyamMaity/Assignmenty" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/l0IyjeA5mmMZjhyPm/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/l0IyjeA5mmMZjhyPm/giphy.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/actions/checkout" rel="noopener noreferrer"&gt;GitHub Checkout@v2&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Maintainer and Owner
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/ShreyamMaity" rel="noopener noreferrer"&gt;Shreyam Maity&lt;/a&gt;
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fcontrib.rocks%2Fimage%3Frepo%3DShreyamMaity%2FAssignmenty" alt="GitHub Contributors Image"&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Bonus Tip :&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" rel="noopener noreferrer"&gt;Don't Tell Anyone About It 🤫&lt;/a&gt;&lt;br&gt;
&lt;a href="https://i.giphy.com/media/VgCDAzcKvsR6OM0uWg/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/VgCDAzcKvsR6OM0uWg/giphy.gif"&gt;&lt;/a&gt;&lt;/p&gt;

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