<?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>Forem: vuongbui</title>
    <description>The latest articles on Forem by vuongbui (@vuongbui).</description>
    <link>https://forem.com/vuongbui</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%2F447950%2F1696073b-94af-47c6-adee-1205aad0b410.jpeg</url>
      <title>Forem: vuongbui</title>
      <link>https://forem.com/vuongbui</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/vuongbui"/>
    <language>en</language>
    <item>
      <title>Pritunl client cli</title>
      <dc:creator>vuongbui</dc:creator>
      <pubDate>Fri, 27 Dec 2024 04:43:05 +0000</pubDate>
      <link>https://forem.com/vuongbui/pritunl-client-cli-3i8n</link>
      <guid>https://forem.com/vuongbui/pritunl-client-cli-3i8n</guid>
      <description>&lt;p&gt;Pritunl client stops working in Ubuntu 20.04. Now it supports Ubuntu 24.04 and 24.10 only.&lt;br&gt;
So I have to install pritunl client cli to connect to Pritunl VPN server.&lt;/p&gt;

&lt;p&gt;In the Pritunl server, open the Temporary url to view profile link,set up Two-step authentication key, it will be used as the password&lt;/p&gt;

&lt;p&gt;Install: apt install pritunl-client&lt;/p&gt;

&lt;p&gt;After downloading the Profile and save in the machine, we need to add the profile with the command:&lt;br&gt;
$ pritunl-client add path_to_your_profile&lt;/p&gt;

&lt;p&gt;Another instruction:&lt;br&gt;
$ printunl-client add profile_url (not work for me)&lt;/p&gt;

&lt;p&gt;Check the profile id&lt;br&gt;
Then run $ pritunl-client list to see the Profile Id&lt;/p&gt;

&lt;p&gt;Start the VPN connection&lt;br&gt;
$ pritunl-client start your_profile_id&lt;/p&gt;

&lt;p&gt;It will fail to connect unless a password is provided. Use the code in the authentication app.&lt;br&gt;
Update the above command password option&lt;br&gt;
$ pritunl-client start your_profile_id --password=your_authentication_code&lt;/p&gt;

</description>
      <category>pritunlclient</category>
      <category>vpn</category>
    </item>
    <item>
      <title>Update article via DevTo API v3</title>
      <dc:creator>vuongbui</dc:creator>
      <pubDate>Thu, 14 Mar 2024 08:36:08 +0000</pubDate>
      <link>https://forem.com/vuongbui-org/update-article-using-devto-api-3g4d</link>
      <guid>https://forem.com/vuongbui-org/update-article-using-devto-api-3g4d</guid>
      <description>&lt;p&gt;If you are trying to update the articles in your organization via Dev.to's API. It is likely you will get error 404.&lt;/p&gt;

&lt;p&gt;I am experimenting the available methods in dev.to API to figure out how to do it.&lt;/p&gt;

&lt;p&gt;Here is what I found:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The API key works with the articles created by the owner only.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devto</category>
      <category>api</category>
      <category>update</category>
      <category>headers</category>
    </item>
    <item>
      <title>How to end your test subscription end soon in Stripe</title>
      <dc:creator>vuongbui</dc:creator>
      <pubDate>Thu, 14 Mar 2024 08:13:25 +0000</pubDate>
      <link>https://forem.com/vuongbui/how-to-make-your-test-subscription-status-pastdue-fast-2dkn</link>
      <guid>https://forem.com/vuongbui/how-to-make-your-test-subscription-status-pastdue-fast-2dkn</guid>
      <description>&lt;p&gt;I wanted to make the subscription status &lt;code&gt;past_due&lt;/code&gt; from &lt;code&gt;trialing&lt;/code&gt;. as soon as possible.&lt;/p&gt;

&lt;p&gt;How did I do it?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create customer&lt;/li&gt;
&lt;li&gt;Create subscription (better without trial)&lt;/li&gt;
&lt;li&gt;If trial, update subscription with &lt;code&gt;trial_end = now&lt;/code&gt;
&lt;a href="https://stripe.com/docs/api/subscriptions/update#update_subscription-trial_end"&gt;https://stripe.com/docs/api/subscriptions/update#update_subscription-trial_end&lt;/a&gt; (set trial_end = now).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  - After the trial ends, it takes 1 hour for finalizing the invoice. You should finalize it with &lt;a href="https://stripe.com/docs/api/invoices/finalize"&gt;https://stripe.com/docs/api/invoices/finalize&lt;/a&gt;
&lt;/h2&gt;

</description>
      <category>stripe</category>
      <category>testing</category>
      <category>pastdue</category>
      <category>payment</category>
    </item>
  </channel>
</rss>
