<?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: Drozerah</title>
    <description>The latest articles on DEV Community by Drozerah (@drozerah).</description>
    <link>https://dev.to/drozerah</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%2F56618%2F83d124b7-47d6-4114-a1f3-6a1022c49ebb.png</url>
      <title>DEV Community: Drozerah</title>
      <link>https://dev.to/drozerah</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/drozerah"/>
    <language>en</language>
    <item>
      <title>No comment...</title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Wed, 14 Oct 2020 17:37:53 +0000</pubDate>
      <link>https://dev.to/drozerah/no-comment-221b</link>
      <guid>https://dev.to/drozerah/no-comment-221b</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1m1DYBH_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ag01y1nfw1a4jh1ph7nt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1m1DYBH_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ag01y1nfw1a4jh1ph7nt.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Available at &lt;a href="https://material.io/resources/icons/?search=coronavirus&amp;amp;icon=coronavirus&amp;amp;style=baseline"&gt;Google Icons&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is the french translation of "stub" in the field of programming ?</title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Thu, 16 Apr 2020 19:51:13 +0000</pubDate>
      <link>https://dev.to/drozerah/what-is-the-french-translation-of-stub-in-the-field-of-programming-2lna</link>
      <guid>https://dev.to/drozerah/what-is-the-french-translation-of-stub-in-the-field-of-programming-2lna</guid>
      <description>&lt;p&gt;Literal translation is not enough to understand such a programming notion...&lt;/p&gt;

</description>
      <category>help</category>
      <category>discuss</category>
    </item>
    <item>
      <title>What is your everything files or folders naming convention ?</title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Tue, 03 Mar 2020 12:46:13 +0000</pubDate>
      <link>https://dev.to/drozerah/what-is-your-everything-files-or-folders-naming-convention-1e7d</link>
      <guid>https://dev.to/drozerah/what-is-your-everything-files-or-folders-naming-convention-1e7d</guid>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I'd like to know what is your files and folders naming convention if you have one ? &lt;/p&gt;

&lt;p&gt;&lt;code&gt;hello_world.ext&lt;/code&gt;&lt;br&gt;
&lt;code&gt;hello-world.ext&lt;/code&gt;&lt;br&gt;
&lt;code&gt;hello.world.ext&lt;/code&gt; ...&lt;/p&gt;

&lt;p&gt;Can you explain your preference in the way to fit best to that data programming world we are living in ?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Make your `console.life` easy !</title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Thu, 27 Feb 2020 10:33:20 +0000</pubDate>
      <link>https://dev.to/drozerah/make-your-console-life-easy-232m</link>
      <guid>https://dev.to/drozerah/make-your-console-life-easy-232m</guid>
      <description>&lt;p&gt;Using &lt;a href="https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments"&gt;Better Comments&lt;/a&gt; and a &lt;a href="https://code.visualstudio.com/docs/editor/userdefinedsnippets"&gt;VSCcode snippet&lt;/a&gt; we can achieve this :&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--AfPN4H_l--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ydbcjdkxwqlop8pm9pyw.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AfPN4H_l--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ydbcjdkxwqlop8pm9pyw.gif" alt="clg"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;VSCode Snippet&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nl"&gt;"Console.log()"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"prefix"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"clg"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"body"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
          &lt;/span&gt;&lt;span class="s2"&gt;"console.log('$0') // !DEBUG"&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Console method log()"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;What we have now is a [clg + enter] autocomplete with a red colorized debug comment that highlights your debugings :)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;easy to use and configure&lt;/li&gt;
&lt;li&gt;no more time consuming looking for lost &lt;code&gt;console.log&lt;/code&gt; in your code&lt;/li&gt;
&lt;li&gt;code readability improvement&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Be proud !&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>vscode</category>
      <category>productivity</category>
    </item>
    <item>
      <title>CSS - Center both vertically and horizontally</title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Wed, 24 Jul 2019 17:52:35 +0000</pubDate>
      <link>https://dev.to/drozerah/css-center-both-vertically-and-horizontally-41n0</link>
      <guid>https://dev.to/drozerah/css-center-both-vertically-and-horizontally-41n0</guid>
      <description>&lt;p&gt;Say you have a HTML &lt;code&gt;&amp;lt;body&amp;gt;&amp;lt;/body&amp;gt;&lt;/code&gt; tag and you want its child &lt;code&gt;&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/code&gt; to be centered both vertically and horizontally with modern CSS : how to achieve that ?&lt;/p&gt;

