seo – How to show same company’s different office address in google based on the user’s country?

our company has five offices in five countries , once the user search in google, I need to show the office address based on the user’s country, for example if the user search from US , I need google to show US office address automatically, also if the user search a specific office address then the search result will show that country office address, for example, the user search “ABC UK or ABC UK office address ” then the search result shows the UK office address. How can I do that?

I can not ping the public IP address of the router (Debian)

I have a problem that I cannot solve for a long time. I have a Linux virtual machine (Debian 10) which has a static IP address in the local network (192.168.0.21).The machine is working fine, I can go to sites, ping other hosts, for example Google DNS (8.8.8.8) or ping hosts on the local network. But when I try to ping the public IP address of my router, I get no response from it.

What’s weird is that other windows / android hosts in my local network can ping it. I tried to install a virtual machine (debian) on another computer and try to ping the public address of the router, and the router sometimes answered and sometimes did not respond. I tried to set up static and dynamic ip address (DHCP) but nothing changed. I have no firewall enabled.

I really don’t know what is going wrong with the debian virtual machines, my network settings are set to “network bridge” in VirtualBox.

Here is the interfaces configuration:

auto lo
iface lo inet loopback


auto enp0s3
iface enp0s3 inet static
        address 192.168.0.21
        netmask 255.255.255.0
        broadcast 192.168.0.255
        network 192.168.0.0
        gateway 192.168.0.1
        dns-nameservers 8.8.8.8
        dns-nameservers 8.8.4.4

Here is my Routing Table:

Destination        Gateway         Genmask           Flags      Iface
default            192.168.0.1     0.0.0.0           UG         enp0s3
192.168.0.0        0.0.0.0         255.255.255.0     U          enp0s3

Ping the public address of the router (windows):

>ping X.X.X.X

Pinging X.X.X.X with 32 bytes of data:
Reply from X.X.X.X: bytes=32 time=6ms TTL=64
Reply from X.X.X.X: bytes=32 time=5ms TTL=64
Reply from X.X.X.X: bytes=32 time=4ms TTL=64
Reply from X.X.X.X: bytes=32 time=3ms TTL=64

Ping statistics for X.X.X.X:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 3ms, Maximum = 6ms, Average = 4ms

And here is Debian (Does not respond)

>ping X.X.X.X
PING X.X.X.X (X.X.X.X) 56(84) bytes of data
...

how to make an email address under web site name


Quote Originally Posted by cheap stock
View Post

So If I have a web site or xxxx.com
And I want an email address of info/sales@xxxx.com
then how is this done?

Do you ever ask your provider for support? They can explain how to do this, can’t they?

Technically speaking, beer is a solution.

segregated witness – What is the prefix number, in bytes, of a native segwit address?

Native segwit addresses are not encoded using base58, but using a different encoding system called bech32. The details can be found in BIP 173. For the segwit v1+ addresses that will be used for Taproot, see the amended bech32m encoding in BIP 350.

In short, the addresses consist of:

  • A human readable part, which is bc for Bitcoin mainnet segwit addresses.
  • A separator (1)
  • A payload (storing the actual script data), consisting of:
    • A character for the witness version (q for witness v0, p for witness v1, …). See the BIPs for details on the character set.
    • A variable number of characters storing the witness program (32 characters for 20-byte witness programs like P2WPKH has; 52 characters for 32-byte witness programs like P2WSH or P2TR have). The 8-bit data is converted to 5-bit groups, and encoded using the bech32 character set.
  • 6 characters checksum, using the checksum algorithm specified in BIP173 or BIP350.

sql – I am using Oracle EBS R2 Is there any solution to get the IP address of Client machine

I have tried the below but it is based on user. I am trying to get the client machine IP address no matter which user is connected to that.

SELECT distinct 
       c.CLIENTIP
  FROM v$process a, 
       v$session b, 
       fnd_logins c, 
       fnd_user d
 WHERE a.pid = c.pid
   AND d.user_id = c.user_id
   and d.user_name = '&User_name'
   AND a.addr = b.paddr
   AND c.end_time IS NULL;

How to generate multiple legacy or segwit bitcoin address

I would like to generate multiple bitcoin (and litecoin) addresses via Bitcoin Core (and Litecoin Core). I saw this topic How can I generate a large number of Bitcoin addresses? but "keypool" does not work in the Bitcoin Core console (which is accessible with CTRL+T or in Window menu>Console). I saw that I can generate new address with this command line : getnewaddress label addresstype but it’s a little bit long because I want to generate at least 100 address for each address type.

Thanks !

magento2 – Custom Customer Address Attribute save value

I’ve added a custom shipping and billing address input field on checkout via layoutProcessor. The field shows up fine but when I submit the order the value of the custom attribute is not saved as the actual field value but rather as a attribute_code⏎value which is wrong.

I’m saving the custom attribute in quote_address, sales_order_address and customer_address_entity tabels.

