<?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: Abhishek Sisodiya</title>
    <description>The latest articles on DEV Community by Abhishek Sisodiya (@sisodiya2421).</description>
    <link>https://dev.to/sisodiya2421</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%2F426286%2F59aa4e62-d8e7-4da1-b7ff-8e6fa7c185a8.png</url>
      <title>DEV Community: Abhishek Sisodiya</title>
      <link>https://dev.to/sisodiya2421</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sisodiya2421"/>
    <language>en</language>
    <item>
      <title>Start mongodb/mysql services automatically in wsl2</title>
      <dc:creator>Abhishek Sisodiya</dc:creator>
      <pubDate>Sat, 03 Jul 2021 08:16:03 +0000</pubDate>
      <link>https://dev.to/sisodiya2421/start-mongodb-mysql-services-automatically-in-wsl2-n9c</link>
      <guid>https://dev.to/sisodiya2421/start-mongodb-mysql-services-automatically-in-wsl2-n9c</guid>
      <description>&lt;ul&gt;
&lt;li&gt;First open a script using nano in your WSL terminal by running this command:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo nano ~/.local/bin/start_script
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Copy the following command in that scipt:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;service mysql start
service mongodb start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.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%2Fbilqazla27r949ri5kjs.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fbilqazla27r949ri5kjs.JPG" alt="commands inside script" width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Press &lt;code&gt;ctrl+o&lt;/code&gt; and then &lt;code&gt;ctrl+x&lt;/code&gt; to save and exit the script.&lt;/li&gt;
&lt;li&gt;Go to Windows start menu and type &lt;code&gt;Task Scheduler&lt;/code&gt; to open Task Scheduler.&lt;/li&gt;
&lt;li&gt;Under the Actions tab on the right hand side, click &lt;code&gt;Create Task...&lt;/code&gt; to open create task window&lt;/li&gt;
&lt;li&gt;On this window give your task a specific name and make sure &lt;code&gt;Run only when user is logged on&lt;/code&gt; is selected as shown below.
&lt;img src="https://media2.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%2Fs05540wofqwjghgskgyn.JPG" alt="Task Name" width="788" height="602"&gt;
&lt;/li&gt;
&lt;li&gt;Then click on Triggers tab and create a New Trigger by selecting Begin the Task &lt;code&gt;At log on&lt;/code&gt; from the dropdown menu and under settings &lt;code&gt;any user&lt;/code&gt; and select &lt;code&gt;Enabled&lt;/code&gt; under Advanced Settings.
&lt;img src="https://media2.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%2Fbp4zu7dkpljf8rkey5yi.JPG" alt="Trigger" width="791" height="600"&gt;
&lt;/li&gt;
&lt;li&gt;Then go to Actions Tab and create a New Action as &lt;code&gt;Start a Program&lt;/code&gt; and under Settings set Program/Script as &lt;code&gt;C:\Windows\System32\bash.exe&lt;/code&gt; and in the Add arguments &lt;code&gt;-c "sudo ~/.local/bin/start_services.sh"&lt;/code&gt; as shown below.
&lt;img src="https://media2.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%2Fz7ltne3sx0cq67ckwz1f.JPG" alt="Actions" width="566" height="627"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's all. The next time Windows starts, task will be triggered and it will run your custom script as root and start mongodb and mysql. You can also add any other services to this script.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>database</category>
      <category>systems</category>
      <category>mongodb</category>
    </item>
    <item>
      <title>A machine learning app to identify your apparel</title>
      <dc:creator>Abhishek Sisodiya</dc:creator>
      <pubDate>Sun, 03 Jan 2021 16:49:18 +0000</pubDate>
      <link>https://dev.to/sisodiya2421/a-machine-learning-app-to-identify-your-apparel-5dhi</link>
      <guid>https://dev.to/sisodiya2421/a-machine-learning-app-to-identify-your-apparel-5dhi</guid>
      <description>&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;I have built an application which can detect whether you are wearing a t-shirt or a shirt via webcam.&lt;/p&gt;

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

&lt;p&gt;Built for Business&lt;/p&gt;

