<?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: Raphaël T</title>
    <description>The latest articles on Forem by Raphaël T (@trohpso).</description>
    <link>https://forem.com/trohpso</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%2F3372365%2Fb9ca9784-313b-4ed7-8558-bb73432155ff.png</url>
      <title>Forem: Raphaël T</title>
      <link>https://forem.com/trohpso</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/trohpso"/>
    <language>en</language>
    <item>
      <title>Programming with Kotlin on Visual Studio Code or Codium</title>
      <dc:creator>Raphaël T</dc:creator>
      <pubDate>Thu, 26 Feb 2026 14:48:18 +0000</pubDate>
      <link>https://forem.com/trohpso/working-with-kotlin-on-vs-codecodium-3gbo</link>
      <guid>https://forem.com/trohpso/working-with-kotlin-on-vs-codecodium-3gbo</guid>
      <description>&lt;h2&gt;
  
  
  (Mainly) for Windows user:
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Download JDK
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Manually &lt;a href="https://adoptium.net/temurin/releases" rel="noopener noreferrer"&gt;https://adoptium.net/temurin/releases&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;winget install EclipseAdoptium.Temurin.25.JDK&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Download &lt;strong&gt;&lt;a href="https://gradle.org/releases/" rel="noopener noreferrer"&gt;Gradle&lt;/a&gt;&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;if your not using scoop make sure you have set gradle as the system environnement variable on your current system.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Via &lt;a href="https://scoop.sh/" rel="noopener noreferrer"&gt;Scoop&lt;/a&gt; package manager.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Set-ExecutionPolicy &lt;span class="nt"&gt;-ExecutionPolicy&lt;/span&gt; RemoteSigned &lt;span class="nt"&gt;-Scope&lt;/span&gt; CurrentUser
Invoke-RestMethod &lt;span class="nt"&gt;-Uri&lt;/span&gt; https://get.scoop.sh | Invoke-Expression

scoop bucket add main
scoop &lt;span class="nb"&gt;install &lt;/span&gt;main/gradle
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Check JDK uniqueness
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;java --version&lt;/code&gt; and &lt;code&gt;gradle -version&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;(Important) - Make sur it's using the same JAVA_HOME.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Download LSP
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Download &lt;a href="https://github.com/Kotlin/kotlin-lsp/releases/" rel="noopener noreferrer"&gt;https://github.com/Kotlin/kotlin-lsp/releases/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Open your editor&lt;/li&gt;
&lt;li&gt;Drag and Drog the LSP that you download on the extension panel.&lt;/li&gt;
&lt;li&gt;Go to settings &amp;gt; extension &amp;gt; kotlin by jetbrain, and set the JAVA_HOME  PATH to JDK label.&lt;/li&gt;
&lt;li&gt;Open terminal type &lt;code&gt;gradle init --type kotlin-application&lt;/code&gt;, and wait for the load of the LSP extension.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Run the application
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gradle &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; 
gradle build &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
gradle run 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>kotlin</category>
      <category>vscode</category>
      <category>lsp</category>
      <category>programming</category>
    </item>
    <item>
      <title>Setting Up C Development Environment on Windows</title>
      <dc:creator>Raphaël T</dc:creator>
      <pubDate>Fri, 09 Jan 2026 15:40:21 +0000</pubDate>
      <link>https://forem.com/trohpso/setup-c-programming-language-for-windows-users-597j</link>
      <guid>https://forem.com/trohpso/setup-c-programming-language-for-windows-users-597j</guid>
      <description>&lt;p&gt;Installation process using 2 package manager, Microsoft default called Winget and &lt;a href="http://scoop.sh/" rel="noopener noreferrer"&gt;Scoop&lt;/a&gt;. Meanwhile you can still download dependencies from originals sources.&lt;/p&gt;

&lt;p&gt;I've Been testing it in Visual Studio Code even &lt;a href="https://vscodium.com/" rel="noopener noreferrer"&gt;VSCodium&lt;/a&gt; and &lt;a href="https://helix-editor.com/" rel="noopener noreferrer"&gt;Helix&lt;/a&gt;. &lt;/p&gt;

&lt;h4&gt;
  
  
  Download &lt;a href="http://scoop.sh/:" rel="noopener noreferrer"&gt;http://scoop.sh/:&lt;/a&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;In &lt;a href="https://learn.microsoft.com/fr-fr/powershell/scripting/install/install-powershell?view=powershell-7.5" rel="noopener noreferrer"&gt;Powershell&lt;/a&gt; Terminal (lastest version recommended)
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Set-ExecutionPolicy &lt;span class="nt"&gt;-ExecutionPolicy&lt;/span&gt; RemoteSigned &lt;span class="nt"&gt;-Scope&lt;/span&gt; CurrentUser
Invoke-RestMethod &lt;span class="nt"&gt;-Uri&lt;/span&gt; https://get.scoop.sh | Invoke-Expression
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2 options available below
&lt;/h3&gt;

