Sunday, 11 March 2018

PostgreSQL 10 windows username and password.

You can refer these blogs to reset password of PostGreSQL as reader has committed sin by installing PGSQL on windows platform because of which they can't get entry into holy Heaven of PostgreSQL.

By the way, default username of PGSQL is  postgres
  1.  https://rationalpie.wordpress.com/2010/02/18/postgresql-reset-root-password/
  2.  https://humaninbox.wordpress.com/2012/12/06/how-to-reset-the-postgres-users-password-in-windows/
If you went mad because of heavy PGSQL console, try this IDE: https://www.heidisql.com/

Hope this helps.

Sunday, 10 December 2017

Mahabali Maharudra - Hanuman Lyrics Animation Movie

Lyrics in Devnagari:

पराक्रम से गूंजे त्रिभुवन धरती पाताल, दुष्टभंजन.
जल सागर करे पराजय क्रंदन,त्रिकाल निरंतर लोक वंदन

जय हनुमान ज्ञान गुन सागर
जय कपिस तिहू लोक उजागर
रामदूत अतुलित बल धामा,
अंजनीपुत्र पवनसुत नामा.

पराक्रम से गूंजे त्रिभुवन धरती पाताल, दुष्टभंजन.
जल सागर करे पराजय क्रंदन, त्रिकाल निरंतर लोक वंदन
महाबली महारुद्रा महावज्रा शौर्यवान वीर हनुमान......

चेहरे से छलकती नम्रता आंखो मे शांत चित की छाया
धुम तारा ना$$ नेरे ना$$$$....
चेहरे से छलकती नम्रता आंखो मे शांत चित की चाय
उपर है सुबह की लाली दिशा सिन्धुउर लिपि काया
महाबली महारुद्रा महावज्रा शौर्यवान वीर हनुमान......
नि सा ग रे ग रे सा नि.......
महाबीर बिक्रम बजरंगी,
कुमति निवार सुमति के संगी,
कंचन बरन बिराज सुबेसा,
कानन कुंडल कुंचित केसा,
हाथ बज्र और ध्वजा बिराजै,
कंधे मूंज जनेऊ साजै
शंकर सुवन केसरी नंदन,
तेज प्रताप महा जगवंदन

बिकट समय निकट जो आये, प्रथम वही स्मरण आ जाये..
धुम तारा ना$$ नेरे ना$$$$....
हर विपदा वो दूर करे, संकट मोचन तभी कहलाये
महाबली महारुद्रा महावज्रा शौर्यवान वीर हनुमान......
नि सा ग रे ग रे सा नि.......

शक्ति की नयी परिभाषा, विराट विक्रमी रूप अनोखा..
सा नि धा प म ग सा
शक्ति की नयी परिभाषा, विराट विक्रमी रूप अनोखा..
लाये उठाये द्रोणागिरी और जग देखे लीला न्यारी
महाबली महारुद्रा महावज्रा शौर्यवान वीर हनुमान......५

पराक्रम से गूंजे त्रिभुवन धरती पाताल, दुष्टभंजन.
जल सागर करे पराजय क्रंदन,त्रिकाल निरंतर लोक वंदन
हे$$$$$$$$$$$

Thursday, 14 September 2017

All Fields Greyed on Unallocated Space

To delete volumes of pen drive giving error of unallocated space

If you are facing error for unallocated space

Go to cmd with administrator privileges

type  DISKPART

type list volume

Check number of removable drive suppose 3.

delete volume 3

And your partition on that drive will be deleted.

Wednesday, 13 September 2017

Basics of Bitcoin and Blockchain

For Blockchain & Bitcoin understanding,


If you are looking for general use of Bitcoins,  https://bitcoin.org/en/

For technical & nontech people, it is always good to understand terms in Plain English.

In case of Bitcoins, it is possible: http://amzn.to/2vTOaMM

These are the books you can refer because reading a tutorial might lead you into Confused state:


For Beginners:            Blockchain Basics: A Non-Technical Introduction in 25 Steps

For implementation:    Blockchain: Blueprint for a New Economy

For Bitcoin & block chain:  Mastering bitcoin programming the open blockchain 2nd edition

For python freaks, here is a treat:  https://github.com/bigchaindb/bigchaindb

If you want to try out Bitcoins for windows, you can download it from here:

https://www.bitcoinunlimited.info/download

Monday, 28 August 2017

Raghupati Raghav Original Version

The version we generally hear is actually "modified" (?) by M.K.Gandhi.

Original one is written by Shrimad Lakshmanacharya.

I have added bits of modification but without losing its sense most of verses from Sanskrit language introduced at the end.

