<?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: SuperninjaX2</title>
    <description>The latest articles on DEV Community by SuperninjaX2 (@superninjax2).</description>
    <link>https://dev.to/superninjax2</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%2F688261%2F70440ab8-d828-4081-a8f1-58b3fe1e00dc.jpg</url>
      <title>DEV Community: SuperninjaX2</title>
      <link>https://dev.to/superninjax2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/superninjax2"/>
    <language>en</language>
    <item>
      <title>Setting up android for a coding environment</title>
      <dc:creator>SuperninjaX2</dc:creator>
      <pubDate>Sat, 07 Dec 2024 12:35:04 +0000</pubDate>
      <link>https://dev.to/superninjax2/setting-up-android-for-a-coding-environment-2pag</link>
      <guid>https://dev.to/superninjax2/setting-up-android-for-a-coding-environment-2pag</guid>
      <description>&lt;h1&gt;
  
  
  Prologue
&lt;/h1&gt;

&lt;p&gt;Over the years, processors in mobile devices have gotten faster and faster to the point where they can even emulate PC games well. With that power, we should be able to do web development just fine. Leaving aside the limitations of the ARM CPU architecture, we are going to set up a coding environment on Android.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Android phone (version 7 and above)&lt;/li&gt;
&lt;li&gt;Ability to download approximately 200 MB&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Step 1
&lt;/h2&gt;

&lt;p&gt;Download Termux from F-Droid &lt;a href="https://f-droid.org/en/packages/com.termux/" rel="noopener noreferrer"&gt;click here&lt;/a&gt;&lt;br&gt;
And download Acode from the Google Play Store &lt;a href="https://play.google.com/store/apps/details?id=com.foxdebug.acodefree" rel="noopener noreferrer"&gt;from here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="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%2Farticles%2Fb1uzulfazxdilx93rfiv.png" class="article-body-image-wrapper"&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%2Farticles%2Fb1uzulfazxdilx93rfiv.png" alt="Image description" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Once downloaded, go to your Android settings under &lt;strong&gt;Power&lt;/strong&gt; or &lt;strong&gt;Battery Settings&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="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%2Farticles%2Fanon5ac2ixfq1f5ey93g.png" class="article-body-image-wrapper"&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%2Farticles%2Fanon5ac2ixfq1f5ey93g.png" alt="Image description" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Whitelist Acode and Termux from battery saver and battery optimization &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="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%2Farticles%2Fm7x7685k0g0lac4243ii.png" class="article-body-image-wrapper"&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%2Farticles%2Fm7x7685k0g0lac4243ii.png" alt="battery saver off" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Now open Acode and Termux &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 3
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open the left side menu in Acode and click on "Open Folder"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="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%2Farticles%2Fz5phui4t0pr2s80lmgqj.png" class="article-body-image-wrapper"&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%2Farticles%2Fz5phui4t0pr2s80lmgqj.png" alt="Image description" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Then click on the plus icon at the top&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="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%2Farticles%2Fw2a8iumuw3wq250olz54.png" class="article-body-image-wrapper"&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%2Farticles%2Fw2a8iumuw3wq250olz54.png" alt="Image description" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Choose "Add Path" and click "Select Folder"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="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%2Farticles%2Fpzo762rhnswc3s0mqxx3.png" class="article-body-image-wrapper"&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%2Farticles%2Fpzo762rhnswc3s0mqxx3.png" alt="Image description" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In Android Material Files, open the side menu and click Termux&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="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%2Farticles%2Fwndy72i35gnd0ea78310.png" class="article-body-image-wrapper"&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%2Farticles%2Fwndy72i35gnd0ea78310.png" alt="Image description" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click "Add This Folder"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="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%2Farticles%2Fp69y1trqraojszlwbejh.png" class="article-body-image-wrapper"&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%2Farticles%2Fp69y1trqraojszlwbejh.png" alt="Image description" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Name the folder&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With this done, you have successfully connected Acode and Termux.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Enter the Termux directory you just created&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on the &lt;strong&gt;New Folder&lt;/strong&gt; icon and create a new folder named &lt;strong&gt;&lt;em&gt;test&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on the &lt;strong&gt;Mark&lt;/strong&gt; icon and confirm the dialog that opens&lt;br&gt;
&lt;a href="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%2Farticles%2F2hnu6ropaj657ibeejqg.png" class="article-body-image-wrapper"&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%2Farticles%2F2hnu6ropaj657ibeejqg.png" alt="acode file manager" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 5
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Click on the three dots on the &lt;strong&gt;test&lt;/strong&gt; folder that has now appeared in the sidebar&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="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%2Farticles%2Fgflsx33o302di6ocxmq0.png" class="article-body-image-wrapper"&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%2Farticles%2Fgflsx33o302di6ocxmq0.png" alt="acode side bar" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Choose "New File" and name the file &lt;strong&gt;index.html&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Copy this code:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;hello&lt;span class="nt"&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="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%2Farticles%2F1k00rb2y769uz7c4mp8z.png" class="article-body-image-wrapper"&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%2Farticles%2F1k00rb2y769uz7c4mp8z.png" alt="acode side bar" width="720" height="1612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on the play button at the top to see what happens &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 6
&lt;/h2&gt;