&lt;p&gt;&lt;code&gt;index.html&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="cp"&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;html&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"en"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;charset=&lt;/span&gt;&lt;span class="s"&gt;"UTF-8"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"viewport"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"width=device-width, initial-scale=1.0"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;meta&lt;/span&gt; &lt;span class="na"&gt;http-equiv=&lt;/span&gt;&lt;span class="s"&gt;"X-UA-Compatible"&lt;/span&gt; &lt;span class="na"&gt;content=&lt;/span&gt;&lt;span class="s"&gt;"ie=edge"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Document&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;link&lt;/span&gt; &lt;span class="na"&gt;rel=&lt;/span&gt;&lt;span class="s"&gt;"stylesheet"&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"/css/style.css"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;div&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;h1&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"title"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Hello DEV!&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Flexbox says :&lt;br&gt;
&lt;code&gt;style.css&lt;/code&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%2F4118y5sa0iznx8n8t5ns.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%2F4118y5sa0iznx8n8t5ns.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;CSS Grid says :&lt;br&gt;
&lt;code&gt;style.css&lt;/code&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%2F2iy5vsrhw3fte1gr8a4t.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%2F2iy5vsrhw3fte1gr8a4t.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Voilà!&lt;/p&gt;

&lt;p&gt;See you next time!&lt;/p&gt;

&lt;p&gt;Drozerah&lt;/p&gt;

</description>
      <category>css</category>
      <category>gridlayout</category>
      <category>flexbox</category>
      <category>centering</category>
    </item>
    <item>
      <title>Vue.js SVG Responsive Component </title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Tue, 02 Jul 2019 18:42:32 +0000</pubDate>
      <link>https://dev.to/drozerah/vue-js-svg-responsive-component-318f</link>
      <guid>https://dev.to/drozerah/vue-js-svg-responsive-component-318f</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Simply Demonstrate a Vue.js component that returns a &lt;code&gt;.svg&lt;/code&gt; file passed to the component as a property + turn the &lt;code&gt;img&lt;/code&gt; html tag into a responsive/adaptative element using CSS rules&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Method:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;we use a computed property to work with the SVG file into the component. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;note:&lt;/strong&gt; &lt;em&gt;Computed properties&lt;/em&gt; sit halfway between properties of the data object and methods: we can access them &lt;strong&gt;as if they were properties of the data object&lt;/strong&gt;, but they are specified as functions...&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;we create a computed property function that returns the &lt;code&gt;.svg&lt;/code&gt; file path using the &lt;code&gt;require()&lt;/code&gt; method to access the &lt;code&gt;assets&lt;/code&gt; folder&lt;/li&gt;
&lt;li&gt;we create the full path to the &lt;code&gt;.svg&lt;/code&gt; source file using the value stored/passed as the property (props) of the component &lt;code&gt;this.SVGFile&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;we use the ES6 template literal syntax to construct the full path dynamically...&lt;/li&gt;
&lt;li&gt;we bind the value of the computed property to the &lt;code&gt;src&lt;/code&gt; attribute of the &lt;code&gt;img&lt;/code&gt; html tag...&lt;/li&gt;
&lt;li&gt;the &lt;code&gt;responsive-img&lt;/code&gt; CSS class will let the &lt;code&gt;img&lt;/code&gt; tag to automatically fit the size of its parent container&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;component &lt;code&gt;src\components\SVG-image.vue&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight vue"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;template&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"responsive-img"&lt;/span&gt; &lt;span class="na"&gt;alt=&lt;/span&gt;&lt;span class="s"&gt;"JS logo"&lt;/span&gt; &lt;span class="na"&gt;:src=&lt;/span&gt;&lt;span class="s"&gt;"path"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;template&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;script&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;SVG-image&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;props&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;SVGFile&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;String&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="na"&gt;computed&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;path&lt;/span&gt;&lt;span class="p"&gt;(){&lt;/span&gt;
      &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s2"&gt;`@/assets/svg/&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;SVGFile&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;script&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;style&lt;/span&gt; &lt;span class="na"&gt;lang=&lt;/span&gt;&lt;span class="s"&gt;"scss"&lt;/span&gt; &lt;span class="na"&gt;scoped&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

