Skip to main content

Posts

How to Generate and use the ssh key on Gerrit, github.io, gitlab, and bitbucket.

 Details can be found here -

How to Fix Google Protobuf GeneratedMessageV3.isStringEmpty Symbol Not Found!

 error: cannot find symbol  if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appId_))  {  ^ symbol: method isStringEmpty(Object) location: class GeneratedMessageV3    How to fix it? Details on the video.   Details can be found here.

Tour de Langkawi Malaysia

 Details coming soon! For now, enjoy the shorts!

Import project configuration from a file in Intellij

When running maven project or any project in IntelliJ that depends on some credential and configuration it is very hard to provide it every time on the terminal using export. You can do it by either export or by putting it to bashrc or zshrc profile. Here is an way where you can do it just by using a file and a plugin and this will be used only in the IntelliJ build and run. To do that create a .env file using your all the export. Make sure not to add the export command. Only the assignment or declaration. Example: report-server.env   DC="local_cluster" SERVICE_NAME="NA" ENVIRONMENT="dev" SSL_KEY_STORE_PASSWORD="LAFSHTDBJIWQVHBHSHJD" SERVER_MODE="MASTER" REPORT_SERVER_HOST="localhost" After that you need to install a plugin in the IntelliJ Idea. To do that, open IntelliJ and  go to the Settings -> Plugins . On the popup window search box type "EnvFile" and install the EnvFile plugin.              ...

Routing and forcing HTTP request and URL to HTTPS in Azure Web app service

If you have a REST server it is mandatory to have some standard security in place. The first and foremost security is connection to your REST services and APIs. Basic is make it HTTPS. Now as it is an web service usually it has HTTP on it. You can stop it by blocking the port 80 which is not OK in case you are doing scale up and scale down of your service. So what to chose? Easy way is to use the web.conf   file in the Azure application services wwwroot directory as a place. Just put the following texts on the wwwroot/web.conf file and restart the service. <?xml version="1.0" encoding="UTF-8"?> <configuration>   <system.webServer>     <rewrite>       <rules>         <!-- BEGIN rule TAG FOR HTTPS REDIRECT -->         <rule name="Force HTTPS" enabled="true">           <match u...

Web services not running on Azure suddenly with error '-2147023436'

Suddenly on 06/06/2018 around 7:20am UTC), our Azure application services stopped running.  We were seeing the following error: Process '5324' failed to start. Port = 29399 Error Code = '-2147023436'. Restarting the services doesn't help. Error on eventlog.xml dumped as - <Events>     <Event>         <System>             <Provider Name="HttpPlatformHandler"/>             <EventID>1000</EventID>             <Level>1</Level>             <Task>0</Task>             <Keywords>Keywords</Keywords>             <TimeCreated SystemTime="201...

Privacy Policy

Privacy Policy Your privacy is important to Our App Service. Our Privacy Policy covers how we collect, use, disclose, transfer, and store your information. We hope our policy is straightforward and easy-to-understand. Please take a minute to review the details of our privacy practices below. Collection and Use of Non-Personal Information We may collect non-personal information, such as data that does not allow direct association with any specific individual. Non-personal data is collected, used, transferred, and disclosed for a number of purposes. These purposes include the use of cookies and other technologies that give us a better understanding of our users' needs. We use information collected from cookies to improve users' experience and the overall quality of our services. Collection and Use of Personal Information No personal information will be collected when you are using this app. When you use our email support services, we collect your correspondence in order to ...