Creating a website with a profile that can be used to log into another website (like gmail/ facebook log in) [closed]

Where would I start doing this type of project? I am new to programming and really I have only just started learning to use the "gsub" command in Komodo / ruby on rails.

I have made part of a sample website with a box for input, however it does not do anything.

Is there a description in any textbooks or instructional video?

Recover Google rankings after overwriting one page with another and getting the duplicate content excluded

One of our pages was on page 1 of Google for a very important keyword. Some mistake from our developer team caused a disastrous issue in indexing that page. The parent page and the child page used the same content for a few days by mistake. Google then removed the child page from its index and kept the parent only, saying "Duplicate, submitted URL not selected as canonical".

I understand the issue. But I don’t know how to solve it! I have already brought back the original content on both pages and asked Google to reindex both pages through Google’s inspector tool in Search Console. But it doesn’t work! Google doesn’t index the child page anymore which is really crucial for us. Google has identified our child page as a duplicate of the parent page. I have re-written the whole content of the page and asked Google to re-index it again. No luck yet.

Do you have any solution for this issue?

How strong can someone make a Level 1 fighter, in Pathfinder, excluding Polymorph spells that change their body to another creature type?

It’s a classic trope in fiction, the "not so great" heroic character is going up against a foe they have no business trying to defeat and one (or more) of their allies that are a bit more powerful do a little something here, a little nudge there, and now the would-be hero is performing feats they never would have been able to do on their own.

What, in your estimation, would be the way to go about showing this sort of trope in a game like Pathfinder 1e? Defensive buffs out the wazoo are all well and good, but their low HD is also something to keep in mind, as Con buffs will be less effective. To ensure that the illusion is kept up as well, they’ll need to stay as their original race, no True Polymorphing them into a dragon or whatnot.

Does an infinite-scroll page on its own url and a paginated page on another url with the same content hurt SEO?

My index page is an infinite scrollable page. I also have a paginated page on another url say /posts with the same content; like how SO’s index page and /questions page have the same content.

Will this negatively affect SEO? Will these pages compete for fame seo-wise? If yes, how to prevent this while keeping the infinite-scroll effect.

How do you render_callback for register_block_type to a method in another class?

I’m writing a new plugin, and one of the things it does is create a new dynamic block. I generally write my plugins based off of WPPB, which does things in an object-oriented way, and semantically separates admin functionality from public functionality.

I have the admin class successfully creating the edit side of the block. But for the "save" side, for a dynamic block, it makes semantic sense for the render function to be in the public class … but (I think) it needs to get registered in the admin class (actually, now that I’m writing this, is there any harm to calling register_block_type more than once?).

I’m thinking there’s more than one way to skin this cat, and I’m trying to figure out the "best", where "best" is making optimal use of both PHP OOP and WordPress builtin functionality, to maximize speed, minimize size, and provide clean, readable code.

Option 1: make sure the main plugin class instantiates the public class first, and then passes it to the admin class:

class My_Plugin {         $  my_public = new My_Public();         $  my_admin = new My_Admin($  my_public); }  class My_Admin {         public function __construct($  my_public) {                 $  this->my_public = $  my_public;         }          register_block_type( 'my-plugin/my-block',                     array(                         'editor_script' => 'my_editor_function',                         'render_callback' => array($  this->my_public, 'my_save_function')         ) ); }  class My_Public {         public function my_save_function() {                 //do stuff to render the public side of the block         } } 

Option 2: do something with WordPress Actions and Hooks:

class My_Admin {         register_block_type( 'my-plugin/my-block',                     array(                         'editor_script' => 'my-editor-function',                         'render_callback' => 'render_front_end')         ) );          public function render_front_end() {                 do_action('my_plugin_render_action');         } }  class My_Public {         public function my_save_function() {                 //do stuff to render the public side of the block         }         add_action('my_plugin_render_action', 'my_save_function', 10); } 

Or, hypothetically, Option 3: if there’s no problem calling the register function more than once:

class My_Admin {         register_block_type( 'my-plugin/my-block',                     array(                         'editor_script' => 'my-editor-function',         ) ); }  class My_Public {         register_block_type( 'my-plugin/my-block',                     array(                         'render_callback' => 'my_save_function'         ) );          public function my_save_function() {                 //do stuff to render the public side of the block         } } 

Is one of these preferable? Do all of these work? Is there a better way to do this?

Can we implement hreflang on root domain for one country and on sub-folder for another country?

Is it possible for 2 countries, we can implement hreflang tags on root domain and a sub-folder, for example for US hreflang on and for Italy can we do it like this?

I have added both urls in Google search console & submitted separate sitemaps, but Google is counting all pages (including sub-folders) for the main domain, so I am thinking that Google is considering main domain (root domain) as a whole website not a country specific as per hreflang.

If you know about this or have similar experience, then Appreciate your help! Thanks, Adil

If a Defiler native to Athas managed to get to another Material Plane, could they still use Defiling magic?

From what I understand, in Dark Sun, Defilers can destroy the plants around to make their magic more powerful. If a Defiler from Athas somehow ended up in another material plane (don’t care which, don’t care how), could they use the abundant life energy to power their spells? Or does Defiling only work on Athas due to the Weave or something?

Asking for a friend.

A regular language derived from another

This is similar to a previous question I asked, but doesn’t seem aminable to the same technique. Given a regular language $ A$ , show the following language is regular: $ $ \{x|\exists y \; |y| = 2^{|x|} and \; xy \in A\} $ $

I’m aware of the notion of regularity preserving functions, and that it would suffice to show that $ f(x) = 2^x$ satisfies the property that for an ultimately periodic set $ U$ , $ f^{-1}(U) = \{m|f(m) \in U\}$ is ultimately periodic. I’m struggling to $ f$ has this property, but the book from which this comes implies a solution not using this is possible. It appears to be looking for a construction.

I can see that by repeated application of the idea behind the Pumping Lemma, if $ A$ has DFL with $ k$ states, that for any $ x$ with $ |x| \geq k$ then $ $ \exists y \; |y| = 2^{|x|} and \; xy \in A\ \implies \exists y \; |y| \leq k \; and \; xy \in A\ $ $

But this doesn’t give anything going in the opposite direction, that shows that some suitably short $ y$ guarantees the existence of a $ y$ of the required length.

Any help in solving this, or hint at how to progress would be very helpful.