<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>General &#8211; Sezer YAMAN</title>
	<atom:link href="https://sezeryaman.com/en/kategori/general/feed/" rel="self" type="application/rss+xml" />
	<link>https://sezeryaman.com</link>
	<description>Software Developer</description>
	<lastBuildDate>Sat, 04 Apr 2020 12:53:09 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Finding the sum of two numbers with C#</title>
		<link>https://sezeryaman.com/en/finding-the-sum-of-two-numbers-with-c/</link>
					<comments>https://sezeryaman.com/en/finding-the-sum-of-two-numbers-with-c/#respond</comments>
		
		<dc:creator><![CDATA[szrymn]]></dc:creator>
		<pubDate>Sat, 04 Apr 2020 12:53:09 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<guid isPermaLink="false">https://sezeryaman.com/?p=178</guid>

					<description><![CDATA[using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace odev1 { class Program { static void Main(string[] args) { int a, b; string a1, a2; Console.Write("First number: "); a1 = Console.ReadLine(); while (true) { if (int.TryParse(a1, out a)) { break; } else { Console.Write("No valid value was entered for the first number. Re-enter: &#8230; <a href="https://sezeryaman.com/en/finding-the-sum-of-two-numbers-with-c/" class="more-link">Continue reading<span class="screen-reader-text"> "Finding the sum of two numbers with C#"</span></a>]]></description>
										<content:encoded><![CDATA[<pre class="lang:c# decode:true ">using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace odev1
{
    class Program
    {
        static void Main(string[] args)
        {
            int a, b;
            string a1, a2;
            Console.Write("First number: ");
            a1 = Console.ReadLine();

            while (true)
            {
                if (int.TryParse(a1, out a))
                {
                    break;
                }
                else
                {
                    Console.Write("No valid value was entered for the first number. Re-enter: ");
                    a1 = Console.ReadLine();
                }
            }

            Console.Write("First number: ");
            a2 = Console.ReadLine();

            while (true)
            {
                if (int.TryParse(a2, out b))
                {
                    break;
                }
                else
                {
                    Console.Write("No valid value was entered for the second number. Re-enter: ");
                    a2 = Console.ReadLine();
                }
            }

            Console.WriteLine("\nFirst number: " + a);
            Console.WriteLine("Second number: " + b);
            Console.WriteLine("Total: " + (a + b));
        }
    }
}</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://sezeryaman.com/en/finding-the-sum-of-two-numbers-with-c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>iptables use</title>
		<link>https://sezeryaman.com/en/iptables-use/</link>
					<comments>https://sezeryaman.com/en/iptables-use/#respond</comments>
		
		<dc:creator><![CDATA[szrymn]]></dc:creator>
		<pubDate>Wed, 26 Sep 2018 00:09:05 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[iptables use]]></category>
		<guid isPermaLink="false">https://sezeryaman.com/?p=79</guid>

					<description><![CDATA[We&#8217;re using iptables to connect to the terminal, such as whitelisting (especially on your own) that we use to put the ip block on what you don&#8217;t want to access your server, or especially those you want to access. Briefly; // to list blocked IPs; iptables -L INPUT -v -n // to delete (remove block) &#8230; <a href="https://sezeryaman.com/en/iptables-use/" class="more-link">Continue reading<span class="screen-reader-text"> "iptables use"</span></a>]]></description>
										<content:encoded><![CDATA[<p>We&#8217;re using iptables to connect to the terminal, such as whitelisting (especially on your own) that we use to put the ip block on what you don&#8217;t want to access your server, or especially those you want to access.</p>
<p>Briefly;</p>
<pre class="lang:php decode:true ">// to list blocked IPs;
iptables -L INPUT -v -n

// to delete (remove block) the blocked IP;
iptables -D INPUT -s x.x.x.x -j DROP

// To add (make reliable) the IP addresses to the whitelist;
// INPUT: to inputs, OUTPUT: to outputs
iptables -A INPUT -s  x.x.x.x -j ACCEPT
iptables -A OUTPUT -s x.x.x.x -j ACCEPT</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://sezeryaman.com/en/iptables-use/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Compressing page content with PHP</title>
		<link>https://sezeryaman.com/en/php-with-page-icerigini-compression/</link>
					<comments>https://sezeryaman.com/en/php-with-page-icerigini-compression/#respond</comments>
		
		<dc:creator><![CDATA[szrymn]]></dc:creator>
		<pubDate>Wed, 30 Aug 2017 09:00:34 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[compress content]]></category>
		<category><![CDATA[compress page]]></category>
		<category><![CDATA[php compress]]></category>
		<guid isPermaLink="false">http://sezeryaman.com/?p=6</guid>

					<description><![CDATA[By compressing page content with PHP, you can earn half the size of your page. With this size you earn, you&#8217;ll be able to load your site speed faster, and that&#8217;s what Google likes. Google likes it in the rankings. It allows you to be easily found in searches and gains in traffic that you &#8230; <a href="https://sezeryaman.com/en/php-with-page-icerigini-compression/" class="more-link">Continue reading<span class="screen-reader-text"> "Compressing page content with PHP"</span></a>]]></description>
										<content:encoded><![CDATA[<p>By compressing page content with PHP, you can earn half the size of your page. With this size you earn, you&#8217;ll be able to load your site speed faster, and that&#8217;s what Google likes. Google likes it in the rankings. It allows you to be easily found in searches and gains in traffic that you spend.<br />
First, place these codes in the PHP code included on each page of your software (functions can be. php or database. php file)</p>
<pre class="lang:php decode:true  ">$gzip_pres = true; 
function gzipKontrol() 
{ 
    $kontrol = str_replace(" ","", 
        strtolower($_SERVER['HTTP_ACCEPT_ENCODING']) 
    ); 
    $kontrol = explode(",", $kontrol); 
    return in_array("gzip", $kontrol); 
} 
function bosluksil($kaynak) 
{ 
    return preg_replace("/\s+/", " ", $kaynak); 
} 
function phpPress($kaynak) 
{ 
    global $gzip_pres; 
    $sayfa_cikti = bosluksil($kaynak); 
    if (!gzipKontrol() || headers_sent() || !$gzip_pres)  
        return $sayfa_cikti; 
    header("Content-Encoding: gzip"); 
    return gzencode($sayfa_cikti); 
}</pre>
<p>After you add this code, paste the following code at the beginning of the page that you want to compress.</p>
<pre class="lang:php decode:true ">ob_start("phpPress");</pre>
<p>That&#8217;s all, plenty of traffic days.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sezeryaman.com/en/php-with-page-icerigini-compression/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
