<?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: Pau Garcia</title>
    <description>The latest articles on DEV Community by Pau Garcia (@paugarcia32).</description>
    <link>https://dev.to/paugarcia32</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%2F1049089%2Fa49baf68-6781-486f-896e-830c6f760b4d.jpeg</url>
      <title>DEV Community: Pau Garcia</title>
      <link>https://dev.to/paugarcia32</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/paugarcia32"/>
    <language>en</language>
    <item>
      <title>Monokai</title>
      <dc:creator>Pau Garcia</dc:creator>
      <pubDate>Wed, 08 Jan 2025 15:04:55 +0000</pubDate>
      <link>https://dev.to/paugarcia32/monokai-k9d</link>
      <guid>https://dev.to/paugarcia32/monokai-k9d</guid>
      <description></description>
    </item>
    <item>
      <title>Customize zsh</title>
      <dc:creator>Pau Garcia</dc:creator>
      <pubDate>Fri, 07 Apr 2023 19:14:55 +0000</pubDate>
      <link>https://dev.to/paugarcia32/customize-zsh-5hj9</link>
      <guid>https://dev.to/paugarcia32/customize-zsh-5hj9</guid>
      <description>&lt;p&gt;For this, we are going to use &lt;a href="https://github.com/romkatv/zsh4humans"&gt;zsh4humans&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So firts, we are going to installit a &lt;a href="https://www.nerdfonts.com/"&gt;nerd font&lt;/a&gt; and enabling it in the system for having icons in our terminal&lt;br&gt;
Personally, i like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hack Nerd Fonts&lt;/li&gt;
&lt;li&gt;Ubuntu Nerd Font&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then, we are going to install &lt;a href="https://github.com/romkatv/zsh4humans"&gt;zsh4humans&lt;/a&gt; using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="nb"&gt;command&lt;/span&gt; &lt;span class="nt"&gt;-v&lt;/span&gt; curl &lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null 2&amp;gt;&amp;amp;1&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then
  &lt;/span&gt;sh &lt;span class="nt"&gt;-c&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/romkatv/zsh4humans/v5/install&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="k"&gt;else
  &lt;/span&gt;sh &lt;span class="nt"&gt;-c&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;wget &lt;span class="nt"&gt;-O-&lt;/span&gt; https://raw.githubusercontent.com/romkatv/zsh4humans/v5/install&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="k"&gt;fi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, we only need to follow the installation&lt;/p&gt;