&lt;h3&gt;
  
  
  App Link
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://clothdetector-kegak.ondigitalocean.app/" rel="noopener noreferrer"&gt;https://clothdetector-kegak.ondigitalocean.app/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Screenshots
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ffbxyea0ptgf40nsmwdl0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Ffbxyea0ptgf40nsmwdl0.png" alt="Alt Text" width="800" height="389"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fyutyvwjam3hmn00v8343.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fyutyvwjam3hmn00v8343.png" alt="Alt Text" width="800" height="389"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Description
&lt;/h3&gt;

&lt;p&gt;User has to stand in front of the camera wearing a shirt or a t-shirt and then the application will automatically detect the type of clothing apparel. This app asks for camera permission which a user has to allow. All the rendering and detection part is done on client-side. It is basically a client-side application no data is stored on the server.&lt;/p&gt;

&lt;h3&gt;
  
  
  Link to Source Code
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/sisodiya2421/ClothDetector" rel="noopener noreferrer"&gt;https://github.com/sisodiya2421/ClothDetector&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Permissive License
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/sisodiya2421/ClothDetector/blob/master/LICENSE" rel="noopener noreferrer"&gt;MIT License&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Background
&lt;/h2&gt;

&lt;p&gt;I am currently learning the basics of machine learning and then one day I came across an awesome tool &lt;a href="https://teachablemachine.withgoogle.com/" rel="noopener noreferrer"&gt;Teachable Machine&lt;/a&gt; which lets you build your own custom machine learning model and teaches you the basic concepts of Machine Learning using tensorflow.js. Since I work in a fashion-tech company, from there I got the idea to build something which can detect human clothes using a camera.&lt;/p&gt;

&lt;h3&gt;
  
  
  How I built it
&lt;/h3&gt;

&lt;p&gt;I built it using node.js and p5js library ( a wrapper around tensorflow.js). DigitalOcean's App Platform gave me a platform to easily deploy and test the performance of the application. Not only this project helped me learn about new libraries like P5js and tensorflow.js but also the javascript language which is new for me. I also learned Key points like epochs and how to attain accuracy during a machine learning training process by building this project. &lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://p5js.org/" rel="noopener noreferrer"&gt;P5.js&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.tensorflow.org/js/" rel="noopener noreferrer"&gt;Tensorflow.js&lt;/a&gt;&lt;br&gt;
&lt;a href="https://teachablemachine.withgoogle.com/" rel="noopener noreferrer"&gt;Teachable Machine&lt;/a&gt;&lt;/p&gt;

</description>
      <category>dohackathon</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Get GitHub CLI in WSL2</title>
      <dc:creator>Abhishek Sisodiya</dc:creator>
      <pubDate>Fri, 18 Sep 2020 12:27:45 +0000</pubDate>
      <link>https://dev.to/sisodiya2421/get-github-cli-in-wsl2-4d6n</link>
      <guid>https://dev.to/sisodiya2421/get-github-cli-in-wsl2-4d6n</guid>
      <description>&lt;p&gt;Get the new GitHub CLI now in your wsl2 dev environment.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;gh&lt;/code&gt; helps you work with issues, pull requests, releases and more. It brings GitHub to your terminal.&lt;/p&gt;

&lt;h1&gt;
  
  
  Installation
&lt;/h1&gt;

&lt;p&gt;For people using Debian based WSL2 use these commands to install &lt;code&gt;gh&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-key adv &lt;span class="nt"&gt;--keyserver&lt;/span&gt; keyserver.ubuntu.com &lt;span class="nt"&gt;--recv-key&lt;/span&gt; C99B11DEB97541F0
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-add-repository https://cli.github.com/packages
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt update
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;gh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For people using wsl based on OpenSUSE, Fedora etc and for manual installation you may look into this &lt;a href="https://github.com/cli/cli/blob/trunk/docs/install_linux.md" rel="noopener noreferrer"&gt;Linux Installation docs&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Authenticating
&lt;/h1&gt;

&lt;p&gt;After installation of the CLI, you will need to authenticate your GitHub account. For authentication, you will have to follow few steps&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh auth login
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Finnjz80m4notbr71ktmp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Finnjz80m4notbr71ktmp.png" alt="Alt Text" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will have two options to authenticate, either use browser method or use authentication Token. I will suggest using Browser method as its quick and easy.&lt;/p&gt;