&lt;h4&gt;
  
  
  First option programming without CMake
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;winget &lt;span class="nb"&gt;install &lt;/span&gt;LLVM.LLVM Microsoft.VisualStudio.BuildTools
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Second optin programming with CMake
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Toolchain installation
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;winget &lt;span class="nb"&gt;install &lt;/span&gt;LLVM.LLVM Kitware.CMake Ninja-build.Ninja Microsoft.VisualStudio.BuildTools
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;C/C++ &lt;a href="https://vcpkg.io/" rel="noopener noreferrer"&gt;VCPKG&lt;/a&gt; Package Management:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;scoop bucket add main
scoop &lt;span class="nb"&gt;install &lt;/span&gt;main/vcpkg
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Adding LLVM Bin in "PATH"
&lt;/h3&gt;

&lt;p&gt;Open : Windows settings (Windows + i)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Search for "environement variable"&lt;/li&gt;
&lt;li&gt;On System Variable &amp;gt; Path -&amp;gt; Add : &lt;code&gt;C:\Program Files\LLVM\bin&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Checking if programs corectly installed
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;clang --version&lt;/code&gt;&lt;br&gt;
&lt;code&gt;cmake --version&lt;/code&gt;&lt;br&gt;
&lt;code&gt;vcpkg --version&lt;/code&gt; &lt;br&gt;
&lt;code&gt;ninja --version&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To get started you can refer to my template repository:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/TROHPSO/c-cpp-template" rel="noopener noreferrer"&gt;https://github.com/TROHPSO/c-cpp-template&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Download C libraries :
&lt;/h3&gt;

&lt;p&gt;Open : Visual Studio Installer&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Modify &amp;gt; Desktop C++&lt;/li&gt;
&lt;li&gt;Select : Clang for Windows&lt;/li&gt;
&lt;li&gt;Press download button&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Enable CMake And VCPKG
&lt;/h3&gt;

&lt;p&gt;Open : Visual Studio Installer&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select : Tools for CMake&lt;/li&gt;
&lt;li&gt;Select : Package manager VCPKG&lt;/li&gt;
&lt;li&gt;Press download button&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>programming</category>
      <category>c</category>
      <category>cpp</category>
      <category>vscode</category>
    </item>
    <item>
      <title>Simple HTML Tailwind Integration With Bun</title>
      <dc:creator>Raphaël T</dc:creator>
      <pubDate>Sun, 20 Jul 2025 16:17:24 +0000</pubDate>
      <link>https://forem.com/trohpso/simple-html-tailwind-integration-with-bun-1b3o</link>
      <guid>https://forem.com/trohpso/simple-html-tailwind-integration-with-bun-1b3o</guid>
      <description>&lt;p&gt;This tutorial follow the original guide from Tailwind &lt;a href="https://tailwindcss.com/docs/installation/tailwind-cli" rel="noopener noreferrer"&gt;installation/tailwind-cli&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Installing will ensure that you can create your own custom CSS classes, and handling as well HMR. In a Vanilla web project structure without vite or other modern framework.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Full document Google drive&lt;/strong&gt; : &lt;a href="https://docs.google.com/document/d/1rnReaUHFUE2RC33rQEzVPpP1Cazc5XnFlVm0px3MKME/edit?usp=sharing" rel="noopener noreferrer"&gt;Simple HTML Tailwind  Integration With Bun&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Recommended project structure :&lt;br&gt;
./src/&lt;br&gt;
./index.html&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Installing TailwindCSS &amp;amp; Tailwind CLI. &lt;br&gt;
&lt;code&gt;bun install tailwindcss @tailwindcss/cli&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a index.css in your src/ folder.&lt;br&gt;
&lt;strong&gt;Copy &amp;amp; paste :&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@import&lt;/span&gt; &lt;span class="s1"&gt;"tailwindcss"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@tailwind&lt;/span&gt; &lt;span class="n"&gt;base&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@tailwind&lt;/span&gt; &lt;span class="n"&gt;components&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;@tailwind&lt;/span&gt; &lt;span class="n"&gt;utilities&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;At your root project directory create a &lt;code&gt;tailwind.config.js&lt;/code&gt; file.
&lt;strong&gt;Copy &amp;amp; paste :&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="cm"&gt;/** @type {import('tailwindcss').Config} */&lt;/span&gt;
&lt;span class="nx"&gt;module&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;exports&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;./src/**/*.{html,js}&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;],&lt;/span&gt;
  &lt;span class="na"&gt;theme&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;extend&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="na"&gt;plugins&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Make sure you remove any tailwind CDN. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Build the CSS classes with the following command &lt;code&gt;bun run tailwindcss -i ./src/input.css -o ./src/output.css --watch&lt;/code&gt;.&lt;br&gt;
It will detect all the changes and apply it in the output.css file&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run your project in localhost &lt;code&gt;with bun run ./index.html&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the &lt;code&gt;&amp;lt;link rel="stylesheet" href="./src/output.css"&amp;gt;&lt;/code&gt; to your index.html file.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;And that's it, you will now be able to practice Tailwind CSS Without the CDN.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>bunjs</category>
      <category>tailwindcss</category>
    </item>
  </channel>
</rss>
