reactjs – inicio de sesion con google mediante firebase

estoy usando firebase para una aplicacion web, tengo dos rutas para la authenticacion, una para iniciar y otra para registrar al usuario, el problema esta que cuando intento registrar una nueva cuenta de google, este automaticamente inicia sesion con la primer cuenta que se inicio, es un gran error ya que no me deja agregar un usuario nuevo de google, les dejo mi codigo

<TooltipCustom TransitionComponent={Zoom} title="GOOGLE">
     <IconButton style={{margin: '0px 1rem'}} onClick={() => { signupSocial("google") }}>
             alt="registrate con google"

la funcion signupSocial la traigo desde un archivo donde guardo el contexto de la aplicacion, dentro de este contexto guardo los datos del usaurio y varias cosas mas indespensbles para que la aplicacion funcione, unas de ellas es la funcion para iniciar sesion con google, les dejo el codigo

const signupSocial = async (socialName)=>{
switch (socialName) {
  case "facebook":
    try {
      var providerFacebook = new fi.auth.FacebookAuthProvider();
      await firebase.auth().signInWithPopup(providerFacebook)
    } catch (error) {
      return error.code
  case "google":
    try {
      var providerGoogle = new fi.auth.GoogleAuthProvider();
      await firebase.auth().signInWithPopup(providerGoogle)
    } catch (error) {
      return error.code

el inicio de sesion lo hace normalmente, el problema esta en que si entran a la aplicacion por primera vez y se registrar con google, ala hora de salir y querer entrara con otra cuenta este ingresa con la cuenta que ya se registro, espero puedan ayudarme

macos – SSH Bypass Google 2FA When On The Same Network

Because of a few different applications I need to use, I need to be able to bypass Google’s 2 Factor Authentication pam.d module when an SSH connection is coming from the same network. There is very little information about this online, but there are a few questions on the Stack Network, but none of the solutions worked for me. I am not sure if it is because the solutions are specifically for Linux, or I am just missing something.

I am not very familiar with these settings. I do want to require a password, key, & 2FA if I am not on the same local network, but skip the 2FA if I am on the same local network

Current Setup:

SSH requires a valid key, password, & 2 Factor Auth

File Contents Of:


auth       optional use_kcminit
auth       optional try_first_pass
auth       optional try_first_pass
auth       required try_first_pass
auth       required nullok
account    required
account    required sacl_service=ssh
account    required
password   required
session    required
session    optional


# Host *
#   ForwardAgent no
#   ForwardX11 no
#   PasswordAuthentication yes
#   HostbasedAuthentication no
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   IdentityFile ~/.ssh/id_ecdsa
#   IdentityFile ~/.ssh/id_ed25519
#   Port 22
#   Protocol 2
#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
#   MACs hmac-md5,hmac-sha1,
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
#   VisualHostKey no
#   ProxyCommand ssh -q -W %h:%p
#   RekeyLimit 1G 1h

Host *
    SendEnv LANG LC_*


#Protocol Version
Protocol 2

#Port 22
#AddressFamily any
#ListenAddress ::

#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
#HostKey /etc/ssh/ssh_host_ed25519_key

# Ciphers and keying
#RekeyLimit default none

# Logging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin prohibit-password
#StrictModes yes
MaxAuthTries 3
#MaxSessions 10

PubkeyAuthentication yes
AuthenticationMethods publickey,keyboard-interactive:pam

# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
# but this is overridden so installations will only check .ssh/authorized_keys
AuthorizedKeysFile  .ssh/authorized_keys

#AuthorizedPrincipalsFile none

#AuthorizedKeysCommand none
#AuthorizedKeysCommandUser nobody

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
PermitEmptyPasswords no

# Change to no to disable s/key passwords
ChallengeResponseAuthentication yes

# Kerberos options
KerberosAuthentication yes
KerberosOrLocalPasswd yes
KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes

# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes

#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PermitTTY yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#PermitUserEnvironment no
#Compression delayed
ClientAliveInterval 360
ClientAliveCountMax 0
#UseDNS no
#PidFile /var/run/
#MaxStartups 10:30:100
#PermitTunnel no
#ChrootDirectory none
#VersionAddendum none

# pass locale information
AcceptEnv LANG LC_*

# no default banner path
Banner /etc/ssh/banner

# override default of no subsystems
Subsystem   sftp    /usr/libexec/sftp-server

# Example of overriding settings on a per-user basis
#Match User anoncvs
#   X11Forwarding no
#   AllowTcpForwarding no
#   PermitTTY no
#   ForceCommand cvs server

Google app script docs: setting up hanging indent in paragraph

I have found in the documentation references to first line indent or end indent for a paragraph. But how do I set a hanging indent using app script?

google sheets – How to get DATEVALUE to recognize RSS 2 pubDate (RFC822)?

My formula contains an RFC822 pubDate, e.g. as pulled from Google’s RSS2 Feed.

=DATEVALUE("Thu, 01 Oct 2020 10:00:00 +0000")

but it results in

DATEVALUE parameter 'Thu, 01 Oct 2020 10:00:00 +0000' cannot be parsed to date/time.
  • According to this, my locale should be set, but changing that can have other consequences in my sheet, which I do not want (FYI my current sheet locale is United States)
  • According to this stackexchange question, there is apparently no support for that

Is there a workaround to get my manually entered RFC822 dates recognized by DATEVALUE formula Google Sheets (I need this particular formula to perform various operations, so other than re-entering dates in compliant format, is there anything else I can try?

google – What are the key SEO considerations when building a social network?

A lot has been said and written about how to do SEO and content strategy for B2B startups and e-commerce. However, what are the key things to cover when building a social network such as Facebook or LinkedIn etc?

The primary thing we want to rank for are the google search queries for people’s names, i.e. If someone is searching for “Gajus Kuizinas”, we are competing with LinkedIn.

We have ideas about off-page seo. However, given that we already have so many unique pages (multiple pages for every user), is there anything that is a must to do?, e.g. Does a sitemap make sense for a social network that already has hundreds of thousands of users?

Google Sheets: Use array as function parameters

Given a function that returns an array, is it possible to “spread” the return values as the arguments to another function?

For example, I’d like to pass the result of SPLIT(",My Site", ",") to the HYPERLINK(url, (link_label)) function and have it treat "My Site" as the label.

I’ve tried

=HYPERLINK(SPLIT(",My Site", ","))

but it ignores the second argument.

(This is a simplified example. In reality, the function that’s returning the URL and label is a QUERY which I’d like to avoid repeating in the second argument.)

google – What to do if I have different title and description for the same URLin SERP?

I am facing a similar problem.
I have to snippet details for the same URL
different title and different description for search keyword “PPC agency Dubai” and “pay per click”

for the keyword search”Pay per click Dubai”
1.) Pay Per Click(PPC) – TeraByte
PPC Agency Dubai: Terabyte is one of the famous digital marketing agency in Dubai for pay per click & google Ads services. Call @ 971581726602.

for keyword search “PPC agency Dubai”
1.) PPC agency Dubai: Digital marketing agency Dubai – google ads
PPC Agency Dubai: Terabyte is one of the famous digital marketing agency in Dubai for pay per click & google Ads services. Call @ 971581726602.

Plz, guide me on what I should do.

Spamming comments from " blogger bounces google "

I hope someone can help me figure out. My gmail inbox gets spammed by comments made on someone else's blog. The sender id that I get is ""… Now, I've got no clue… and the spammed comments are really frustrating.

Anybody here… got any clue on how to end this?


google cloud platform – Setting password for MySQL root user in CLoudSQL with private IP address

How to change the password for MySQL root user in GCP CloudSQL DB instance with private IP address . I am able to change the password using the below command from Cloud Shell with Public IP

    gcloud sql users set-password root  --instance=testdb --prompt-for-password

but it does not work for instances with Private IP address .

I can use the GCP Console to change the password but the root user is not listed under Users TAB

Console--> CloudSQL--> DB Instance --> Users

Other option seems installing gcloud on a VM in the same network as CloudSQL and change it using below command

gcloud sql users set-password root  --instance=testdb --prompt-for-password

Any other suggestion to change password for root user in a MySQL private DB instance . I need to change the password as initially the DB was created skipping the password.

google sites – Java Null Pointer Exception on running the test case in seleniumn..Can i get a solution for this please

Iam getting Java Null Pointer Exception…using POM and Data Provider to read the value from Excel ..all the values are proper in the Excel.
Below is the Code:


public void CreatenewCompany(String names,String web,String add,String cities,String stat,String zip,String valuecountry,String phonecountry,
String socialselect,String ind,String pvalue,String img)
elementutils.doSendKeys(name, names);
elementutils.doSendKeys(website, web);
elementutils.doSendKeys(address, add);
elementutils.doSendKeys(city, cities);
elementutils.doSendKeys(state, stat);
elementutils.doSendKeys(zipcode, zip);
elementutils.selectvaluefromdropdown(countryvalueselect, valuecountry);
elementutils.selectvaluefromdropdown(phonecountryvalueselect, phonecountry);
elementutils.selectvaluefromdropdown(socicalchannelselectval, socialselect);
elementutils.selectvaluefromdropdown(priorityvalue, pvalue);

    elementutils.doSendKeys(industry, ind);
    elementutils.doSendKeys(image, img);


                       Test Class

public Object()() getNewCompInfo()
Object()() data = ExcelUtil.getTestData(AppConstants.New_Company_Sheet_Name);
return data;


public void CreatenewCompany(String name,String website,String address,String city,String state,String zipcode,String country,String phone,String socialchannel,String twitterhandle,String priority,String image)
    companies.CreatenewCompany(name, website, address, city, state, zipcode, country, phone, socialchannel, twitterhandle, priority, image);


                           Error Message:

Caused by: java.lang.NullPointerException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(
at org.testng.internal.MethodInvocationHelper.invokeMethod(
at org.testng.internal.MethodInvocationHelper.invokeMethodNoCheckedException(
… 22 more

               Excel showing Error in this line:data(i)(k) = sheet.getRow(i+1).getCell(k).toString();
                Excel values:

name website address city state zipcode country phone socialchannel twitterhandle priority kevin new wing chennai tamilnadu 600028 india Ukraine Instagram test High immage -D:screenshots1581593893176