Google Spread Sheet Import Question

I have some google dorks like ( Around 4000+)
"site:uber.com"
site:twitter.com"
What i want is to fetch results/links of each search on google
Is there any way
I add url like that and it returns me result
https://www.google.com/search?q=site:uber.com

backup – How to back-up a folder every 15 minutes without taking up more space than needed?

I’m incrementally backing up my coding project with Duplicity and am finding it’s consuming storage faster than expected.

The folder I’m backing up consists mostly of gifs, images, and libraries that take up most of the space and are only occasionally changed, and my script files which take up very little space but need to be backed up every 15 minutes or so to avoid losing hours of progress if data is accidentally deleted.

Since Duplicity doesn’t store the files whole but has encrypted slices that need to be restored, I assumed that means it’s only copying the parts of the folders that need to be changed into a snapshot and algorithmically piecing it together?

If not, is there a tool that would be more efficient for doing this? Ideally I’m trying to set up a system that backs up the entire folder to a USB drive once per day, and does a more efficient sync every 15 minutes so I can easily go back if I accidentally delete everything.

windows – Cant finish a win10 boot installation on HP 630 Laptop

I am trying to re install windows 10 on a hp 630 laptop that I bought and when I was in the old install and I was trying to start the setup, I was trying to login to the bios and change the boot order but as soon as I get to the bios I was unable to use the keyboard. So I runned the setup from the this pc and the format finished and then I went to the last stages but there was a message saying that for some reason it was impossible to open the fresh setup and it has to reboot, connect to wifi, update and could be fixed. the laptop did that around 10 times with no result then I tried to reset the pc from advanced options and with the option to erase all data the installation was finished on 30% and when I tried to keep the files and reset the pc I was prompt to a defaultuser0 with a password which I don’t have. Do anyone know how can give life to this laptop again?

thanks

What is the complexity "Big O notation" of the following algorithm?

I m not sure if i got the correct complexity. I found $O(sqrt(n))$.
Can someone confirm with me if it’s the correct answer ?

(Mystere Algorithm)(1)

(1): https://i.stack.imgur.com/Yl9vS.pngstrong text

custom field – How to make a complete Meta Box part of a complete Post Type?

I receive the code complete, but I don’t know how to make the Post Type loads the MetaBox when creating a new Post, here is the Post Type:

if ( ! function_exists('cpt_campaign_details') ) {

// Register Custom Post Type
function cpt_campaign_details() {

    $labels = array(
        'name'                  => _x( 'Campaign Details', 'Post Type General Name', 'text_domain' ),
        'singular_name'         => _x( 'Campaign Detail', 'Post Type Singular Name', 'text_domain' ),
        'menu_name'             => __( 'Campaign Details', 'text_domain' ),
        'name_admin_bar'        => __( 'Campaign Detail Post', 'text_domain' ),
        'archives'              => __( 'Campaign Details Archives', 'text_domain' ),
        'attributes'            => __( 'Campaign Detail Attributes', 'text_domain' ),
        'parent_item_colon'     => __( 'Parent Campaign Detail:', 'text_domain' ),
        'all_items'             => __( 'All Campaign Details', 'text_domain' ),
        'add_new_item'          => __( 'Add New Campaign Detail', 'text_domain' ),
        'add_new'               => __( 'Add New', 'text_domain' ),
        'new_item'              => __( 'New Campaign Detail', 'text_domain' ),
        'edit_item'             => __( 'Edit Campaign Detail', 'text_domain' ),
        'update_item'           => __( 'Update Campaign Detail', 'text_domain' ),
        'view_item'             => __( 'View Campaign Detail', 'text_domain' ),
        'view_items'            => __( 'View Campaign Detail', 'text_domain' ),
        'search_items'          => __( 'Search Campaign Details', 'text_domain' ),
        'not_found'             => __( 'Not found', 'text_domain' ),
        'not_found_in_trash'    => __( 'Not found in Trash', 'text_domain' ),
        'featured_image'        => __( 'Featured Image', 'text_domain' ),
        'set_featured_image'    => __( 'Set featured image', 'text_domain' ),
        'remove_featured_image' => __( 'Remove featured image', 'text_domain' ),
        'use_featured_image'    => __( 'Use as featured image', 'text_domain' ),
        'insert_into_item'      => __( 'Insert into Campaign Detail', 'text_domain' ),
        'uploaded_to_this_item' => __( 'Uploaded to this Campaign Detail', 'text_domain' ),
        'items_list'            => __( 'Campaign Details list', 'text_domain' ),
        'items_list_navigation' => __( 'Campaign Details list navigation', 'text_domain' ),
        'filter_items_list'     => __( 'Filter Campaign Details list', 'text_domain' ),
    );
    $args = array(
        'label'                 => __( 'Campaign Detail', 'text_domain' ),
        'description'           => __( 'This post is used to manage all Campaign details', 'text_domain' ),
        'labels'                => $labels,
        'supports'              => array( 'title', 'thumbnail', 'page-attributes' ),
        'taxonomies'            => array( 'category', 'post_tag' ),
        'hierarchical'          => true,
        'public'                => true,
        'show_ui'               => true,
        'show_in_menu'          => true,
        'menu_position'         => 5,
        'menu_icon'             => 'dashicons-megaphone',
        'show_in_admin_bar'     => true,
        'show_in_nav_menus'     => true,
        'can_export'            => true,
        'has_archive'           => true,
        'exclude_from_search'   => false,
        'publicly_queryable'    => true,
        'capability_type'       => 'page',
    );
    register_post_type( 'campaign_details', $args );

}
add_action( 'init', 'cpt_campaign_details', 0 );

}

