Kategori: General

  • Finding the sum of two numbers with C#

    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: […]

  • iptables use

    We’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’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) […]

  • Compressing page content with PHP

    By compressing page content with PHP, you can earn half the size of your page. With this size you earn, you’ll be able to load your site speed faster, and that’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 […]