&lt;p&gt;To finish this tutorial Click on &lt;a href="https://youtu.be/0s4Du34nyCQ" rel="noopener noreferrer"&gt;this link&lt;/a&gt;&lt;br&gt;
And see how to use plugins and AcodeX-server so you can use the Termux terminal inside&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Go fiber scaffolding cli</title>
      <dc:creator>SuperninjaX2</dc:creator>
      <pubDate>Thu, 29 Aug 2024 22:11:22 +0000</pubDate>
      <link>https://dev.to/superninjax2/go-fiber-scaffolding-cli-3n3e</link>
      <guid>https://dev.to/superninjax2/go-fiber-scaffolding-cli-3n3e</guid>
      <description>&lt;h2&gt;
  
  
  Fiber-Generator: A Scaffolding Tool for Go Fiber Framework
&lt;/h2&gt;

&lt;p&gt;If you need a simple scaffolding tool that generates boilerplate code for the &lt;strong&gt;Go Fiber&lt;/strong&gt; framework, similar to the &lt;strong&gt;express-generator&lt;/strong&gt; tool, then you're in luck.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fiber-generator&lt;/strong&gt; is a template scaffolding tool for the Go Fiber framework that generates boilerplate code in an MVC architecture with &lt;strong&gt;HTMX&lt;/strong&gt;, &lt;strong&gt;HTML&lt;/strong&gt;, &lt;strong&gt;CSS&lt;/strong&gt;, and &lt;strong&gt;JavaScript&lt;/strong&gt; preconfigured.&lt;/p&gt;

&lt;h3&gt;
  
  
  GitHub Repository
&lt;/h3&gt;

&lt;p&gt;You can find the project repository here: &lt;a href="https://github.com/SuperninjaXII/Fiber-generator.git" rel="noopener noreferrer"&gt;Fiber-generator&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Installation Instructions
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Prerequisites:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Make sure you have the Go programming language installed (preferably version 1.6 or higher).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Install Fiber-generator:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run the following command to install Fiber-generator:
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; go &lt;span class="nb"&gt;install &lt;/span&gt;github.com/SuperninjaXII/Fiber-generator@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Generate Your Project:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use the &lt;code&gt;fiber-generator&lt;/code&gt; command with the &lt;code&gt;--name&lt;/code&gt; flag followed by the name of your project:
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; fiber-generator &lt;span class="nt"&gt;--name&lt;/span&gt; my-project
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;This will initialize the Go module and generate the necessary files and folders.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Install Dependencies:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you have &lt;code&gt;make&lt;/code&gt; installed, run:
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; make &lt;span class="nb"&gt;install&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you don't have &lt;code&gt;make&lt;/code&gt;, run:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; go mod tidy
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Build the Application:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;To build your application, use:
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; make build
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Alternatively, you can use:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; go build &lt;span class="nt"&gt;-o&lt;/span&gt; &lt;span class="s2"&gt;"output-name"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Show Your Support
&lt;/h3&gt;

&lt;p&gt;If you find this tool helpful, please consider giving the project a star ⭐ on GitHub:&lt;br&gt;&lt;br&gt;
&lt;a href="https://github.com/SuperninjaXII/Fiber-generator" rel="noopener noreferrer"&gt;Fiber-generator&lt;/a&gt;&lt;/p&gt;

</description>
      <category>go</category>
      <category>backend</category>
      <category>gofiber</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