And here is the Meta Box:

class CampDeta_Resu {

    public function __construct() {

        if ( is_admin() ) {
            add_action( 'load-post.php',     array( $this, 'init_metabox' ) );
            add_action( 'load-post-new.php', array( $this, 'init_metabox' ) );
        }

    }

    public function init_metabox() {

        add_action( 'add_meta_boxes',        array( $this, 'add_metabox' )         );
        add_action( 'save_post',             array( $this, 'save_metabox' ), 10, 2 );

    }

    public function add_metabox() {

        add_meta_box(
            'CampDeta_Resu',
            __( 'Campaign Details Results', 'text_domain' ),
            array( $this, 'render_metabox' ),
            'post',
            'normal',
            'default'
        );

    }

    public function render_metabox( $post ) {

        // Retrieve an existing value from the database.
        $cade_re_results_numbers = get_post_meta( $post->ID, 'cade_re_results_numbers', true );
        $cade_re_results_legend = get_post_meta( $post->ID, 'cade_re_results_legend', true );

        // Set default values.
        if( empty( $cade_re_results_numbers ) ) $cade_re_results_numbers = '';
        if( empty( $cade_re_results_legend ) ) $cade_re_results_legend = '';

        // Form fields.
        echo '<table class="form-table">';

        echo '  <tr>';
        echo '      <th><label for="cade_re_results_numbers" class="cade_re_results_numbers_label">' . __( 'Number', 'text_domain' ) . '</label></th>';
        echo '      <td>';
        echo '          <input type="text" id="cade_re_results_numbers" name="cade_re_results_numbers" class="cade_re_results_numbers_field" placeholder="' . esc_attr__( '', 'text_domain' ) . '" value="' . esc_attr( $cade_re_results_numbers ) . '">';
        echo '          <p class="description">' . __( 'This is the number that will appear over the legend. Example: 5.4M | 8.4M+ | 5x', 'text_domain' ) . '</p>';
        echo '      </td>';
        echo '  </tr>';

        echo '  <tr>';
        echo '      <th><label for="cade_re_results_legend" class="cade_re_results_legend_label">' . __( 'Legend', 'text_domain' ) . '</label></th>';
        echo '      <td>';
        echo '          <input type="text" id="cade_re_results_legend" name="cade_re_results_legend" class="cade_re_results_legend_field" placeholder="' . esc_attr__( '', 'text_domain' ) . '" value="' . esc_attr( $cade_re_results_legend ) . '">';
        echo '          <p class="description">' . __( 'This text will go below the number and will define what the number means. Example: Total print reach | Visits | Engagement growth', 'text_domain' ) . '</p>';
        echo '      </td>';
        echo '  </tr>';

        echo '</table>';

    }