&lt;span class="nc"&gt;.responsive-img&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;max-width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;100%&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nl"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;auto&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;style&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Using the component &lt;code&gt;src\App.vue&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight vue"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;template&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;div&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"app"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;main&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;SVGImage&lt;/span&gt; &lt;span class="na"&gt;SVGFile=&lt;/span&gt;&lt;span class="s"&gt;'logo-js.svg'&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/main&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;template&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;script&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;SVGImage&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;./components/SVG-image.vue&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;app&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;components&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;SVGImage&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="k"&gt;script&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
//...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&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%2Fm610287by39fap6l8wbp.gif" 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%2Fm610287by39fap6l8wbp.gif" alt="gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Check it out !
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Get a local copy of this repository
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ git clone https://github.com/Drozerah/vue-svg-responsive-component.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Project setup
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ npm install
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Compiles and hot-reloads for development
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ npm run serve
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Compiles and minifies for production
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ npm run build
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once you are done with the compilation, simply:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ cd dist
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then go live your &lt;code&gt;index.html&lt;/code&gt; with your local development server...&lt;/p&gt;

&lt;p&gt;That's it!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Drozerah/vue-svg-responsive-component" rel="noopener noreferrer"&gt;Vue.js SVG Responsive Component&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

&lt;p&gt;See you next time!&lt;/p&gt;

&lt;p&gt;Drozerah&lt;/p&gt;

</description>
      <category>vue</category>
      <category>component</category>
      <category>svg</category>
      <category>responsive</category>
    </item>
    <item>
      <title>VSCode Snippet your ES6 template literals! </title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Sat, 22 Jun 2019 08:46:30 +0000</pubDate>
      <link>https://dev.to/drozerah/vscode-snippet-your-es6-template-literals-1ha2</link>
      <guid>https://dev.to/drozerah/vscode-snippet-your-es6-template-literals-1ha2</guid>
      <description>&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%2Fwaip3rz6vb58s7ajsetm.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%2Fwaip3rz6vb58s7ajsetm.png" alt="code"&gt;&lt;/a&gt;&lt;br&gt;
The more you use ES6 &lt;a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals" rel="noopener noreferrer"&gt;template literals&lt;/a&gt; into your &lt;code&gt;console.log()&lt;/code&gt; - like I do -, the more you need your VSCode snippet! Do not repeat yourself writing the same template!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;greetings&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Hello&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;greetings&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt; the DEV community!`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;// Hello the DEV community!&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Creating your own snippet with VSCode is easy:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;VSCode &amp;gt; File &amp;gt; Preferences &amp;gt; User Snippets &amp;gt; New Global Snippets file&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;then, select the language you want the snippet to be available for, &lt;code&gt;JavaScript&lt;/code&gt;in our case, copy and past your &lt;a href="https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax" rel="noopener noreferrer"&gt;snippet syntax&lt;/a&gt; as &lt;code&gt;.json&lt;/code&gt; format:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;{}javascript.json VSCode file&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="err"&gt;//...&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="nl"&gt;"Template literals to console"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"prefix"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"clgt"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"body"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="s2"&gt;"console.log(` ${$0}`)"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Template literals to console"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="err"&gt;//...&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is it !&lt;/p&gt;

&lt;p&gt;Now, in any &lt;code&gt;.js&lt;/code&gt; file you are working on, simply type the snippet prefix &lt;code&gt;clgt&lt;/code&gt; an press &lt;code&gt;Tab&lt;/code&gt; to insert a new snippet into your code. Don't forget to enable the tab completion of your editor first &lt;code&gt;"editor.tabCompletion": "on"&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Tip =&amp;gt; &lt;a href="https://snippet-generator.app/" rel="noopener noreferrer"&gt;snippet generator&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next step?&lt;/p&gt;

&lt;p&gt;Have fun &amp;amp; Be creative!&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

