Skip to main content

Posts

Showing posts from December, 2020

fatal: Couldn't find remote ref master

If you are using Github then  master is now known as main . Whatever you want to do with a master must now be referred to a main . If you search for this error message on the Internet then you will encounter with a lot of old discussions on how to set up your master properly which is probably not what you are looking for. The master  is your problem. Rename it to main . I wrote Git My Way about two years ago. Today I created another Github repository. I got this  "fatal: Couldn't find remote ref master"  error message when I wanted to sync the new repo for the first time with my notebook using the notes I wrote in the blog. All the discussions around the error message I found on the Internet were perplexing. Then I recalled that Github had renamed master to main  due to the master-slave connotation. We always have a master copy of a code, never a slave copy. Now suddenly a word context has been diminished for good. What is going to happen to the existing vast documen

Welcome to the Era of Living Cell Programming

I was reading Understanding mRNA COVID-19 Vaccines by the United States Centers of Disease Control and Prevention when it stunned me that living cell can be programmed in vivo . mRNA COVID-19 vaccines are produced by Pfizer and Moderna . I already knew what Ribonucleic acid (RNA) is. RNA is almost a half part of DNA the super-intelligent organic codes that manifest us. But I didn't know that they can produce messenger RNA (mRNA) which can instruct cells to do whatever they wanted. This is my understanding so far. mRNA vaccines instruct our cells to make a protein and then triggers antibodies to kill the protein. In the case of mRNA COVID-19 vaccines it will instruct our cells to make a part of the virus proteins which is harmless to our body but sufficient enough to trigger the antibodies. Later when the real virus enters our body the trained antibodies will kill it. mRNA is a new kind of medicinal system. An mRNA can be sequenced or programmed to instruct a cell to make all sort

Sub-Domain Pointing into a Drupal Sub-Folder

You will get the Forbidden error message when you try to access a folder which is not a part of Drupal. I got that error message when I created a subdomain which was pointing to a folder inside a Drupal installation. At first, I wasn't thinking about Drupal and I was looking for a solution in a wrong direction until I realized the Drupal's strict .htaccess . Then, I came across a Drupal Answer -  Make a folder inside the drupal installation public . The solution is that you need to configure Drupal .htaccess to ignore the sub-folder for the sub-domain. Add a rewrite condition to ignore the sub-folder somewhere near the rewrite rule for index.php : RewriteCond %{REQUEST_URI} !^/your-sub-folder/ ... RewriteRule ^ index.php [L] And since the sub-folder is being influenced by the Drupal rewrite rules so the sub-folder needs to have its own rewrite rules. Add the following .htaccess file to the sub-folder: <IfModule mod_rewrite.c> RewriteEngine on RewriteBase /your-sub