<?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: Afrijal Dzuhri</title>
    <description>The latest articles on DEV Community by Afrijal Dzuhri (@afrijaldz).</description>
    <link>https://dev.to/afrijaldz</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%2F66105%2F821a1fcc-64f4-44e7-9d03-ed2116297133.jpeg</url>
      <title>DEV Community: Afrijal Dzuhri</title>
      <link>https://dev.to/afrijaldz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/afrijaldz"/>
    <language>en</language>
    <item>
      <title>[Boost]</title>
      <dc:creator>Afrijal Dzuhri</dc:creator>
      <pubDate>Fri, 21 Feb 2025 16:02:08 +0000</pubDate>
      <link>https://dev.to/afrijaldz/-4f8n</link>
      <guid>https://dev.to/afrijaldz/-4f8n</guid>
      <description>&lt;div class="ltag__link"&gt;
  &lt;a href="/pierre" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&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%2Fuser%2Fprofile_image%2F87903%2Fa1ab22ac-c90c-4af4-8268-23129389aa6f.jpeg" alt="pierre"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/pierre/gmail-with-cloudflare-email-routing-4413" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;How to Send Emails Using Gmail SMTP with Cloudflare Email Routing?&lt;/h2&gt;
      &lt;h3&gt;Pierre-Henry Soria ✨ ・ Aug 20 '24&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#hosting&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#cloudflare&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#email&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#dns&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
      <category>hosting</category>
      <category>cloudflare</category>
      <category>email</category>
      <category>dns</category>
    </item>
    <item>
      <title>How to Reset Auto Increment in Postgres</title>
      <dc:creator>Afrijal Dzuhri</dc:creator>
      <pubDate>Tue, 02 Jul 2024 11:37:36 +0000</pubDate>
      <link>https://dev.to/afrijaldz/how-to-reset-auto-increment-in-postgres-38fe</link>
      <guid>https://dev.to/afrijaldz/how-to-reset-auto-increment-in-postgres-38fe</guid>
      <description>&lt;p&gt;Reset or change auto increment in postgres using &lt;code&gt;ALTER SEQUENCE&lt;/code&gt; command. To use that command you can determine which table and column that you wil change.&lt;/p&gt;

&lt;p&gt;For example you have roles table and inside that role table you want reset the id column.&lt;/p&gt;

&lt;p&gt;You can use this simple query below to reset auto increment in postgres.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ALTER SEQUENCE roles_id_seq RESTART WITH 1&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;note:&lt;/p&gt;

&lt;p&gt;the &lt;code&gt;_seq&lt;/code&gt; is required, you cannot remove it. So the pattern is &lt;code&gt;{table}_{column}_seq&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;In postgres you cannot change to 0, the minimum value is 1.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://afrijal.dev/posts/how-to-reset-auto-increment-in-postgres/"&gt;Original post&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Answer: Quill rich text editor resize image only works in IE but not in Chrome or Edge</title>
      <dc:creator>Afrijal Dzuhri</dc:creator>
      <pubDate>Thu, 23 Jul 2020 10:18:23 +0000</pubDate>
      <link>https://dev.to/afrijaldz/answer-quill-rich-text-editor-resize-image-only-works-in-ie-but-not-in-chrome-or-edge-548m</link>
      <guid>https://dev.to/afrijaldz/answer-quill-rich-text-editor-resize-image-only-works-in-ie-but-not-in-chrome-or-edge-548m</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Gn-iPj_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/51547074/quill-rich-text-editor-resize-image-only-works-in-ie-but-not-in-chrome-or-edge/51569741#51569741" rel="noopener noreferrer"&gt;
              &lt;span class="title-flare"&gt;answer&lt;/span&gt; re:  Quill rich text editor resize image only works in IE but not in Chrome or Edge
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Jul 28 '18&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/51547074/quill-rich-text-editor-resize-image-only-works-in-ie-but-not-in-chrome-or-edge/51569741#51569741" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Y9mJpuJP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wif5Zq3z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;I'm using quill editor with vue and I had to install some modules for image resize:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1 Install modules&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;yarn add quill-image-resize-module --save
yarn add quill-image-drop-module --save
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;or using npm:&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;npm install quill-image-resize-module --save
npm install quill-image-drop-module --save
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;2 Import and register modules&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;import { ImageDrop } from 'quill-image-drop-module'
import&lt;/code&gt;&lt;/pre&gt;…
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/51547074/quill-rich-text-editor-resize-image-only-works-in-ie-but-not-in-chrome-or-edge/51569741#51569741" rel="noopener noreferrer"&gt;Open Full Answer&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