&lt;p&gt;See you next time!&lt;/p&gt;

&lt;p&gt;Drozerah&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>es6</category>
      <category>vscode</category>
      <category>productivity</category>
    </item>
    <item>
      <title>CLI Starter says Hello World!</title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Thu, 20 Jun 2019 17:52:09 +0000</pubDate>
      <link>https://dev.to/drozerah/cli-starter-says-hello-world-42g3</link>
      <guid>https://dev.to/drozerah/cli-starter-says-hello-world-42g3</guid>
      <description>&lt;p&gt;To the community,&lt;/p&gt;

&lt;p&gt;Hi there! This short message to let you know &lt;em&gt;&lt;a href="https://github.com/Drozerah/cli-starter" rel="noopener noreferrer"&gt;cli-starter&lt;/a&gt;&lt;/em&gt; boilerplate is born this sunny day! &lt;/p&gt;

&lt;p&gt;This material comes with the minimum settings and files that are required to start the creation of a new CLI utility with a Node.js and NPM environment...&lt;/p&gt;

&lt;p&gt;Give it a try!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Structure&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;├───bin/
│   └───cli.js
├───.gitignore
├───licence
├───package-lock.json
├───package.json
└───README.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Install&lt;/strong&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="nv"&gt;$ &lt;/span&gt;git clone https://github.com/Drozerah/cli-starter.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then install globally:&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="nv"&gt;$ &lt;/span&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once you are done with this step, you need to:&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="nv"&gt;$ &lt;/span&gt;npm &lt;span class="nb"&gt;link&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will register your CLI project locally so you are now able to run the command below anywhere into the terminal:&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="nv"&gt;$ &lt;/span&gt;cli-starter
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will prompt a message into the terminal meaning that everything is fine with the installation of &lt;em&gt;&lt;a href="https://github.com/Drozerah/cli-starter" rel="noopener noreferrer"&gt;cli-starter&lt;/a&gt;&lt;/em&gt;:&lt;/p&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%2Fraw.githubusercontent.com%2FDrozerah%2FMyGitHubStorage%2Fmaster%2Fgif%2Fcli-starter%2Fcli-starter.gif" 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%2Fraw.githubusercontent.com%2FDrozerah%2FMyGitHubStorage%2Fmaster%2Fgif%2Fcli-starter%2Fcli-starter.gif" alt="cli starter"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's it!&lt;/p&gt;

&lt;p&gt;Next step? &lt;/p&gt;

&lt;p&gt;Fork it &amp;amp; Be creative!&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

&lt;p&gt;See you next time!&lt;/p&gt;

&lt;p&gt;Drozerah&lt;/p&gt;

</description>
      <category>cli</category>
      <category>node</category>
      <category>boilerplate</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Find the largest number in an Array - one line</title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Tue, 18 Jun 2019 19:27:00 +0000</pubDate>
      <link>https://dev.to/drozerah/find-the-largest-number-in-an-array-1ohk</link>
      <guid>https://dev.to/drozerah/find-the-largest-number-in-an-array-1ohk</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wYSP5mhK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/5lgtok0khsdwcdphh46w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wYSP5mhK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/5lgtok0khsdwcdphh46w.png" alt=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Spread that out !&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>polacode</category>
      <category>codeisbeautiful</category>
    </item>
    <item>
      <title>README.md fix typo + English syntax </title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Tue, 21 May 2019 15:57:17 +0000</pubDate>
      <link>https://dev.to/drozerah/readme-md-fix-typo-english-syntax-35b7</link>
      <guid>https://dev.to/drozerah/readme-md-fix-typo-english-syntax-35b7</guid>
      <description>&lt;p&gt;Hi !&lt;/p&gt;

&lt;p&gt;Today I've published a GitHub repository, and because I must improve my English and because it's not my first language, I need any help ! If you are English fluent or if you are a native English writer, would you like &lt;a href="https://github.com/Drozerah/es6-babel-node-starter/tree/master"&gt;to check this README.md&lt;/a&gt; and give any feedback in order to fix or improve it ? Thank you !&lt;/p&gt;

&lt;p&gt;Drozerah from France&lt;/p&gt;

