If you would like to redirect your non-www url to www and also add Let’s Encrypt path (/.well-known/acme-challenge/) to exception, here are the rules Add following to your non-ssl Virtual Host Add following to your ssl enabled Virtual Host
Following tutorial provides an example to run a single instance of WinForms application using Mutex. There are multiple ways to achieve the same result but this is kind of neat solution in my opinion. Add following SingleInstance class in your project. Here is how to use it in Program.cs > Main function
Issue When I try to add a new user in WordPress under Admin > Users > Add New User, it shows blank dropdown. Root Cause I manually tried to change the WordPress prefix after WordPress blog was created. I made change only within wp-config.php and renamed tables but it required change in data as well.… Read More »
Issue When I tried to use Media Library Folders WordPress plugin, it shows following errors Root Cause I manually tried to change the WordPress prefix after WordPress blog was created. I made change only within wp-config.php and renamed tabled but it required change in data as well. This caused the issue. Fix Table PREFIX_options has… Read More »
Issue When you apply filters to an image, it trims on the right or bottom part. Cause Internally by default image is painted over a tile of 2048×2048. If the height or width of the image is greater than 2048, remaining part of the image will be trimmed. Fix Increase textureSize to 4096 at the… Read More »
Issue I have .Net Core 2.1 SDK installed on the machine. When I publish the application with deployment mode = Framework Dependent for Linux, it outputs lots of dlls including the framework dlls. There is a very minor difference in number of files between the Framework Dependent and Self Contained deployment mode. Solution I had… Read More »
Even after searching on internet, I could not find a way to change the Swap size. Various online tutorials only showed us how to create swap space but did not explicitly address how to change the size of swap space using Webmin. Of course, this tutorial does not use Webmin but instead it uses commands… Read More »
If the Uri is “mailto”, the Uri format must be in the following format. I encountered following error It was difficult to find the root cause. Finally I found that I used “&subject” (ampersand) for the first parameter instead of “?subject” (question mark). Once I used “?subject”, everything worked as expected.
If you are using CsvHelper and get the error “Cannot write to a closed TextWriter”, here is a solution. You are trying to reuse the same underlying stream to write using CsvWriter Instead, you don’t want to close the underlying stream so change your code to “true” parameter will leave the underlying stream open.
I was following the Xamarin forms tutorial to integrate AdMob and following error came up No matter what I did and tried to find on the internet but could not find the fix. Finally I tried to look very closely and found a small mistake. Here is what I copied from the tutorial Instead, it… Read More »