&lt;p&gt;Next, you will be asked to choose git protocol, choose https or ssh as per your own convenience.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fq2drkkp8dedfoke6utm2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fq2drkkp8dedfoke6utm2.png" alt="Alt Text" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Voila!! You are all done with the setup!!&lt;/p&gt;

&lt;p&gt;For more commands follow this &lt;a href="https://cli.github.com/manual/" rel="noopener noreferrer"&gt;manual&lt;/a&gt;&lt;/p&gt;

</description>
      <category>github</category>
      <category>opensource</category>
      <category>productivity</category>
      <category>wsl</category>
    </item>
    <item>
      <title>Manage Github issues in Trello using Github Action</title>
      <dc:creator>Abhishek Sisodiya</dc:creator>
      <pubDate>Sun, 13 Sep 2020 20:34:37 +0000</pubDate>
      <link>https://dev.to/sisodiya2421/manage-github-issues-in-trello-using-github-action-5efk</link>
      <guid>https://dev.to/sisodiya2421/manage-github-issues-in-trello-using-github-action-5efk</guid>
      <description>&lt;p&gt;Using Trello for project management with your team now made easier with this Github action.&lt;/p&gt;

&lt;h3&gt;
  
  
  My Workflow
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Trello Manage&lt;/strong&gt; is a GitHub action that helps you automatically manage your issues in Trello with your teammates.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fgr6gsp4meoj9de5fkb43.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fgr6gsp4meoj9de5fkb43.gif" alt="Alt Text" width="480" height="260"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It automatically creates a &lt;strong&gt;Board&lt;/strong&gt; with the name same as that of the &lt;em&gt;repository name&lt;/em&gt; and a &lt;strong&gt;list&lt;/strong&gt; with name &lt;em&gt;Issues&lt;/em&gt; so that team working on that repo can manage issues easily.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fcre4t9zoulo77ps99dpa.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fcre4t9zoulo77ps99dpa.gif" alt="Alt Text" width="480" height="260"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It also assigns the issue &lt;strong&gt;labels&lt;/strong&gt; and &lt;strong&gt;colour coding&lt;/strong&gt; in your Trello board list same as that of your Github, enabling you to easily differentiate between each issue.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Maintainer Must-Haves&lt;/strong&gt; (Primary)&lt;br&gt;
&lt;strong&gt;Phone Friendly&lt;/strong&gt; (Secondary)&lt;/p&gt;
&lt;h3&gt;
  
  
  Yaml File or Link to Code
&lt;/h3&gt;

&lt;p&gt;You can easily integrate this action in your workflow using this YAML:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Trello Issue List&lt;/span&gt;
&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;issues&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;types&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;opened&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;
&lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;TRELLO_KEY&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ secrets.TRELLO_KEY }}&lt;/span&gt;
  &lt;span class="na"&gt;TRELLO_TOKEN&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ secrets.TRELLO_TOKEN }}&lt;/span&gt;

&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;issue_send&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Send Issue to Trello&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Runs trello manage&lt;/span&gt;
        &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;sisodiya2421/trello-manage@master&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;repo-name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ github.repository }}&lt;/span&gt;
          &lt;span class="na"&gt;trello-username&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ secrets.TRELLO_USERNAME }}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;You may also check out the Repository for better understanding&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/sisodiya2421" rel="noopener noreferrer"&gt;
        sisodiya2421
      &lt;/a&gt; / &lt;a href="https://github.com/sisodiya2421/trello-manage" rel="noopener noreferrer"&gt;
        trello-manage
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &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;Trello-manage&lt;/h1&gt;
&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h4 class="heading-element"&gt;This action automatically creates a list of issues with their labels in your Trello board whenever a new issue is created.&lt;/h4&gt;
&lt;/div&gt;

