Author: vinoth

  • Revert back to stock OS in OnePlus

    This guide shows how to restore the stock Oxygen OS from any custom ROM in OnePlus 7 and latest OnePlus devices. This may work in 7 and below version of devices. But this worked 100% in my 7T device and this how I reverted back my device. Important: Please read through the instructions at least […]

  • Basic Linux commands

    To list all the users in system. To list all the groups in system. To add new user. To add a user to sudo group. To delete user. To delete user and his home directory

  • How to setup own VPN server

    Today we are going to see how to setup our own VPN server. Here is a step by step guide to install and setup VPN server. Prerequisites:We need a VPS with any Linux distribution setup and running with basic initial configuration. In this tutorial we are using Ubuntu 20.04 server, so the steps shown below […]

  • Allow action method to be accessed only by anonymous user in Asp.Net Core MVC

    In this tutorial let’s see how to allow a controller/action method to be accessed only by an anonymous user in Asp.Net Core MVC project. In every project we globally restrict the application to access only authenticated users. But where ever requires [AllowAnonymous] attribute is used to allow anonymous access. In some scenario page should be […]

  • Logging Exceptions into Database with Asp.Net Core

    Each and every project requires exceptions to be logged in database. In this tutorial we are going to implement one of the method of database logger using Exception filter in Asp.Net core MVC project. First let’s create LogEntry Model: Next create a separate DbContext for exception logging. Why separate DbContext? Okay There are some scenarios […]

  • Enable submit button if at least one input has value

    There are some scenarios where submit button is enabled if at least one input has value. This tutorial will show you how to enable the submit button if you enter something into a text box, select drop down and check a check box. Let’s have a simple HTML form: jQuery: On document ready function validateButton(); […]

  • How to setup a Firewall with UFW on Ubuntu 20.04

    UFW – Uncomplicated Firewall provides a user friendly way to create an IPv4 or IPv6 host-based firewall which helps a regular user to deny all incoming connections without much configuration. UFW comes with Ubuntu by default. In case it is not installed or removed for some reason, run the following command to install it: UFW […]

  • How to install ZNC on Ubuntu 20.04

    ZNC allows you to stay connected to IRC network. Multiple clients can be connected to single ZNC account different locations simultaneously and therefore appear under the same nickname on IRC server. Let’s get our system set up with prerequisite. First, update system. ZNC can be installed from Ubuntu repo. Let’s install it. sudo apt install […]