<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by bugscoder on Medium]]></title>
        <description><![CDATA[Stories by bugscoder on Medium]]></description>
        <link>https://medium.com/@bugscoder?source=rss-c0f61675411------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*S6C1RmtNlXN4JMFWfjPsWA.jpeg</url>
            <title>Stories by bugscoder on Medium</title>
            <link>https://medium.com/@bugscoder?source=rss-c0f61675411------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 15:10:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bugscoder/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I’m moving]]></title>
            <link>https://bugscoder.medium.com/im-moving-885326229dca?source=rss-c0f61675411------2</link>
            <guid isPermaLink="false">https://medium.com/p/885326229dca</guid>
            <dc:creator><![CDATA[bugscoder]]></dc:creator>
            <pubDate>Thu, 07 Aug 2025 03:49:13 GMT</pubDate>
            <atom:updated>2025-08-07T03:49:13.164Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://bugscoder.notion.site/2192b9da19cf80f99c0ff05851fef4a2?v=2192b9da19cf80f0976e000c56cba1d4">https://bugscoder.notion.site/2192b9da19cf80f99c0ff05851fef4a2?v=2192b9da19cf80f0976e000c56cba1d4</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=885326229dca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Change PostgreSQL timezone]]></title>
            <link>https://bugscoder.medium.com/change-postgresql-timezone-449b5cdaf999?source=rss-c0f61675411------2</link>
            <guid isPermaLink="false">https://medium.com/p/449b5cdaf999</guid>
            <category><![CDATA[postgresql]]></category>
            <dc:creator><![CDATA[bugscoder]]></dc:creator>
            <pubDate>Wed, 02 Jul 2025 07:02:54 GMT</pubDate>
            <atom:updated>2025-07-02T07:02:54.493Z</atom:updated>
            <content:encoded><![CDATA[<p>Set timezone on database level</p><pre>ALTER DATABASE &lt;your_database_name&gt; SET timezone = &#39;UTC&#39;;</pre><p>Set timezone on global level</p><pre>-- This modifies postgresql.auto.conf<br>ALTER SYSTEM SET timezone = &#39;UTC&#39;;<br><br>-- Reload configuration (no restart needed)<br>SELECT pg_reload_conf();<br><br>-- Verify it worked<br>SHOW timezone;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=449b5cdaf999" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hide layout component in Vuetify 3]]></title>
            <link>https://bugscoder.medium.com/hide-layout-component-in-vuetify-3-bc6004683eed?source=rss-c0f61675411------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc6004683eed</guid>
            <category><![CDATA[vuetify]]></category>
            <dc:creator><![CDATA[bugscoder]]></dc:creator>
            <pubDate>Sat, 21 Jun 2025 03:22:37 GMT</pubDate>
            <atom:updated>2025-06-21T03:22:37.216Z</atom:updated>
            <content:encoded><![CDATA[<p>/src/layouts/default.vue</p><pre>&lt;ComponentName v-if=&quot;!hiddenInRoutes.includes(route.name)&quot;&gt;<br><br>&lt;script lang=&quot;ts&quot; setup&gt;<br> import { useRoute } from &#39;vue-router&#39;<br> const route = useRoute()<br> <br> const hiddenInRoutes= [&#39;/login&#39;]<br>&lt;/script&gt;</pre><p><strong>Change page layout for individual page.</strong></p><pre>&lt;route lang=&quot;yaml&quot;&gt;<br>meta:<br>  layout: filename<br>&lt;/route&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc6004683eed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vuetify Markdown]]></title>
            <link>https://bugscoder.medium.com/vuetify-markdown-b5d119ccacad?source=rss-c0f61675411------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5d119ccacad</guid>
            <category><![CDATA[vuetify]]></category>
            <category><![CDATA[markdown]]></category>
            <dc:creator><![CDATA[bugscoder]]></dc:creator>
            <pubDate>Sat, 21 Jun 2025 03:06:44 GMT</pubDate>
            <atom:updated>2025-06-21T03:06:44.439Z</atom:updated>
            <content:encoded><![CDATA[<p>Install Markdown</p><pre>npm install marked</pre><p>Markdown div</p><pre>&lt;div class=&quot;markdown-content&quot; v-html=&quot;renderedMarkdown&quot;&gt;&lt;/div&gt;</pre><p>Import markdown</p><pre>import { marked } from &#39;marked&#39;</pre><p>Computed</p><pre>const response = ref(&#39;&#39;)<br><br>const renderedMarkdown = computed(() =&gt; {<br> if (!response.value) return &#39;&#39;<br> return marked(response.value)<br>})</pre><p>Markdown CSS</p><pre><br>.markdown-content {<br>  line-height: 1.6;<br>  color: #333;<br>}<br><br>/* Markdown styling */<br>.markdown-content :deep(h1),<br>.markdown-content :deep(h2),<br>.markdown-content :deep(h3),<br>.markdown-content :deep(h4),<br>.markdown-content :deep(h5),<br>.markdown-content :deep(h6) {<br>  margin-top: 24px;<br>  margin-bottom: 16px;<br>  font-weight: 600;<br>  line-height: 1.25;<br>}<br><br>.markdown-content :deep(h1) {<br>  font-size: 2em;<br>  border-bottom: 1px solid #eaecef;<br>  padding-bottom: 10px;<br>}<br><br>.markdown-content :deep(h2) {<br>  font-size: 1.5em;<br>  border-bottom: 1px solid #eaecef;<br>  padding-bottom: 8px;<br>}<br><br>.markdown-content :deep(h3) {<br>  font-size: 1.25em;<br>}<br><br>.markdown-content :deep(p) {<br>  margin-bottom: 16px;<br>}<br><br>.markdown-content :deep(ul),<br>.markdown-content :deep(ol) {<br>  margin-bottom: 16px;<br>  padding-left: 24px;<br>}<br><br>.markdown-content :deep(li) {<br>  margin-bottom: 4px;<br>}<br><br>.markdown-content :deep(blockquote) {<br>  margin: 16px 0;<br>  padding: 0 16px;<br>  color: #6a737d;<br>  border-left: 4px solid #dfe2e5;<br>  background-color: #f6f8fa;<br>}<br><br>.markdown-content :deep(code) {<br>  background-color: rgba(27, 31, 35, 0.05);<br>  border-radius: 3px;<br>  font-size: 85%;<br>  margin: 0;<br>  padding: 0.2em 0.4em;<br>  font-family: &#39;SFMono-Regular&#39;, &#39;Consolas&#39;, &#39;Liberation Mono&#39;, &#39;Menlo&#39;, monospace;<br>}<br><br>.markdown-content :deep(pre) {<br>  background-color: #f6f8fa;<br>  border-radius: 6px;<br>  font-size: 85%;<br>  line-height: 1.45;<br>  overflow: auto;<br>  padding: 16px;<br>  margin-bottom: 16px;<br>}<br><br>.markdown-content :deep(pre code) {<br>  background-color: transparent;<br>  border: 0;<br>  display: inline;<br>  line-height: inherit;<br>  margin: 0;<br>  max-width: auto;<br>  overflow: visible;<br>  padding: 0;<br>  word-wrap: normal;<br>}<br><br>.markdown-content :deep(table) {<br>  border-collapse: collapse;<br>  margin-bottom: 16px;<br>  width: 100%;<br>}<br><br>.markdown-content :deep(table th),<br>.markdown-content :deep(table td) {<br>  border: 1px solid #dfe2e5;<br>  padding: 6px 13px;<br>}<br><br>.markdown-content :deep(table th) {<br>  background-color: #f6f8fa;<br>  font-weight: 600;<br>}<br><br>.markdown-content :deep(table tr:nth-child(2n)) {<br>  background-color: #f6f8fa;<br>}<br><br>.markdown-content :deep(a) {<br>  color: #0366d6;<br>  text-decoration: none;<br>}<br><br>.markdown-content :deep(a:hover) {<br>  text-decoration: underline;<br>}<br><br>.markdown-content :deep(strong) {<br>  font-weight: 600;<br>}<br><br>.markdown-content :deep(em) {<br>  font-style: italic;<br>}<br><br>/* Syntax highlighting adjustments */<br>.markdown-content :deep(.hljs) {<br>  background: #f6f8fa !important;<br>  color: #24292e !important;<br>}</pre><p><strong>Enable Syntax Highlighting</strong></p><p>Install Highlight.js</p><pre>npm install highlight.js</pre><p>Import Highlight.js</p><pre>import hljs from &#39;highlight.js&#39;</pre><p>Import CSS</p><pre>import &#39;highlight.js/styles/github.css&#39;<br>// import &#39;highlight.js/styles/github.css&#39;<br>// import &#39;highlight.js/styles/vs2015.css&#39;<br>// import &#39;highlight.js/styles/atom-one-dark.css&#39;</pre><p>Watch</p><pre>watch(renderedMarkdown, () =&gt; {<br>  nextTick(() =&gt; {<br>    hljs.highlightAll()<br>  })<br>}, { immediate: true })</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5d119ccacad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reset forgot password in PostgreSQL (Windows)]]></title>
            <link>https://bugscoder.medium.com/reset-forgot-password-in-postgresql-windows-75e85280c33d?source=rss-c0f61675411------2</link>
            <guid isPermaLink="false">https://medium.com/p/75e85280c33d</guid>
            <category><![CDATA[postgresql]]></category>
            <dc:creator><![CDATA[bugscoder]]></dc:creator>
            <pubDate>Tue, 10 Jun 2025 05:55:39 GMT</pubDate>
            <atom:updated>2025-06-10T05:55:39.145Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Stop service</li></ol><pre>net stop postgresql-x64-14<br><br>#change 14 to installed version</pre><p>2. Backup pg_hba.conf</p><pre>cd C:\Program Files\PostgreSQL\14\data\<br>copy pg_hba.conf pg_hba2.conf</pre><p>3. Edit pg_hba.conf</p><pre>local   all             all                                     trust<br>host    all             all             127.0.0.1/32            trust  <br>host    all             all             ::1/128                 trust</pre><p>4. Restart service</p><pre>net stop postgresql-x64-14<br>net start postgresql-x64-14</pre><p>5. Connect and change password</p><pre>cd C:\Program Files\PostgreSQL\14\bin\<br>psql -U postgres -h localhost<br>ALTER USER postgres PASSWORD &#39;your_new_password&#39;;<br>\q</pre><p>6. Delete and restore old pg_hba.conf</p><pre>cd C:\Program Files\PostgreSQL\14\data\<br>del pg_hba2.conf<br>rename pg_hba2.conf pg_hba.conf</pre><p>7. Restart service</p><pre>net stop postgresql-x64-14<br>net start postgresql-x64-14</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75e85280c33d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python __init.py__]]></title>
            <link>https://bugscoder.medium.com/python-init-py-4f79f718dcd5?source=rss-c0f61675411------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f79f718dcd5</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[python3]]></category>
            <dc:creator><![CDATA[bugscoder]]></dc:creator>
            <pubDate>Mon, 02 Jun 2025 05:34:48 GMT</pubDate>
            <atom:updated>2025-06-02T05:34:48.213Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Without </strong><strong>__init__.py</strong>: Works in Python 3.3+, but limited functionality</p><p><strong>With </strong><strong>__init__.py</strong>: Full package control, better organization, more features</p><h3>Skip __init__.py when:</h3><ol><li>Simple directory structure</li><li>Just organizing files</li><li>No package-level logic needed</li><li>Modern Python 3.3+ projects</li></ol><h3>1. Without __init__.py:</h3><pre># main.py<br>from routers import users, products, orders  # ✅ Works<br><br># This will fail:<br>import routers<br>routers.users  # ❌ AttributeError</pre><h3>2. With __init__.py:</h3><pre># routers/__init__.py<br>from . import users<br>from . import products<br>from . import orders<br><br># Or expose specific functions<br>from .users import router as users_router<br>from .products import router as products_router</pre><pre># main.py<br>import routers<br>routers.users  # ✅ Works<br>routers.products  # ✅ Works<br><br># Or<br>from routers import users_router, products_router</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f79f718dcd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integrating Tailwind CSS with Vuetify]]></title>
            <link>https://bugscoder.medium.com/integrating-tailwind-css-with-vuetify-2b3bbdd5bc30?source=rss-c0f61675411------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b3bbdd5bc30</guid>
            <category><![CDATA[tailwind]]></category>
            <category><![CDATA[vuetify]]></category>
            <dc:creator><![CDATA[bugscoder]]></dc:creator>
            <pubDate>Tue, 27 May 2025 15:46:13 GMT</pubDate>
            <atom:updated>2025-05-27T15:46:13.652Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Install Tailwind and dependencies</li></ol><pre>npm install -D tailwindcss@^3.4.0 postcss autoprefixer<br>npx --verbose tailwindcss init -p</pre><p>2. Update tailwind.config.js</p><pre>/** @type {import(&#39;tailwindcss&#39;).Config} */<br>module.exports = {<br>  content: [&#39;./index.html&#39;, &#39;./src/**/*.{vue,js,ts,jsx,tsx}&#39;],<br>  theme: {<br>    extend: {},<br>  },<br>  plugins: [],<br>  // Important: Add prefix to avoid conflicts with Vuetify<br>  prefix: &#39;tw-&#39;,<br>  important: true,<br>  corePlugins: {<br>    preflight: false,<br>  },<br>};</pre><p>3. Create src/assets/css/tailwind.css</p><pre>@tailwind base;<br>@tailwind components;<br>@tailwind utilities;</pre><p>4. Import into App.vue</p><pre>&lt;style&gt;<br>@import &#39;./assets/css/tailwind.css&#39;;<br>&lt;/style&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b3bbdd5bc30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enable color in CMD]]></title>
            <link>https://bugscoder.medium.com/enable-color-in-cmd-2955db24faa2?source=rss-c0f61675411------2</link>
            <guid isPermaLink="false">https://medium.com/p/2955db24faa2</guid>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[command-line]]></category>
            <dc:creator><![CDATA[bugscoder]]></dc:creator>
            <pubDate>Thu, 22 May 2025 09:06:09 GMT</pubDate>
            <atom:updated>2025-06-04T04:34:39.341Z</atom:updated>
            <content:encoded><![CDATA[<pre>reg add HKCU\Console /v VirtualTerminalLevel /t REG_DWORD /d 1 /f</pre><p>Restart</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2955db24faa2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Cloud CLI]]></title>
            <link>https://bugscoder.medium.com/google-cloud-cli-203d44e09801?source=rss-c0f61675411------2</link>
            <guid isPermaLink="false">https://medium.com/p/203d44e09801</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[bugscoder]]></dc:creator>
            <pubDate>Sat, 17 May 2025 13:08:26 GMT</pubDate>
            <atom:updated>2025-05-17T13:27:02.551Z</atom:updated>
            <content:encoded><![CDATA[<p>Login</p><pre>gcloud auth login</pre><p>Check which account currently logged in</p><pre>gcloud auth list<br>gcloud config get-value account</pre><p>List the projects</p><pre>gcloud projects list</pre><p>Set project</p><pre>gcloud config set project [project_id]</pre><p>Check set project</p><pre>gcloud config get-value project</pre><p>Enable Cloud Run API</p><pre>gcloud services enable run.googleapis.com</pre><p>List enabled API</p><pre>gcloud services list --enabled<br>gcloud services list --enabled | grep -i &quot;run.googleapis.com&quot;</pre><p>Build</p><pre>gcloud builds submit --tag gcr.io/[project_id]/[image_name]</pre><p>Deploy</p><pre>gcloud run deploy [image_name]-service2 --image gcr.io/[project_id]/[image_name] --platform managed --region asia-southeast1 --allow-unauthenticated</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=203d44e09801" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git]]></title>
            <link>https://bugscoder.medium.com/git-839afe0b665b?source=rss-c0f61675411------2</link>
            <guid isPermaLink="false">https://medium.com/p/839afe0b665b</guid>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[bugscoder]]></dc:creator>
            <pubDate>Fri, 04 Apr 2025 13:46:14 GMT</pubDate>
            <atom:updated>2025-07-02T00:52:02.199Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Delete file</li></ol><pre>git rm &lt;filename&gt;<br>git commit -a -m &quot;comment&quot;<br>git push</pre><p>2. Rename file</p><pre>git mv old_filename new_filename</pre><p>3. Clone from repo</p><pre>git clone [-b &lt;branch-name&gt;] &lt;repository-url&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=839afe0b665b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>