&lt;p&gt;At first it will automatically create a Board in your Trello account with the name same as that of your &lt;strong&gt;repository&lt;/strong&gt; in which your will use this Github Action
Inside this board it will create a list with the name &lt;code&gt;Issues&lt;/code&gt; where all your issues will reside with their labels.&lt;/p&gt;
&lt;p&gt;It action is made to make managment of issues with your team in Trello easier to handle.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Inputs&lt;/h2&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;repo-name&lt;/code&gt; The name of the repository where the action is being used. &lt;strong&gt;Required&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;trello-username&lt;/code&gt; The username of your Trello account. &lt;strong&gt;Required&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight highlight-source-yaml notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-ent"&gt;with&lt;/span&gt;:
  &lt;span class="pl-ent"&gt;repo-name&lt;/span&gt;: &lt;span class="pl-s"&gt;${{ github.repository }}&lt;/span&gt;
  &lt;span class="pl-ent"&gt;trello-username&lt;/span&gt;: &lt;span class="pl-s"&gt;${{ secrets.TRELLO_USERNAME }}&lt;/span&gt;&lt;/pre&gt;

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

&lt;/div&gt;
&lt;p&gt;This action uses three secrets &lt;code&gt;TRELLO_KEY&lt;/code&gt;, &lt;code&gt;TRELLO_TOKEN&lt;/code&gt; and the &lt;code&gt;TRELLO_USERNAME&lt;/code&gt;
To get them you will have to login into &lt;a href="https://trello.com/" rel="nofollow noopener noreferrer"&gt;Trello&lt;/a&gt; first and then go…&lt;/p&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/sisodiya2421/trello-manage" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


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

&lt;p&gt;Making this action has been a really great journey for me. Being a newbie in JavaScript this action not only helped me in learning JavaScript language but also the core design features and use cases of Github Action. This being my second Github action project, I feel very much satisfied and convinced that there are lots of possibilities that can be made possible using this great tool.&lt;/p&gt;

&lt;p&gt;More features can be added to this Trello manage Github action like automated issue assignment to team members or automated adding issues to &lt;em&gt;Done&lt;/em&gt; list in Trello after it's been closed.&lt;/p&gt;

&lt;p&gt;Possibilities are endless.  &lt;/p&gt;

</description>
      <category>actionshackathon</category>
      <category>opensource</category>
      <category>showdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Github Action to get response time details of a URL in a scheduled interval</title>
      <dc:creator>Abhishek Sisodiya</dc:creator>
      <pubDate>Thu, 10 Sep 2020 11:12:17 +0000</pubDate>
      <link>https://dev.to/sisodiya2421/github-action-to-get-response-time-details-of-a-url-in-a-scheduled-interval-3l7d</link>
      <guid>https://dev.to/sisodiya2421/github-action-to-get-response-time-details-of-a-url-in-a-scheduled-interval-3l7d</guid>
      <description>&lt;p&gt;Being an opensource enthusiast, I am pleased to announce my first Github Action project as a submission to Github Actions hackathon in Dev.to please bear any mistakes that I may have made.&lt;/p&gt;

&lt;h3&gt;
  
  
  My Workflow
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Scheduled Ping&lt;/strong&gt; is a Github Action that sets a scheduled time interval to ping at your given &lt;strong&gt;URL&lt;/strong&gt; and show you the response time details using cURL.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fshcbeivngz2ulzw5shk8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fshcbeivngz2ulzw5shk8.png" alt="Alt Text" width="636" height="184"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Wacky Wildcards&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Yaml File or Link to Code
&lt;/h3&gt;

&lt;p&gt;You can integrate this Action in your workflow using this YAML&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Scheduled Ping&lt;/span&gt;
&lt;span class="c1"&gt;# This workflow is triggered at a scheduled interval of every 30 minutes&lt;/span&gt;
&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;schedule&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="c1"&gt;# * is a special character in YAML so you have to quote this string.&lt;/span&gt;
    &lt;span class="c1"&gt;# /30 denotes that it will run once every 30 minutes&lt;/span&gt;
    &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;cron&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;  &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;*/30&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;*&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;*&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;*&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;*'&lt;/span&gt;

