Author: Rizwan Ansari

Raspberry Pi Ethernet to WiFi

Author: | Categories: Linux, Networking, Raspberry Pi 2 Comments
This tutorial is about using your Raspberry Pi (or any Linux box) as WiFi router. Setup I am using Raspberry Pi 2 with Raspbian Strech. Edimax WiFi adapter. Internet enabled Ethernet connection. Check Ethernet Before continuing make sure the Ethernet cable is connected in and you can ping out from the Pi try ping ping […]

Tail command for Windows with Colors

Author: | Categories: Programming, Windows One Comment
Tail is a program on Unix and Unix-like systems used to display the tail end of a text file or piped data. Tail also has option to monitor a file as new lines are added to the file by another process, tail updates the display. This is particularly useful for monitoring log files. I have […]

Dual Boot Ubuntu on Mac

Author: | Categories: Linux, Mac No Comments
This is step by step guide to install Ubuntu on Mac in dual boot configuration without using rEFInd or any 3rd party tools. I assume you have created a bootable Ubuntu USB flash drive installer and have verified the contents. I also assume you have verified hardware compatibility by successfully booting the live version of […]

Windows Product Key Finder

Author: | Categories: General, Programming, Windows No Comments
Few years ago PC manufacturers apply stickers on Laptops or Desktops showing Windows Product Key. But since Windows 8, it is no longer supplied. I have made on handy tool to Find out Windows Product Key and some other useful info. Download and Run. Download Windows Product Key Finder version 4.5 Hash for WindowsProductKey4.5.exe MD5: […]

Update WordPress Manually using SSH

Author: | Categories: Linux, Wordpress No Comments
This is Step by Step guide to manually update WordPress Core on your Linux server using SSH. You may need it if you have set restrictive file permissions on your server or for any reason. 1. First create a full backup of your website. This is very important in case you make a mistake you […]

Quick Command Line Access from Windows Explorer

Author: | Categories: Programming, Windows No Comments
Command line was and will be an important tool especially for Software Developers. With the launch of .NET Core, it is now even more important even in .NET ecosystem. Users find it difficult to browse to a certain directory by issuing CD (change directory) commands so there is a better way to go directly to […]

Download all files from FTP in Python

Author: | Categories: Linux, Programming, Windows 7 Comments
You can use this Python script to download / clone entire FTP directory recursively from remote FTP Host. Let’s say you would like to download www-data directory and all sub directories inside this one from ftp.test.com server. #!/usr/bin/python import sys import ftplib import os import time server = "FTPHOST" user = "anonymous" password = "anonymous" […]

How to Create New Folders in Launchpad on macOS

Author: | Categories: General, Mac One Comment
Launchpad is the fast way to find and open your apps. By default, items in Launchpad are in alphabetical order. You can re-arrange icons on Launchpad by dragging them in the order you want. If there’s not enough room to show all of your apps on one screen, Launchpad creates multiple pages. The dots at […]

Mosquitto MQTT Install and Run part 1

Author: | Categories: IoT, Programming, Raspberry Pi 5 Comments
MQTT (Message Queue Telemetry Transport) is a publish subscribe messaging protocol for use on top of the TCP/IP protocol. It is designed for connections with remote locations where a small code footprint is required or the network bandwidth is limited. Mosquitto is an open-source message broker service that uses the MQTT protocol to send and […]

C# Round Robin Resources

Author: | Categories: Programming No Comments
The Problem: You have scarce / limited resources and you want to use these in and efficient way in your Code. E.g. You can only create N objects of certain class because of its limitation in terms of Resources or Licenses, and you want to share those Objects across M Consumers. The Solution: One way […]