Tag Archive For "program"
Reset PostgreSQL password on Windows
In this video I have shown how to reset the forgotten password of PostgreSQL on windows 10 PC. 1. First locate the pg_hba.conf file inside the installation directory of PostgreSQL. In this example the file is located in ‘C:\Program Files\PostgreSQL\12\bin’. 2. Open the file in notepad and comment the below lines by putting # at …
Read Outlook .msg file using JAVA
In this video I have shown how you can read .msg file using java. This example is shown in Eclipse IDE. 1. Project Structure. 2. 3 Jar files are required for this project. These jar files should be added to class path of the project. poi-scratchpad-3.9.jar msgparser-1.1.15.jar poi-3.9.jar 3. Read_MSG.java package com.chillyfacts.com; import java.util.Iterator; import …
Java JSP Javascript – Submit form without reloading page
In this video I have shown how to submit a form from a JSP page without refreshing the page. This is purely on Javascript and will work on any HTML supported platforms like PHP, .Net etc. This project is demonstrated in Eclipse IDE with Tomcat server. 1. Project Structure in Eclipse IDE. 2. index.jsp holds …
Simple java program code to convert Image to Text
You can convert any image file to text by Optical Character Recognition using the below java program. The API we are using here is the Tesseract OCR which is free licensed. Before running the below program you have to download and install Tesseract in your PC. Visit the below link to get the installation file, …
Java – Generate PDF using Java Itextpdf, Mysql database dynamically
In this video I have shown how we can generate PDF with help if Itext pdf API, Also take value from MySQL database and generate PDF according to the data in MySQL database.
How to add Responsive google Map in Webpage
In the video I have shown how you can integrate a responsive google map in web page. Source code. <style> .google-maps { position: relative; padding-bottom: 75%; // This is the aspect ratio height: 0; overflow: hidden; } .google-maps iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; } </style> <div …
JAVA – Facebook graph API-Get user Posts
In this video, I have shown how you can generate Access token dynamically. And use the dynamic access to get facebook user and facebook user posts using facebook graph API. Here is the steps what you have to follow. 1. Login to facebook developers site and get an APP id by creating a facebook APP. …
JAVA – Integrate Login with Facebook using graph API
In this video I have shown how you can generate Access token dynamically. And use the dynamic access to get facebook user info using facebook graph API. Here is the steps what you have to follow. 1. Login to facebook developers site and get an APP id by creating a facebook APP. 2. Grant permission …
JAVA- Integrate login with Facebook using restfb API
In this video I have shown how you can integrate Login with facebook in web projects using restfb API. All the documentations are available in restfb.com documentation section. Here is the steps what you have to follow. 1. Login to facebook developers site and get an APP id by creating a facebook APP. 2. Grant …
Locate Your Web user on Google Map
In this video I am showing how you can locate your Client or user of your Web Project using Google Map api and Javascript function. This will work in all platforms supporting HTML and Javascript. <!DOCTYPE html> <html> <head> </head> <body onload=”getLocation()”> <p id=”demo”></p> <iframe id=”myFrame” src=”” width=”360″ height=”270″ frameborder=”0″ style=”border:0″></iframe> <script> var x = …