&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;pinger_job&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;A job to ping&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;URL&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ secrets.URL }}&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ping&lt;/span&gt;
        &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;sisodiya2421/pinger@master&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;For more details on how to set up your &lt;code&gt;URL&lt;/code&gt; for Scheduled Ping Action check out the Github Action Repo&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/sisodiya2421" rel="noopener noreferrer"&gt;
        sisodiya2421
      &lt;/a&gt; / &lt;a href="https://github.com/sisodiya2421/pinger" rel="noopener noreferrer"&gt;
        pinger
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      This GitHub action will help you to schedule a ping to a specified URL at certain intervals.
    &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;Scheduled Ping&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;This action pings your specified URL every 30 minutes(&lt;strong&gt;changeable&lt;/strong&gt;) and generates timing details using &lt;a href="https://curl.haxx.se/" rel="nofollow noopener noreferrer"&gt;cURL&lt;/a&gt;.&lt;/p&gt;

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

&lt;p&gt;&lt;code&gt;URL&lt;/code&gt; (&lt;strong&gt;Required&lt;/strong&gt;) The URL to ping must be specified under secrets settings in your repository for this action to work on that URL.&lt;/p&gt;

&lt;p&gt;You can go to this &lt;a href="https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets" rel="noopener noreferrer"&gt;Link&lt;/a&gt;
to get details about adding secrets to your repository&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Example usage&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Copy the following workflow example code into a &lt;code&gt;.github/workflows/main.yml&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; You may rename &lt;code&gt;main.yml&lt;/code&gt; as per your own requirements.&lt;/p&gt;
&lt;div class="highlight highlight-source-yaml notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-ent"&gt;name&lt;/span&gt;: &lt;span class="pl-s"&gt;Scheduled Ping&lt;/span&gt;
&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; This workflow is triggered at a scheduled interval of every 30 minutes&lt;/span&gt;
&lt;span class="pl-ent"&gt;on&lt;/span&gt;
  &lt;span class="pl-ent"&gt;schedule&lt;/span&gt;:
    &lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; * is a special character in YAML so you have to quote this string.&lt;/span&gt;
    &lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; /30 denotes that it will run once every 30 minutes&lt;/span&gt;
    - &lt;span class="pl-ent"&gt;cron&lt;/span&gt;:  &lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;'&lt;/span&gt;*/30 * * * *&lt;span class="pl-pds"&gt;'&lt;/span&gt;&lt;/span&gt;

&lt;span class="pl-ent"&gt;jobs&lt;/span&gt;:
  &lt;span class="pl-ent"&gt;pinger_job&lt;/span&gt;:
    &lt;span class="pl-ent"&gt;name&lt;/span&gt;: &lt;span class="pl-s"&gt;A job to ping&lt;/span&gt;
    &lt;span class="pl-ent"&gt;runs-on&lt;/span&gt;&lt;/pre&gt;…
&lt;/div&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/sisodiya2421/pinger" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


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

&lt;p&gt;You can make changes to your workflow as per your own requirements like in place of using &lt;code&gt;schedule&lt;/code&gt; event as a trigger to your workflow use may use &lt;code&gt;push&lt;/code&gt; or &lt;code&gt;pull&lt;/code&gt; events.&lt;/p&gt;

&lt;p&gt;You also have the flexibility to change the time interval just by using &lt;a href="https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07" rel="noopener noreferrer"&gt;POSIX cron syntax&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F5ovh01xhzems17ufhho9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F5ovh01xhzems17ufhho9.png" alt="Alt Text" width="800" height="279"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here's &lt;a href="https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets" rel="noopener noreferrer"&gt;Link&lt;/a&gt; on how to add &lt;code&gt;URL&lt;/code&gt; as a secret in your repo.&lt;/p&gt;

&lt;p&gt;Check out Scheduled Ping Action at &lt;a href="https://github.com/marketplace/actions/scheduled-ping" rel="noopener noreferrer"&gt;Github Marketplace&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It has been a great journey from learning what is Github action to making a custom action of my own. Going through the docs I am pretty much sure the possibilities are endless.&lt;/p&gt;

</description>
      <category>actionshackathon</category>
      <category>showdev</category>
      <category>opensource</category>
      <category>github</category>
    </item>
  </channel>
</rss>