extension_attributes.xml

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
    <extension_attributes for="MagentoCustomerApiDataAddressInterface">
        <attribute code="custom_foo" type="string"/>
    </extension_attributes>
    <extension_attributes for="MagentoQuoteApiDataAddressInterface">
        <attribute code="custom_foo" type="string"/>
    </extension_attributes>
    <extension_attributes for="MagentoSalesApiDataOrderAddressInterface">
        <attribute code="custom_foo" type="string"/>
    </extension_attributes>
    <extension_attributes for="MagentoCheckoutApiDataShippingInformationInterface">
        <attribute code="custom_foo" type="string"/>
    </extension_attributes>
</config>

fieldset.xml

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:DataObject/etc/fieldset.xsd">
    <scope id="global">
        <fieldset id="sales_convert_order_address">
            <field name="custom_foo">
                <aspect name="to_quote_address"/>
            </field>
        </fieldset>
        <fieldset id="sales_convert_quote_address">
            <field name="custom_foo">
                <aspect name="to_customer_address"/>
                <aspect name="to_order_address"/>
            </field>
        </fieldset>
        <fieldset id="sales_copy_order_billing_address">
            <field name="custom_foo">
                <aspect name="to_order"/>
            </field>
        </fieldset>
        <fieldset id="order_address">
            <field name="custom_foo">
                <aspect name="to_customer_address"/>
            </field>
        </fieldset>
    </scope>
</config>

LayoutProcessor.php (an example for shippingAddress field config)

$customFooConfig = array(
    'config'            => (
        'customScope' => 'shippingAddress.custom_attributes',
        'customEntry' => null,
        'template'    => 'ui/form/field',
        'elementTmpl' => 'ui/form/element/input',
        'id'          => 'custom-foo',
    ),
    'label'             => 'Custom Foo',
    'value'             => '',
    'dataScope'         => 'shippingAddress.custom_attributes.custom-foo',
    'provider'          => 'checkoutProvider',
    'id'                => 'custom-foo',
    'sortOrder'         => 1,
    'customEntry'       => null,
    'visible'           => true,
    'validation'        => (
        'required-entry' => true,
    ),
);

db_schema.xml

<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
    <table name="customer_address_entity">
        <column xsi:type="varchar" name="custom_foo" nullable="true" length="255" comment="Custom Foo"/>
    <table name="quote_address">
        <column xsi:type="varchar" name="custom_foo" nullable="true" length="255" comment="Custom Foo"/>
    </table>
    <table name="sales_order_address">
        <column xsi:type="varchar" name="custom_foo" nullable="true" length="255" comment="Custom Foo"/>
    </table>
</schema>

I have followed Magento 2 Guide – Adding New Checkout Filed step by step and the field is posting custom and extension attributes correctly. I’ve also created a new customer address attribute for editing the custom_foo attribute on customer account/addresses page which is working fine.

The only issue is that on order submit the custom_foo value is being saved as a key/par value which is the structure of customAttributes property. Am I missing something in the xml configuration(s) or should I parse the custom or extension attributes on quote/order submit and set the to address each time?

Connect to AWS private subnet without static IP address

My ISP user CGNAT and I don’t have a static IP address but I want to connect to my AWS subnet. I tried creating a VM for an OpenVPN server but that way I can only connect to the server VM unless I setup the on all the other VMs. How can I connect to my subnet without a static IP address?

bitcoin core – Is there a way to list Unspent transactions for a BTC address that is not part of the Wallet, without importing the address to Wallet

Is there a way to list Unspent transactions for a BTC address that is not part of the Wallet, without importing the address to Wallet.

I am looking for a rpc function similar to listunspent which is listing the unspent transactions belonging to the Wallet, but the same output for an address which is not in the wallet.

segregated witness – Is a P2WPKH address synonymous with a Bech32 address?

P2WPKH and bech32 are not quite synonymous.

Native segwit describes a type of output schema in which the scriptPubKey (the “locking script”) is composed of a witness version and a witness program. P2WPKH is a native segwit v0 output type.

Bech32 refers to an encoding scheme and an address format to represent a recipient’s scriptPubKey in out-of-band communication.

We use “bech32 addresses” to instruct spenders to create “P2WPKH outputs”:

  • Pay to Witness Public Key Hash (P2WPKH) and Pay to Witness Script Hash (P2WSH) are native segwit v0 outputs that get represented using bech32 addresses.
  • Pay to Public Key Hash (P2PKH) and Pay to Script Hash (P2SH) use base58 addresses.
  • Pay to Taproot (P2TR) and future native segwit output types will use bech32m addresses.

DreamProxies - Cheapest USA Elite Private Proxies 100 Cheap USA Private Proxies Buy 200 Cheap USA Private Proxies 400 Best Private Proxies Cheap 1000 USA Private Proxies 2000 USA Private Proxies 5000 Cheap USA Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Best Quality USA Private Proxies