Generate free Let’s Encrypt SSL certificate online

Let’s Encrypt is a free, automated, and open certificate authority brought to the people by the nonprofit Internet Security Research Group (ISRG) which provides people the digital certificates they need in order to enable HTTPS (SSL/TLS) for websites, for free, which otherwise requires considerable investment if it was to be bought from the paid SSL providers. The only downside being the need of renewing the certificate every 90 days. Though majority of hosting providers now offer it as part of their hosting services, some hosting providers like GoDaddy still have not provided any in-built support in their hosting solution instead offering its own paid SSL certificates. If we are using shared hosting, then we can manually install Let’s Encrypt certificates on GoDaddy websites. Let’s Encrypt provides client tools which can be installed on the web servers to automate installation and renewal of SSL certificates but in case of shared hosting,[…]

ASP.NET Site Move HTTP to HTTPS, Refresh Google Indexing

When a site is moved from HTTP to HTTPS which is already indexed by Google, we must add a new property for the HTTPS URL in Goolge search console. When Google tries to index the site and it finds HTTP URL indexed for the same page, it will mark the HTTPS pages as canonical. We should use “301 Moved Permanently” to tell Google that HTTP URLs are moved to HTTPS and Google should prefer HTTPS over HTTP. Here is a sample code to be used in an ASP.NET web application for 301 moved status

Redirect HTTP URLs to HTTPS in Windows Hosting

After configuring SSL for a website, we need to make sure all existing HTTP URLs are automatically redirected to the HTTPS. For this we need to add a redirect rule in our web.config file. Open your web.config file and add following code snippet under system.webServer tag (copy it before the closing system.webServer tag) Save web.config file and upload it to the server tp replace existing one.

Install Free SSL from Let’s Encrypt to Godaddy Shared Windows Hosting – Plesk

Many web hosting providers support and automatically enable Let’s Encrypt and redirect http to https by default. GoDaddy does not yet support it but we can manually install and configure our sites on GoDaddy shared hosting to support SSL. This is done in two steps. In the first step, we need to generate certificates from a certificate authority (CA) and then in the second step, we need to download generated certificates and upload it to the GoDaddy servers and configure it there. Support for third-party SSLs on GoDaddy While generating SSL certificates for our domain, we will also need to verify domain ownership to CA. In order to verify domain ownership using HTTP verification, we will need to create appropriate files with specific text strings under “httpdocs/.well-known/pki-validation/” directory on our web server. We also need to make sure that those appropriate files are accessible in the directory. We will first[…]

SadTalker ERROR: No matching distribution found for torch==1.12.1+cu113

If you have Python 3.11 installed on your system, you will get this error when running the webui.bat file for setting up the SadTalker since it does not yet support Python 3.11. The solution is to install previous version of Python (in my case I did Python 3.8 as specified in the dependecies section of cog.yaml which downloaded with the SadTalker code). We will use conda to create a virtual environment just for SadTalker and then use it from there. The first step is to make sure we have Anaconda installed on our system. If not then download and install it from here. Make sure to follow the steps here for downloading the SadTalker files. Launch Anaconda Powershell and run following command to create a new environment for older version of python. Now activate the environment Make sure to validate that it is using desired version of python by checking[…]

Install SadTalker on Windows

Prerequisites: Install ffmpeg on windows In order to install ffmpeg on windows go to https://ffmpeg.org/download.html Follow steps mentioned here is install ffmpeg on your system. https://www.wikihow.com/Install-FFmpeg-on-Windows Now go to SadTalker Github page https://github.com/OpenTalker/SadTalker Go the the dev branch and click on README.md Go to the Download Trained Models section and click on the higlighed link to go to the SadTalker v0.0.2 rc Release Note page Download first four assets and Source Code.zip file Unzip Source code.zip file to a folder. We are are going to extract it to SadTalker-0.0.2-rc folder. In this folder manually create “checkpoints” folder and copy four .tar and .safetensors files in it once those also get downloaded. Open command prompt and go to SadTalker directory. There you would find webui.bat file. Run this file in command prompt to finish the setup. This will take a while to download and setup all required packages the first time.[…]

Moving windows from HDD to SSD (Free)

In order to move windows from HDD to SSD without buying a paid tool, we can use “Macrium Reflect”. This tool has one month of trial period and the software is fully functional during the trial period with no limitation on any functionality whatsoever. Download and install “Macrium Reflect” from https://www.macrium.com/reflectfree Launch Marcium Reflect and select the windows drive which you want to move to the SSD Make sure to select System Partition as well. Now click on “Clone this disk” which will ask to select a target disk. Select the SSD and click next and then finish Finally a popup will be shown. Click ok to start the cloning process Once the process finishes, restart the computer, and go to boot section (click F1 or F12 when the computer boots depending upon which key works for your computer) and move your SSD up in the boot sequence to make[…]

Install DeOldify on Windows

Download and install Anaconda Download Deoldify code from github https://github.com/jantic/DeOldify Extract contents of the downloaded DeOldify code zip file to a folder. Download Completed Generator Weights file for Video from the DeOldify github page (834 MB size) In the root of DeOldify folder create a new folder named “models” and copy downloaded Completed Generator Weights file to this folder (ColorizeVideo_gen.pth) Now launch Anaconda Powershell and go to root of DeOldify folder. Now we need to run few commands in sequence. Run following command first which will take a while to finish Once above command finished, run the next command as following Now run the following command Note: In case you face issues with running jypyter command such as “cmdlet not found”, check the path of python library in the system PATH variable. Also, make sure jypyter is installed on your system. You can install jupyter using windows command prompt as[…]