&lt;p&gt;As we want to change from bash to zsh, we should change the main shell in our computer, se we should type this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;chsh &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="si"&gt;$(&lt;/span&gt;which zsh&lt;span class="si"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If in the future we want to change back to bash, we should change zsh to bash in the command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;chsh &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="si"&gt;$(&lt;/span&gt;which bash&lt;span class="si"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally, we are going to install &lt;a href="https://github.com/Yash-Handa/logo-ls"&gt;logo-ls&lt;/a&gt;for enabling icons when we do &lt;code&gt;ls&lt;/code&gt; command&lt;/p&gt;

&lt;p&gt;So, pase this command in the shell:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wget &lt;span class="nt"&gt;-q&lt;/span&gt; https://github.com/Yash-Handa/logo-ls/releases/download/v1.3.7/logo-ls_Linux_x86_64.tar.gz
&lt;span class="nb"&gt;tar &lt;/span&gt;zxvf logo-ls_Linux_x86_64.tar.gz
&lt;span class="nb"&gt;cd &lt;/span&gt;logo-ls_Linux_x86_64/
&lt;span class="nb"&gt;sudo install&lt;/span&gt; &lt;span class="nt"&gt;-v&lt;/span&gt; logo-ls /usr/local/bin/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, edit the ~/.zshrc for create an alias for ls&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;nvim ~/.zshrc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;alias ls&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'logo-ls'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, save the changes using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;source&lt;/span&gt; ~/.zshrc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or using&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;exec &lt;/span&gt;zsh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If in some moment, you want to change to another theme of z4h, you can type the next command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;p10k configure
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Dual-boot Ubuntu-Windows 11</title>
      <dc:creator>Pau Garcia</dc:creator>
      <pubDate>Tue, 04 Apr 2023 14:35:46 +0000</pubDate>
      <link>https://dev.to/paugarcia32/dual-boot-ubuntu-windows-11-4n69</link>
      <guid>https://dev.to/paugarcia32/dual-boot-ubuntu-windows-11-4n69</guid>
      <description>&lt;h1&gt;
  
  
  Dual-boot
&lt;/h1&gt;

&lt;p&gt;First create a partition for installing there Ubuntu&lt;/p&gt;

&lt;p&gt;Instal the .iso from &lt;a href="https://ubuntu.com/download/desktop"&gt;ubuntu webside&lt;/a&gt;&lt;br&gt;
Install &lt;a href="https://rufus.ie/es/"&gt;rufus&lt;/a&gt;&lt;br&gt;
Install the ubuntu iso into a pendrive using rufus software&lt;/p&gt;

&lt;p&gt;Restart the pc and setup the usb as the first option to boot&lt;/p&gt;

&lt;p&gt;In the ubuntu installer, configure all ass you want untill the "Installation type" where you should check the "Something else" option&lt;/p&gt;

&lt;p&gt;There select the free space, create a new partition in the "+" button, and assing 2048 mb of space as a primary type partition and use as swap partition. &lt;br&gt;
The rest of space create a partition as a primary partition with format Ext4 and mount point in "/" &lt;br&gt;
Then continue with the installation&lt;/p&gt;
&lt;h1&gt;
  
  
  Shared folder between systems
&lt;/h1&gt;

&lt;p&gt;Create a new ntfs partition (in ubuntu you can install GParted)&lt;br&gt;
Mount the new partition&lt;br&gt;
Create a folder in the root where you want to share files&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;mount &lt;span class="nt"&gt;-t&lt;/span&gt; ntfs o rw /dev/&lt;span class="k"&gt;*&lt;/span&gt;partition&lt;span class="k"&gt;*&lt;/span&gt; /forder/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Ubuntu basic configuration</title>
      <dc:creator>Pau Garcia</dc:creator>
      <pubDate>Tue, 04 Apr 2023 14:35:23 +0000</pubDate>
      <link>https://dev.to/paugarcia32/ubuntu-basic-configuration-50i6</link>
      <guid>https://dev.to/paugarcia32/ubuntu-basic-configuration-50i6</guid>
      <description>&lt;h1&gt;
  
  
  SetUp
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Some essential apps:
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-get &lt;span class="nb"&gt;install &lt;/span&gt;gnome-tweaks &lt;span class="nt"&gt;-y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-get &lt;span class="nb"&gt;install &lt;/span&gt;gnome-shell-extensions
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt-get &lt;span class="nb"&gt;install &lt;/span&gt;gnome-shell-extension-manager
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Some essential extensions:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Blur-my-shell&lt;/li&gt;
&lt;li&gt;Just Perfection&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Some Flatpak pakages to install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;flatpak &lt;span class="nb"&gt;install &lt;/span&gt;flathub io.github.realmazharhussain.GdmSettings
flatpak &lt;span class="nb"&gt;install &lt;/span&gt;flathub org.mozilla.firefox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Some usefull apps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;neovim&lt;/li&gt;
&lt;li&gt;vscode&lt;/li&gt;
&lt;li&gt;GParted&lt;/li&gt;
&lt;li&gt;Geary&lt;/li&gt;
&lt;li&gt;Calendar&lt;/li&gt;
&lt;li&gt;Bitwarden&lt;/li&gt;
&lt;li&gt;gedit&lt;/li&gt;
&lt;li&gt;wps&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Customizing
&lt;/h2&gt;

&lt;p&gt;Create folders for customizing&lt;/p&gt;

&lt;p&gt;.icons / .themes / .fonts&lt;/p&gt;

&lt;p&gt;Customization websites:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.gnome-look.org/browse/"&gt;https://www.gnome-look.org/browse/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://draculatheme.com/"&gt;https://draculatheme.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.nerdfonts.com/"&gt;https://www.nerdfonts.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/ohmybash/oh-my-bash"&gt;https://github.com/ohmybash/oh-my-bash&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/sebastiencs/ls-icons"&gt;https://github.com/sebastiencs/ls-icons&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My grub theme:&lt;br&gt;
&lt;a href="https://www.gnome-look.org/p/1414997"&gt;https://www.gnome-look.org/p/1414997&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Setup multimedia codecs &amp;amp;&amp;amp; VLC player
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt install ubuntu-restricted-extras &amp;amp;&amp;amp; sudo apt install vlc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Enable minimize app from dock
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Enable firewall
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo systemctl enable ufw

//for gui ufw

sudo apt install gufw
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Enable FlatPak:
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt install flatpak

flatpak remote-add --if-not-exists flathub //flathub.org/repo/flathub.flatpakrepo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Enable AppImage support:
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;libfuse2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h1&gt;
  
  
  Special Laptop config
&lt;/h1&gt;
&lt;h2&gt;
  
  
  Battery
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Auto CPUFrec
&lt;/h3&gt;

&lt;p&gt;Install &lt;a href="https://github.com/AdnanHodzic/auto-cpufreq"&gt;Auto CPUFrec&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/AdnanHodzic/auto-cpufreq.git
&lt;span class="nb"&gt;cd &lt;/span&gt;auto-cpufreq &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;sudo&lt;/span&gt; ./auto-cpufreq-installer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Apply the deamon:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;auto-cpufreq &lt;span class="nt"&gt;--install&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For help&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;auto-cpufreq &lt;span class="nt"&gt;--help&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  TLP
&lt;/h3&gt;

&lt;p&gt;Install &lt;a href="https://github.com/linrunner/TLP"&gt;TLP&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;tlp tlp-rdw
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Enable TLP&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl &lt;span class="nb"&gt;enable &lt;/span&gt;tlp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Close laptop lid issues
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Method 1: Using GNOME Tweaks&lt;/strong&gt;&lt;/em&gt; First we have to install gnome-tweaks-tool.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt-get install gnome-tweaks
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open the gnome-tweaks and follow below steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Go to the General tab in the sidebar&lt;/li&gt;
&lt;li&gt;  And &lt;strong&gt;toggle off&lt;/strong&gt; the &lt;strong&gt;'Suspend when laptop lid is closed’&lt;/strong&gt; button&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Method 2: Change login configuration (for advanced users)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you look into the content of the file &lt;strong&gt;/etc/systemd/logind.conf&lt;/strong&gt;, you’ll see three different types of default settings for the laptop lid closing.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;HandleLidSwitch&lt;/strong&gt;: When the laptop is on battery power&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;HandleLidSwitchExternalPower&lt;/strong&gt;: When the laptop is plugged into a power outlet&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;HandleLidSwitchDocked&lt;/strong&gt;: When the laptop is connected to a docking station&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want, you can change the value of those parameters to one of these as per your preference:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;lock&lt;/strong&gt;: lock when lid is closed&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;ignore&lt;/strong&gt;: do nothing&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;poweroff&lt;/strong&gt;: shutdown&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;hibernate&lt;/strong&gt;: hibernate when lid is closed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I would suggest going with &lt;strong&gt;ignore&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Then &lt;strong&gt;save&lt;/strong&gt; the file do a &lt;strong&gt;restart&lt;/strong&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Dual Boot Windows 11 - Arch Linux with different drives</title>
      <dc:creator>Pau Garcia</dc:creator>
      <pubDate>Sun, 02 Apr 2023 16:24:24 +0000</pubDate>
      <link>https://dev.to/paugarcia32/dual-boot-windows-11-arch-linux-with-different-drives-2h08</link>
      <guid>https://dev.to/paugarcia32/dual-boot-windows-11-arch-linux-with-different-drives-2h08</guid>
      <description>&lt;p&gt;First you should create the partition in windows&lt;/p&gt;

&lt;p&gt;Then, install arch using archinstall script, and select grub bootloader.&lt;/p&gt;

&lt;p&gt;Once that is done, if the grub bootloader does not recognize the windows partition you should do this:&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 1
&lt;/h2&gt;

&lt;p&gt;Partitions usage:&lt;br&gt;
&lt;code&gt;df -h&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Install os-probe:&lt;br&gt;
&lt;code&gt;sudo pacman -S os-prober&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Set GRUB_DISABLE_OS_PROBER=false:&lt;br&gt;
&lt;code&gt;vim /etc/default/grub&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;uncomment GRUB_DISABLE_OS_PROBER=false&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Update GRUB configuration:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo grub-mkconfig -o /boot/grub/grub.cfg&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 2
&lt;/h2&gt;

&lt;p&gt;Install ntfs-3g:&lt;br&gt;
&lt;code&gt;sudo pacman -S ntfs-3g&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Mount nvme partition:&lt;br&gt;
&lt;code&gt;sudo mount -t ntfs-3g /dev/nvme0n1p1 /mnt&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Partitions usage:&lt;br&gt;
&lt;code&gt;df -h&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Update GRUB configuration:&lt;br&gt;
&lt;code&gt;sudo grub-mkconfig -o /boot/grub/grub.cfg&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 3
&lt;/h2&gt;

&lt;p&gt;Install grub-customizator:&lt;br&gt;
&lt;code&gt;sudo pacman -S grub-customizer&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Edit names and order of partitions unsing grub-customizer&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Multiple git accounts in one computer (ssh)</title>
      <dc:creator>Pau Garcia</dc:creator>
      <pubDate>Sun, 02 Apr 2023 16:17:25 +0000</pubDate>
      <link>https://dev.to/paugarcia32/multiple-git-accounts-in-one-computer-ssh-26kl</link>
      <guid>https://dev.to/paugarcia32/multiple-git-accounts-in-one-computer-ssh-26kl</guid>
      <description>&lt;p&gt;First we need to create the ssh keys for each account&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ssh-keygen -t rsa -C "your@email.com"&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; .ssh
code &lt;span class="nb"&gt;.&lt;/span&gt;
// copy ssh ky from id_rsa.pub and &lt;span class="nb"&gt;paste &lt;/span&gt;it &lt;span class="k"&gt;in &lt;/span&gt;a new ssh key &lt;span class="k"&gt;in &lt;/span&gt;github
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;if error chech &lt;a href="https://stackoverflow.com/questions/18683092/how-to-run-ssh-add-on-windows"&gt;https://stackoverflow.com/questions/18683092/how-to-run-ssh-add-on-windows&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh-add /ssh/id_rsa
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;if its not working:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh-agent &lt;span class="nt"&gt;-s&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
`&lt;/p&gt;

&lt;p&gt;repeat this steps with the other account&lt;/p&gt;

&lt;p&gt;Then create a config file, that should look loke this:&lt;/p&gt;




&lt;p&gt;Host github.com&lt;br&gt;
    HostName github.com&lt;br&gt;
    User git&lt;br&gt;
    IdentityFile ~/.ssh/id_rsa_Account1&lt;/p&gt;

&lt;p&gt;Host github2.com&lt;br&gt;
    HostName github.com&lt;br&gt;
    User git&lt;br&gt;
    IdentityFile ~/.ssh/id_rsa_Account2&lt;/p&gt;

&lt;p&gt;Match Host github.com exec "git config --get user.name | grep 'name_Account_1' &amp;gt; /dev/null"&lt;br&gt;
    IdentityFile ~/.ssh/id_rsa_Account1&lt;/p&gt;

&lt;p&gt;Match Host github.com exec "git config --get user.name | grep 'name_Account_2' &amp;gt; /dev/null"&lt;br&gt;
    IdentityFile ~/.ssh/id_rsa_Account2&lt;/p&gt;




&lt;p&gt;Then create 2 folders where you will create and work with your git projects&lt;/p&gt;

&lt;p&gt;The .gitconfig file should look like this&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`shell&lt;br&gt;
[user]&lt;br&gt;
        email = &lt;a href="mailto:Account1@gmail.com"&gt;Account1@gmail.com&lt;/a&gt;&lt;br&gt;
        name = Account1&lt;br&gt;
[core]&lt;br&gt;
        editor = nvim&lt;/p&gt;

&lt;p&gt;[includeif "gitdir:/media/pau/564548676397F900/main/"]&lt;br&gt;
    path = ./path/to/Account1/folder/.gitconfig&lt;br&gt;
[includeif "gitdir:/media/pau/564548676397F900/UPC/"]&lt;br&gt;
    path = /path/to/Account2/folder/.gitconfig&lt;/p&gt;

&lt;p&gt;[credential "&lt;a href="https://github.com%22"&gt;https://github.com"&lt;/a&gt;]&lt;br&gt;
        helper = &lt;br&gt;
        helper = !/usr/bin/gh auth git-credential&lt;br&gt;
[credential "&lt;a href="https://gist.github.com%22"&gt;https://gist.github.com"&lt;/a&gt;]&lt;br&gt;
        helper = &lt;br&gt;
        helper = !/usr/bin/gh auth git-credential&lt;/p&gt;

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then, in each Account folder, create a .gitconfig, that should look like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`shell&lt;br&gt;
[user]&lt;br&gt;
        email = &lt;a href="mailto:Account1@mail.com"&gt;Account1@mail.com&lt;/a&gt;&lt;br&gt;
        name = Account1&lt;br&gt;
        signingkey = DEADBEEF&lt;/p&gt;

&lt;p&gt;[core]&lt;br&gt;
        sshCommand = "ssh -i ~/.ssh/id_rsa_Account1"&lt;br&gt;
`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;make the same for the other folder, and you should have configured well you double git account using ssh&lt;/p&gt;

&lt;p&gt;I've made all this using git cmd&lt;/p&gt;

&lt;p&gt;some usefull references&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=2MGGJtTH0bQ"&gt;https://www.youtube.com/watch?v=2MGGJtTH0bQ&lt;/a&gt;&lt;br&gt;
&lt;a href="https://gist.github.com/rahularity/86da20fe3858e6b311de068201d279e3"&gt;https://gist.github.com/rahularity/86da20fe3858e6b311de068201d279e3&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Customisimg windows powershell</title>
      <dc:creator>Pau Garcia</dc:creator>
      <pubDate>Sun, 02 Apr 2023 16:14:19 +0000</pubDate>
      <link>https://dev.to/paugarcia32/customisimg-windows-powershell-2a5p</link>
      <guid>https://dev.to/paugarcia32/customisimg-windows-powershell-2a5p</guid>
      <description>&lt;p&gt;First, install &lt;a href="https://ohmyposh.dev/"&gt;Oh-My-Posh &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;winget install JanDeDobbeleer.OhMyPosh -s winget&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Create $SPROFILE variable&lt;/p&gt;

&lt;p&gt;&lt;code&gt;New-Item -Path $PROFILE -Type File -Force&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;And execute:&lt;br&gt;
&lt;code&gt;notepad $PROFILE&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Add this in the file&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;oh-my-posh init pwsh | Invoke-Expression&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Install Nerd Fonts&lt;/p&gt;

&lt;p&gt;Install Themes&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Get-PoshThemes&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Change the $PROFILE file content to:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\amro.omp.json" | Invoke-Expression&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Install icons:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Install-Module -Name Terminal-Icons -Repository PSGallery&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;add to the $PROFILE file:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Import-Module -Name Terminal-Icons&lt;/p&gt;
&lt;/blockquote&gt;

</description>
    </item>
    <item>
      <title>New DEV user</title>
      <dc:creator>Pau Garcia</dc:creator>
      <pubDate>Tue, 21 Mar 2023 21:15:53 +0000</pubDate>
      <link>https://dev.to/paugarcia32/new-dev-user-o15</link>
      <guid>https://dev.to/paugarcia32/new-dev-user-o15</guid>
      <description>&lt;p&gt;Hi, I'm a new user form this platform. Right now, I am studying Network Engineering and I am discovering a new passion for programming. I would love it if someone give me some tips and advice for me while trying to learn new skills in programming. Thanks a lot!&lt;/p&gt;

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