रघुपति राघव राजाराम,
पतित पावन सीताराम

सीताराम सीताराम
भज मन पावन सीताराम
रघुपति राघव राजाराम,
पतित पावन सीताराम

सुंदर विग्रह मेघश्याम,
गंगा तुलसी शालग्राम
रघुपति राघव राजाराम,
पतित पावन सीताराम

भद्रगिरीश्वर सीताराम,
भगत-जनप्रिय सीताराम
रघुपति राघव राजाराम,
पतित पावन सीताराम

जानकीरमणा सीताराम,
जयजय राघव सीताराम
रघुपति राघव राजाराम,
पतित पावन सीताराम
============= Original Part ends =============

जय रघुनन्दन जय श्रीराम
जानकीवल्लभ् राजाराम
रघुपति राघव राजाराम,
पतित पावन सीताराम

दशरथनन्दन राजाराम
कौशलचन्द्र जय श्रीराम
रघुपति राघव राजाराम,
पतित पावन सीताराम


जय श्रीराम !

Tuesday, 10 January 2017

How to reach from Swargate to Vishrantwadi

If you are arriving in the night at swargate between 9:00 to 10:00 pm, you can reach to vishrantwadi quickly as follows:

  1. Take the Pune station bus from outside of Swargate City bus Depot.

    Cost = Swargate to Pune Station = Rs. 10/-
  2. When conductor will say this is the last stop, board there.
  3. Now you are at the bus stand of Pune station. It is a small one and having 3 tracks which is its identity.
  4. You will get next bus within 10-15 min approx for Vishrantwadi and last bus will be on 11:30 pm.

    Cost = Pune Station to Vishrantwadi = Rs. 15/-
Otherwise, you can wait inside City bus Depot for the bus from Swargate to Vishrantwadi which costs Rs 20/- and a long wait time unless you are lucky ;)


Hope this helps,

Happy Journey!

Tuesday, 19 July 2016

Fix/Solution of MySQL 5.7 warning for SSL in Netbeans/Eclipse

If you are running MySQL 5.7.x and Netbeans 8.1 and you come across this warning,

"WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification." 
Don't worry! The culprits are:

1. MySQL 5.7.x (Actually its a good feature but really annoying to new users)

2. MySQL Java Connector Jar File

Solution for Culprit 1:

If your traditional code for JDBC is like:

 /*
  * To make java and mysql connectivity
  */
 package com.java.databases;
 import java.sql.*;
 /**
  *
  * @author mayur
  */
 public class Java2MySQL {
   public static void main(String[] args) {
     String dbname = "ram_db";
     String uname = "root";
     String passw = "ramayan";
     String url = "jdbc:mysql://localhost:3306/";
     String driver = "com.mysql.jdbc.Driver";
     try {
       Class.forName(driver);
       System.out.println("Connection is Registered");
       Connection conn = DriverManager.getConnection(url+dbname, uname, passw);
       System.out.println("Connection is Open");
       conn.close();
       System.out.println("Connection is closed");
     } catch (Exception e) {
       System.err.println("Something is wrong!! Please wait while we fix it");// e.printStackTrace();//(Something is wrong!! Please wait while we fix it);
     }
   }
 }

So the modified code is:

 /*
  * To make java and mysql connectivity
  */
 package com.java.databases;
 import java.sql.*;
 /**
  *
  * @author mayur
  */
 public class Java2MySQL {
   public static void main(String[] args) {
     String dbname = "don_db";
     String uname = "root";
     String passw = "";
     String url = "jdbc:mysql://localhost:3306/"+dbname+"?autoReconnect=true&useSSL=false";
     String driver = "com.mysql.jdbc.Driver";
     try {
       Class.forName(driver);
       System.out.println("Connection is Registered");
       Connection conn = DriverManager.getConnection(url, uname, passw);
       System.out.println("Connection is Open");
       conn.close();
       System.out.println("Connection is closed");
     } catch (Exception e) {
       System.err.println("Something is wrong!! Please wait while we fix it");// e.printStackTrace();//(Something is wrong!! Please wait while we fix it);
     }
   }
 }

You will find that we have appended [+dbname+"?autoReconnect=true&useSSL=false" ] to the part after URL of database.

Example:

 Connection con = DriverManager.getConnection
 ("jdbc:mysql://localhost:3306/"+dbname+"?autoReconnect=true&useSSL=false","root","");

Solution for Culprit 2:

Change the driver version of mysql connector other than 5.1.39. I have checked for 5.1.38,5.1.36.

Just use these versions and you program will be free from warning.

I have tested this with Eclipse also.

Hope this will help you !