Blocking ICMP ping requests in Ubuntu 20

Step 1: Backup existing firewall rules Step 2 : Actual task is to replace Accept with Drop in firewall rules as below Step 3: Run below sed command to find and replace If firewall already enabled then use reload command . If not enabled then use enable command as follows sudo ufw enable or sudo… Read More »

ASP.NET MVC C# Hello World!

This simple tutorial will guide you to create a small MVC application with CRUD features. This explains how easy we can use MVC Entity framework to develop our apps. Goal : We want to create an address with with 3 fields , Name, Email ID, Address. We should have the option to Create, View, Update… Read More »

OwnCloud Tweaks and tricks for C# Developers

What is owncloud Visit for more details . How to control OwnCloud management from C# Download c# Client library for CSHARP C# client library for ownCloud Sample c# Codes Below to create User Account, Reset password, Share Folder, Create Public URL Caveats : Even Though nuget packages are available to download I found that… Read More »

Creating Async Chained Tasks in C#

Scenario :  Want to design a c# controller with following feature. # User will submit a request and system update the database with a status immediately . # System will run some command line to sync source and destination folder which may take hours to complete. # Once the command line copy / sync process… Read More »

Google Collab Alternative Jupyterhub run from Home

Scenario : Want to install jupyter notebook from a single machine and can be utilized by more than 50 users at a time. This can be a ideal solution for schools or python lab where students or users can access from anywhere using their own devices. We have a windows 10  machine with Desktop /… Read More »

Testing Concurrent Connections to MySQL Server using script

Scenario : You want to test number of allowed parallel connections to your mysql Server . Steps: Create a Database Create a Table Create a PHP insert Script Test the Script Use ab.exe tool from apache.   Create a  table CREATE TABLE `test_table` ( `id` int(11) NOT NULL, `session_id` varchar(250) DEFAULT NULL, `date_time` timestamp NULL… Read More »