Skip to content

Instantly share code, notes, and snippets.

View praful-dhabekar's full-sized avatar

Praful Dhabekar praful-dhabekar

View GitHub Profile
praful-dhabekar / nginx-restart.bat
Last active September 11, 2020 05:30
Simple start, stop and restart script for NGINX on Windows
call nginx-stop.bat
call nginx-start.bat
praful-dhabekar /
Last active November 9, 2023 01:59
Sonarqube installation on CentOS

Step 1: Create the directory that will hold the SonarQube files:

sudo mkdir /opt/sonarqube

Step 2: Once the directory is created, update the permissions so that the sonarqube user will be able to read and write files in this directory:

sudo chown -R sonarqube:sonarqube /opt/sonarqube

Step 3: SonarQube releases are packaged in a zipped format, so install the unzip utility using your package manager so you can extract the distribution files:

sudo apt-get install unzip

Step 4: Next, we need to create a database and credentials that SonarQube will use. Log in to the MySQL server as the root user:

praful-dhabekar /
Created December 20, 2017 11:18 file from Android Login and Registration with PHP, MySQL and SQLite (
package com.example.praf.apidemo;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;