    public function save_metabox( $post_id, $post ) {

        // Sanitize user input.
        $cade_re_new_results_numbers = isset( $_POST( 'cade_re_results_numbers' ) ) ? sanitize_text_field( $_POST( 'cade_re_results_numbers' ) ) : '';
        $cade_re_new_results_legend = isset( $_POST( 'cade_re_results_legend' ) ) ? sanitize_text_field( $_POST( 'cade_re_results_legend' ) ) : '';

        // Update the meta field in the database.
        update_post_meta( $post_id, 'cade_re_results_numbers', $cade_re_new_results_numbers );
        update_post_meta( $post_id, 'cade_re_results_legend', $cade_re_new_results_legend );

    }

}

new CampDeta_Resu;

I googled “add a created metabox to a post type” and a lot of things like that and there is a lot of tutorials but unfortunately I can’t make it work.

How do I keep voice to text active in gboard? Even during silences

I often use gboard’s text to speech to do voice typing. However, every time I pause speaking for a few seconds, I have to reactivate this feature by click the microphone on the keyboard. How do I keep it active for longer?

macos – Mac unity not working (error message)

Upon opening a new project or template the unity launcher dies and shows the errror message

Could not find Unity Package Manager local server application at (/Applications/Unity/Hub/Editor/2020.3.15f1/Unity.app/Contents/Resources/PackageManager/Server/UnityPackageManager). Missing files could be the result of an antivirus action or a corrupt Unity installation.

If I diagnose it says

❓ UPM health check (UNKNOWN)
Start the UPM process and call its health endpoint

Could not find UPM executable at path ‘/Applications/Unity/Hub/Editor/2020.3.15f1/Unity.app/Contents/Resources/PackageManager/Server/UnityPackageManager’

Anyone that cane help it would be greatly appreciated

Minimal DNS for domain pointer/redirect

It isn’t possible to use DNS alone to implement redirects. All that DNS can do is point a domain to a server. It is the job of the web server to issue the redirects. Even if you use a CNAME record to point the domain to the same server as another domain, you still have to configure the server to redirect as opposed to showing the same content as the other domain or showing other content entirely.

You are correct that you probably don’t need every type of DNS record. However if some are getting created automatically, they don’t usually hurt anything, so I would just leave them. At the very least you are going to need:

  • DNS NS records at your domain registrar pointing to your DNS host.
  • DNS A records for example.net and *.example.net pointing to the IP address of the redirecting web server. (The wildcard record covers ALL subdomains, but it doesn’t cover the bare domain. So you need the two records so that the bare domain works as well.)

If you want to support IPV6 with your redirects, you will also need corresponding AAAA records pointing to the IPV6 address of the redirecting web server.

You could use a CNAME record for *.example.net rather than an A record. However you MAY NOT use a CNAME record for example.net because CNAME records are NOT ALLOWED at the domain apex. If you try to do so, some DNS editors will allow it, but it will break other things (like email sent to that domain.)

If you want email to this alternate domain to be delivered the same as it for the main domain, you will need MX records pointing to your email server and you will need to configure the email server to accept that mail and deliver it to the example.com mailboxes. Most email servers call this a “domain alias” or “secondary domain”.

As for configuring a web server to issue the redirects, I now recommend using Cloudflare for redirecting alternate domains. They have a free service tier that can handle alternate domain redirects. Their redirects also automatically fully support HTTPS. It’s a multi-step process to set up, but once set up it works perfectly. See complete instructions for setting up alternate domain redirects at Cloudflare.

If you don’t want to use Cloudflare, then pointing the domain to your existing web server, adding an alternate domain to your account, setting up SSL certificates for it, and configuring that domain to redirect using .htaccess as detailed by other answers is a fine solution too.

frankfurt – Can I switch flights in Germany without having to go through immigration

I am a Canadian citizen, and I need to get to BLR for some work. Flight tickets are crazy costly, so my plan is to book a return trip ticket between YYZ and FRA, and then another return trip ticket between BLR and FRA. That way my costs are a bit low. My question is when I arrive in FRA from YYZ, can I switch my flight? I’m assuming I’ll need to go through immigration to collect my baggage so that I can check in to my flight to BLR. I’m just not sure if this is feasible.
Thank you.