My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping @Yeyhi.com

Pages










Tuesday, February 28, 2017

CD with mapped mounted drive on network : CHDIR command


It has happened with me that I was able to succesfully mount a network drive and can freely access it using Windows file-system Explorer. But my script was not able to access it. Digging a step further, i noticed that I could not even CD to that drive on command prompt. Hence i finally wrote this blog post for anyone running into the similar issue.

Question : How do I change to a mapped network drive at the command line?

Issue:
Say, you have a networked drive mapped to "U:\"
Now you want to go to that drive from a command line.
However, when you try you get an error suggesting
C:>u: The system cannot find the drive specified.


Solution:
There are two aspects to the solution:
1. The Syntax to use CD command on Windows may be the cause. Remember that for changing directories you should use cd /d U: rather than just U:
2. You should first start using the map drive on command prompt. Command used to do that is as follows:
net use u:

See attached screenshot showing the error as well as what happened after solution.




C:\Users\mfaiz\Downloads>net use p:
Local name        p:
Remote name       \\sxa.xxx.xxx.com\ap-xxx
Resource type     Disk
The command completed successfully.

Tuesday, January 3, 2017

What is BHIM App? Android Payments App in India for Unified Payment Interface (UPI)

The Bharat Interface for Money (Bhim) app was launched on 30 December by PM, India.The app is developed by the National Payment Corporation of India (NPCI) and uses Unified Payment Interface (UPI) for the transactions. The app is very simple to use, has a clean interface and incorporates multiple security features. Industry stakeholders have called the app a gamechanger when it comes to the ease of making cashless payments in India. However, the application faced extremely high server loads on launch day.


As explained on the Google Android Playstore, BHIM is an initiative to enable fast, secure, reliable cashless payments through your mobile phone. BHIM is interoperable with other Unified Payment Interface (UPI) applications, and bank accounts. BHIM is developed by the National Payment Corporation of India (NPCI). BHIM is made in India and dedicated to the service of the nation.



How does it work - BHIM usage guide:


Register your bank account with BHIM, and set a UPI PIN for the bank account. Your mobile number is your payment address (PA), and you can simply start transacting. Yes! It is that simple.


Send / Receive Money: Send money to or receive money from friends, family and customers through a mobile number or payment address. Money can also be sent to non UPI supported banks using IFSC and MMID. You can also collect money by sending a request and reverse payments if required.


Check Balance: You can check your bank balance and transactions details on the go.


Custom Payment Address: You can create a custom payment address in addition to your phone number.


QR Code: You can scan a QR code for faster entry of payment addresses. Merchants can easily print their QR Code for display.


Transaction Limits: Maximum of Rs. 10,000 per transaction and Rs. 20,000 within 24 hours.


Which Banks support BHIM App?
What all Banks support are inter-operable with UPI?

Supported Banks are listed as follows. This information is sourced from the App description itself:
- Allahabad Bank
- Andhra Bank
- Axis Bank
- Bank of Baroda
- Bank of Maharashtra
- Canara Bank
- Catholic Syrian Bank
- Central Bank of India
- DCB Bank
- Dena Bank
- Federal Bank
- HDFC Bank
- ICICI Bank
- IDBI Bank
- IDFC Bank
- Indian Bank
- Indian Overseas Bank
- IndusInd Bank
- Karnataka Bank
- Karur Vysya Bank
- Kotak Mahindra Bank
- Oriental Bank of Commerce
- Punjab National Bank
- RBL Bank
- South Indian Bank
- Standard Chartered Bank
- State Bank of India
- Syndicate Bank
- Union Bank of India
- United Bank of India
- Vijaya Bank


Features lacking in BHIM App and other Security Concerns with BHIM App:

Presently, Languages supported are Hindi and English. More languages have to come soon to support regional languages of India. Also, there are many initial pain-points in the App that are listed as following:

We should revisit the transaction Limits: (Presently it is Maximum of Rs. 10,000 per transaction and Rs. 20,000 within 24 hours.)

Some have reported that the App is only useful if you have a debit card The app has good intentions and i appreciate it. To register an account under upi, the app forces one to enter partial details of the debit card details. I consider this as a requirement gap.

Some say that it is waste of time and stucks or hangs at many places

Security concerns are there. Undoubtedly, it needs PCI clearance and has to scale good on OWASP threat scales. Presently, there is no clear documentation describing these fine details. IT savvy folks are presently not joining the BHIM revolution.


As a conclusion, I would say that it is a good start. More focus should be given on security. And, also since the App is majorly controlled by government officials, proper business continuity plans and threat mitigation units shall be setup. For a proper success, we should be good on security scales as we are not so strong on the corruption index ;)

