<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blog on Naoufal Zerai</title><link>https://zerai.xyz/blog/</link><description>Recent content in Blog on Naoufal Zerai</description><generator>Hugo</generator><language>en</language><copyright>&lt;a rel=license href=http://creativecommons.org/licenses/by-nc-sa/4.0/&gt;&lt;img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /&gt;&lt;/a&gt;&lt;br /&gt;This work is licensed under a &lt;a rel=license href=http://creativecommons.org/licenses/by-nc-sa/4.0/&gt;Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License&lt;/a&gt;.</copyright><atom:link href="https://zerai.xyz/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Install yaml extention in PHP</title><link>https://zerai.xyz/blog/php-yaml-extention/</link><pubDate>Tue, 01 Oct 2024 19:18:00 -0500</pubDate><guid>https://zerai.xyz/blog/php-yaml-extention/</guid><description/></item><item><title>Vps Config</title><link>https://zerai.xyz/blog/vps-config/</link><pubDate>Sun, 20 Nov 2022 19:18:00 -0500</pubDate><guid>https://zerai.xyz/blog/vps-config/</guid><description>&lt;p&gt;A server configuration is a set of instructions that tells a computer how to operate. The instructions can include the type of hardware to use, the software to install, and the settings to use. A server configuration can be used to set up a new computer, or to change the settings on an existing computer.
Here is the configuration I usually use for my fresh new sever:&lt;/p&gt;</description></item><item><title>Stackoverflow Source</title><link>https://zerai.xyz/blog/stackoverflow-source/</link><pubDate>Sun, 06 Nov 2022 18:39:54 -0500</pubDate><guid>https://zerai.xyz/blog/stackoverflow-source/</guid><description>&lt;h5 id="1-if-you-have-a-particular-stackoverflow-question-such-as"&gt;1. If you have a particular StackOverflow question such as:&lt;a href="#1-if-you-have-a-particular-stackoverflow-question-such-as" class="post-heading__anchor" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h5&gt;</description></item><item><title>Go Dart Plugin</title><link>https://zerai.xyz/blog/go-dart-plugin/</link><pubDate>Sun, 06 Nov 2022 18:35:52 -0500</pubDate><guid>https://zerai.xyz/blog/go-dart-plugin/</guid><description>&lt;p&gt;&lt;strong&gt;Part One&lt;/strong&gt; the GO side:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;We need to make the function exportable, so the name should be capitalized and become &lt;code&gt;GetKey()&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;We need to use &lt;code&gt;cgo&lt;/code&gt; so that we can create shared library, &lt;code&gt;cgo&lt;/code&gt; means we need to:&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Apt Issues</title><link>https://zerai.xyz/blog/apt-issues/</link><pubDate>Fri, 09 Sep 2022 19:36:53 -0400</pubDate><guid>https://zerai.xyz/blog/apt-issues/</guid><description>&lt;p&gt;If you get a &lt;mark&gt;&amp;ldquo;failed to fetch&amp;rdquo;&lt;/mark&gt; error occurs when apt-get update is run, then try this:&lt;/p&gt;</description></item><item><title>Cheatsheet Tmux</title><link>https://zerai.xyz/blog/cheatsheet-tmux/</link><pubDate>Sun, 28 Aug 2022 19:15:25 -0400</pubDate><guid>https://zerai.xyz/blog/cheatsheet-tmux/</guid><description>&lt;p&gt;Tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.&lt;/p&gt;</description></item><item><title>Gnome Application Theme</title><link>https://zerai.xyz/blog/gnome-application-theme/</link><pubDate>Sun, 28 Aug 2022 13:42:37 -0400</pubDate><guid>https://zerai.xyz/blog/gnome-application-theme/</guid><description>&lt;p&gt;GTK+ ≥ 3.12 allows you to theme specific applications, such as nevolution.&lt;/p&gt;</description></item><item><title>Git Tips</title><link>https://zerai.xyz/blog/git-tips/</link><pubDate>Mon, 22 Aug 2022 12:58:59 -0400</pubDate><guid>https://zerai.xyz/blog/git-tips/</guid><description>&lt;h1 id="gitignore-not-working"&gt;Gitignore not working&lt;a href="#gitignore-not-working" class="post-heading__anchor" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;pre&gt;&lt;code&gt;git rm -rf --cached .
git add .
&lt;/code&gt;&lt;/pre&gt;
&lt;!-- more --&gt;
&lt;h1 id="recover-last-commit"&gt;Recover last commit&lt;a href="#recover-last-commit" class="post-heading__anchor" aria-hidden="true"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;pre&gt;&lt;code&gt;git reset HEAD~ 
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>AMD GPU Screen Tearing</title><link>https://zerai.xyz/blog/amd-gpu-screen-tearing/</link><pubDate>Sun, 21 Aug 2022 22:09:40 -0400</pubDate><guid>https://zerai.xyz/blog/amd-gpu-screen-tearing/</guid><description>&lt;p&gt;According to Wikipedia :&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Screen tearing is a visual artifact in video display where a display device shows information from multiple frames in a single screen draw.
If you are on Debian or Ubuntu, and you have an AMD GPU this might fix the problem 😊&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>