Skip to main content

code

  • var vs let vs const in Javascript

    var, let and const are used to declared variables in Javascript. VAR Used to declare variables as global scoped or function scoped. A global scoped variable is accessible anywhere in…

    read more
  • Add custom marker on a leaflet map

    1. Get images Two images are required to make a custom icon, the image itself and a shadow of the image. For a better look the image background should be…

    read more
  • Calculate IP Addresses using PHP

    We are going to use two functions PHP networking functions ip2long() and long2ip() ip2long() – Converts a string containing an (IPv4) Internet Protocol dotted address into a long integer. long2ip()…

    read more
  • JavaScript convert NaN to 0 using double tilde

    In computing, NaN (not a number) is a numeric data type that means a value is undefined or cannot be represented. To convert NaN to 0 in JavaScript, use the…

    read more
  • Node.js HTTP request using axios

    There are many libraries that you can use to make HTTP request in Node.js.For this case we will create a simple HTTP request using axios. Requirements:Node.js projectNode package manager Install…

    read more

Categories

  • apache2
  • code
  • git
  • Javascript
  • linux
  • Maps
  • Mikrotik
  • networking
  • Operating systems
  • server
  • version control
  • web hosting
  • Operating systems
  • Mikrotik