All in all, Congratulations for the Banks and NPCI to come up with this App. For easier and seamless Payments systems and a boost in digital market, initiatives like these shall be the corner stones. Lets wish the App and initiative the best of luck. May we prosper. May we excel.

Cheers :)

For more information: visit https://upi.npci.org.in/static/faq/en_US/

Thursday, December 15, 2016

Little 'r' me - Meaning and origin of this in email

Very often in our corporate mail boxes we get to see where members of a large email distribution ask to Little 'r' them.
This simply means to reply to them.

Advantage:
1. Reply goes only to the sender and replies do not become a spam to all in the mailing list
2. The sender can discuss some personal aspects also individually with the recipient.

Now, another question is from where did this term come from. And, it is basically this point which is interesting that how did it gain such widespread adoption.

Here are two possible reasons that convince me th emost:

Thought A:

It comes from early UNIX Email systems. From the early days of the The Internet, we used single-letter commands. The lower-case, or little, "r" command meant to reply
 to the sender. Alternatively, the capital "R" meant to reply to the sender and the other recipients.

It is this huge love with UNIX, this term has not been forgotten in the evolution of the Internet. It was hence carried forward by lots of UNIX geeks into a common internet slang.


Thought B:

Gmail has also been around now for more than a decade now. And, habits of Gmail can also be one of the reason for the evolution of this internet term.
Actually, if you want to reply just to the sender in Gmail, you just need to hit 'r'. And, if you want to reply all then you needed to hit 'a'. So, here again the term Little 'r' fits the bill.

Now, before ending let me again remember it for you - You can Little 'r' me at Toughjamy@Yahoo.com.

Wednesday, November 23, 2016

Where/How to create web.xml : Eclipse project - (Example using Jersey in Java)


Tip: Dynamic Web Project - - > RightClick - - > Java EE Tools - - > Generate Deployment Descriptor Stub. This would create Web.xml

Starting all over again from the question:
If you are doing Java programming to create some Service using Jersey or any other framework, you will many times land into situation where you need Web.xml to be created. I had once wondered where this file would be present. Or, better say, how should i create the Web.xml file.

Note that the web.xml file should be listed right below the last line in your screenshot and resides in WebContent/WEB-INF. 


If it is missing you might have missed to check the "Generate web.xml deployment descriptor" option on the third page of the Dynamic web project wizard.


Tip: Dynamic Web Project - - > RightClick - - > Java EE Tools - - > Generate Deployment Descriptor Stub. This would create Web.xml


A sample content of Web.xml can be as follows:



<?xml version="1.0" encoding="UTF-8"?>

<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmlns="http://java.sun.com/xml/ns/javaee"
   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
  http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
   id="WebApp_ID" version="3.0">
   <display-name>User Management</display-name>
   <servlet>
      <servlet-name>Jersey RESTful Application</servlet-name>
      <servlet-class>org.glassfish.jersey.servlet.ServletContainer</servlet-class>
         <init-param>
            <param-name>jersey.config.server.provider.packages</param-name>
            <param-value>com.tutorialspoint</param-value>
         </init-param>
      </servlet>
   <servlet-mapping>
   <servlet-name>Jersey RESTful Application</servlet-name>
      <url-pattern>/rest/*</url-pattern>
   </servlet-mapping>
</web-app>


Take Care.
- Mohd Anwar Jamal Faiz

Friday, November 11, 2016

Install and Launch Postman API Testing App in Chrome

The Postman is a post-apocalyptic science fiction novel by David Brin. Oh! come on! I am talking about Postman - The tool for Web API Testing. Postman is a Google Chrome app for interacting with HTTP APIs. It presents you with a friendly GUI for constructing requests and reading responses.

This post is related to the installation steps and way to launch the app in your browser.



1. How to Install Postman API Testing Tool. Where to get it:

Steps:
Search Google "Postman Tool". You will get the link. Or dircetly go to Chrome store at https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en

On the RHS there is Install button. You can click that. And, it will add 'Postman' App in your browser. Once done, the button will become Green saying 'Launch App'

See below:





2. Verify if the Postman App is installed on Chrome

Steps:
Launch the extension Manager in chrome
Shortcut URL: chrome://extensions/
You can check that Postman is there.

See below:





3. How to launch Postman App in Chrome

Steps:
Launch the App launcher. You can separately install another app which acts as launcher to App
But here is a short way too. Which i personally prefer:
Go to Chrome App:
URL: chrome://apps/

See below:



Click Postman to launch it.
The App will open up.

See below:



Now enjoy ;)