Latest

Debian Router - Network Interfaces Configuration

In preparation of using debian as a router, We'll configure network interfaces, after performing [initial setup](/using-linux-debian-as-router-setup#setup).     In this debian router articles series also: 1. [Introduction](/using-linux-debian-as-router-setup#intro). 2. [Hardware Requirements](/usin......

Debian Router - Unbound DNS Server Setup

In the [previous artilce](using-linux-debian-as-router-etc-network-interfaces-configuration) we've configured network interfaces, so by now debian box is connected to internet through WAN-AP on eth0 and to local network throuch LAN-AP on eth1. Today we'll setup unbound dns server to serve dns querie......

Debian Router - Squid setup

We've [configured the dhcp server](/using-linux-debian-as-router-dhcp-server-setup), so what's for today?! Today we'll configure Squid for caching web traffic and access control.     In this debian router articles series also: 1. [Introduction](/using-linux-debian-as-router-setup#intro). 2. [Hard......

Debian Router - iptables and sysctl.conf configuration

Tody we'll finish configuring our awesome router, in the [previous](/using-linux-debian-as-router-squid-setup) article we'd configured squid proxy, in this article we'll pass all LAN traffic through squid using iptables.    In this debian router articles series also: 1. [Introduction](/using-linu......

Postgresql Stream Replication Setup

Recently Postgresql Stream replication become even easier, In this article you'll be shown how to setup stream replication for postgresql 9.3+.   ### Postgresql Stream Replication stream replication is a feature that let a mirror/replica/standby database to get a stream of changes that have be......

Debian Router - Setup

![Debian router](/media/images/debian-router-coderme.png) In this articles series you will learn how to setup Linux (Debian) as a Router for home/business local networks, to spice things I'll show how to add dns server, proxy/web caching server, and basic web traffic filter to our cute debian box. ......

C CONTANTS

In programming **Constants** means values that never changes. **Constants** generally of the simple data types like an integers, floats, chars, strings, or enums. ****Constants**** act like any variables except trying to change **Constant** valuei is a compile-time error, in other words your program......

PYTHON NUMBERS

Python numeric types store allow you to play with numebers, numbers in python are immutable, which means changing the value of a number makes a new numeric object. Number objects -------------- **Numbers** in most programming languages are the simplest data to work with (well technically boolean......

PHP NULL COALESCENCE

Since PHP 7, you can use, null coalescing operator **??**, it eleminates the need to check if the variable is not **NULL** before accessing its value, Before PHP 7 you needed **isset()** function for checking. The **Null coalescing operator** comes to save your time, its returns the first operand ......