Skip to main content

Posts

TCP chat application developement from the scratch in C/C++

This is my first tutorial for you guys. I have 12+ years of experience in IP telecommunication, networking, A/V media and computer vision.    This tutorial is the start of a long line of tutorials. With this, you will have in hand experience of how to write TCP server-client applications that can be used for chat and audio-video calls in the long run. So please stay tuned and do not miss it! I will also put a series of tutorials for Android native network programming.                                                      https://youtu.be/Faa_tqJpTzM?si=JDuYgE13_rwxdZY6

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...