</description>
      <category>help</category>
    </item>
    <item>
      <title>Get App, stand app! </title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Tue, 06 Mar 2018 10:55:42 +0000</pubDate>
      <link>https://dev.to/drozerah/get-app-stand-app--2fhb</link>
      <guid>https://dev.to/drozerah/get-app-stand-app--2fhb</guid>
      <description>&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%2Fraw.githubusercontent.com%2FDrozerah%2Fquotes-on-programming%2Ff7be9d90d99e75428531067e0d01c2b6c223d76c%2Fdist%2Fimg%2FgetApp.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%2Fraw.githubusercontent.com%2FDrozerah%2Fquotes-on-programming%2Ff7be9d90d99e75428531067e0d01c2b6c223d76c%2Fdist%2Fimg%2FgetApp.png" alt="Get App, stand app!"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hi there! I’ve coded a &lt;a href="https://quotes-on-programming.netlify.com/" rel="noopener noreferrer"&gt;quotes generator on the field of programming&lt;/a&gt; as a training subject... The engine is based on a simple page that returns quotes randomly with some HTML5, CSS and Vanilla.js implementation …I don’t know if it must be more efficient, but it works well for that purpose.&lt;/p&gt;

&lt;p&gt;Not only returning quotes, I ‘have added a Twitter share button that opens a pre filled input text in a pop up (quote text + tags + page link), like originals Twitter buttons do usually using meta properties (not in my case)… I’ve also added a CSS transition between quotes when a user asks for a new quote.&lt;/p&gt;

&lt;p&gt;During the engine construction, I realized that it was a nice experience to be exposed to and read all the quotes and dive into it, kind of meditative way of coding something… So, I decided to share it with you as social experimentation, thinking to myself: “Hey!  It would make sense if other concerned people could enjoy adding quotes to the list, read them, and dive into it like I did!”&lt;/p&gt;

&lt;p&gt;Anyway, at the actual state of its development, the engine can’t be really called “Application”, no form added, and a simple JS object to store the data, so, at that point, you can’t post anything but!&lt;/p&gt;

&lt;p&gt;Feel free to request for new quotes - that make sense to you - using the form bellow this article, so that, I’ll be able to add them to the database witch is not a database.  You can also open pull requests directly using the &lt;a href="https://github.com/Drozerah/quotes-on-programming" rel="noopener noreferrer"&gt;related GitHub repository&lt;/a&gt; which is a nice way to add quotes too...&lt;/p&gt;

&lt;p&gt;&lt;a href="https://quotes-on-programming.netlify.com/" rel="noopener noreferrer"&gt;https://quotes-on-programming.netlify.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you all for reading, sharing, comment or participate!&lt;/p&gt;

&lt;p&gt;Drozerah &lt;/p&gt;

</description>
      <category>discuss</category>
      <category>programming</category>
      <category>quotes</category>
      <category>javascript</category>
    </item>
    <item>
      <title>ANTISOCIAL </title>
      <dc:creator>Drozerah</dc:creator>
      <pubDate>Thu, 08 Feb 2018 09:46:20 +0000</pubDate>
      <link>https://dev.to/drozerah/antisocial--20kj</link>
      <guid>https://dev.to/drozerah/antisocial--20kj</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jUj660nG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://mir-s3-cdn-cf.behance.net/project_modules/fs/79a49852646779.5a4bb207f3d08.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jUj660nG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://mir-s3-cdn-cf.behance.net/project_modules/fs/79a49852646779.5a4bb207f3d08.jpg" alt="Andrei Lacatusu serie"&gt;&lt;/a&gt;&lt;br&gt;
What is the futur of FaceBook, Instagram, Twitter or Tinder? We don't know - we don't care? Andrei Lacatusu got his own idea...  Since Google just had its 20 years old, the Romanian artist symbolizes the fall of giants of the Silicon Valley in a serie called “Social Decay” where he imagines their decrepit signs. Must we see the death of social networks on it... and the rise of a real social cohesion?&lt;br&gt;
&lt;a href="https://www.behance.net/gallery/52646779/Social-Decay"&gt;See the entire serie on Behance&lt;/a&gt;&lt;/p&gt;

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