seo – crawl-delay: x ——— Has anyone here managed to understand how math works there?

From previous research on reading different articles, I understand that a delay in the tracking of robots.txt as:

crawl-delay: 1

It allows a particular search engine to track x number of web pages per second and then stop.

My problem

It is not clear to me from whenuntil when, stops (24 hours?).

It is not clear to me what he does after reading the following statement here:

Be careful when using the tracking delay policy. When setting a crawl
10 second delay is only allowing these search engines
Access 8,640 pages per day.

My question

crawl-delay: x; Has anyone here managed to understand how math works there?

Cannot execute jq from jenkins pipeline, the same jq command works from Shell

I tried to create a JSON file using JQ and I could achieve it from the shell.

Here is the command I am executing:

Command executed:

   jq --arg elementname ELEMENT01 --argjson obj '{ "Par                                                                           
   ameterKey": "Foo3", "ParameterValue": "Bar3" }' '. + {($elementname):$obj}' jq.j                                                                             
   son > tmp.json && mv -f tmp.json jq.json

Exit:

{
   "ELEMENT01": {
    "ParameterKey": "Foo3",
    "ParameterValue": "Bar3"
  }
}

Now I am trying to replicate the same of Jenkins and I cannot succeed.

Jenkins Env Variables:

    elementname = "ELEMENT01"
    ParameterKey = "Foo3"
    ParameterValue = "Bar3"

    stage('CheckOut') {
    steps {
    sh """
    jq --arg elmname $elementname --argjson obj '{ "ParameterKey": "$action", "ParameterValue": 
    "$actionccid" }' '. + {($elmname):$obj}' jq.j                                                                         
    son > tmp.json && mv -f tmp.json jq.json
    """
    }
    }

Translate javascript to Python syntax (or at least provide information on how the script works in Python terminology)

I was given the task of using this javascript to generate a json file combining time stamps using something called "lower quality soft api" to get these with scripts.txt. However, I haven't had much
experience with JavaScript, so some explanation of the intent and complexities of this code would be greatly appreciated.

this is getAligned.js
const getAligned = require('./getAudioTranscript.js');  // require getAudioTranscript.js, file ext not required, but need ./ to indicate it is a local file
getAligned.writeFile('_rJOSDgDG0A.m4a', '_rJOSDgDG0A.txt');
this is getAudioTranscript.js
module.exports = {
        //var request = curl.request(default_options);
        writeFile: (audioFilePath, textFileName) => {
            const curl = require('curlrequest');
            let options = {
                method: 'POST',
                form: (
                    "audio=@" + audioFilePath,
                    "transcript=@" + textFileName
                ),
                url: 'http://localhost:32768/transcriptions?',
            };
            let startDate = new Date().getTime();
            console.log(startDate);
            curl.request(options, function (err, data, meta) {
                //res.send({ alignment: data });
                console.log(options);
                //del.sync((textFileName));
                let endDate = new Date().getTime();
                console.log((endDate - startDate) / 1000);
        });
    },
  };

Programming languages ​​- How bitly.com to bit.ly works

I have a question about how bitly.com works for bit.ly. My question is not about shortening the URL of a long URL to a short URL. As the service that Bitly provides.

Suppose I have a website with the domain name freedom.com and I want to access my website by tying free.ly in the URL box. So what configuration do I do in the DNS field or something else.

How a show message Dialog works

I have a question about a method and hopefully they can help me.

I already use the showMessageDialog method, but what I don't understand is because you have to place "null" before the text you want to appear.

Thank you

Bet. Works?

Now there is a lot of information about sports betting. How much I study, anyway I have no confidence that this is not a hoax and you can earn money

sql server: start MSSQL SSIS on Linux and make sure it works

I am trying to connect to SSIS that was installed on the MySQL server (in RHEL 7). It was installed and configured according to the documentation.

I can connect to the server using SSMS (as a database engine), but I cannot connect to it as a server type of the integration service.

I tried to create SSISDB (SSIS catalog), but I received an error:

The path to the catalog backup file could not be determined. Integration Services might not be installed on this server, or the user may not have the appropriate access permissions. (Microsoft.SqlServer.IntegrationServices.Common.ObjectModel)

On the server, port 135 is not in use (documentation suggests that SSIS uses it). I am not sure that the service is running (systemctl show alone ssis-telemetry)

too /var/opt/ssis/log/ it is empty.


For the above reasons, I think SSIS is not working, but I can't find any method to execute it. On the other hand I used dtexec and throw some errors to make it seem that something works:

Microsoft (R) SQL Server Execute Package Utility
Version 14.0.3015.40 for 64-bit
Copyright (C) 2017 Microsoft. All rights reserved.

Started:  11:45:14 AM
Error: 2020-02-19 11:45:18.53
   Code: 0xC0048020
   Source: Data Flow Task 1 Data Flow Task 1 (SSIS.Pipeline)
   Description: The version of Destination - 100 Records_out_csv is not compatible with this version of the DataFlow.
End Error
...

How can I check if SSIS is running? And how can I start it?

nodes – 403 error when trying to edit one page (works on all other pages)

Using Drupal 7.69

There's one node (page) on my website that I'm trying to edit. When I click on edit it opens up this page but only shows the html source code instead of showing the other editor. When I try and click on 'plain text editor' at the bottom, nothing happens.

edit page only showing html source code

When I try and save an edit (even after editing nothing on the node), I get a 403 error.

403 error after trying to edit image

Nothing in the Drupal error log. It's a pretty basic page with a button, some images, some text.

I've tried editing other nodes (no issues), and have tried creating a new node and editing that, with no issues as well.

So it's only this one page that I can't edit. Any ideas on what's wrong, or how to fix this?

7 – Emoji works on one site but not on the other site on the same host

First I SUGGEST take a look at https://www.drupal.org/project/utf8mb4_convert module

try to add 'charset' => 'utf8mb4',
'collation' => 'utf8mb4_general_ci',
settings to your settings.php archive.

After adding it it should be something like:

$databases('default')('default') = array(
  'driver' => 'mysql',
  'database' => 'databasename',
  'username' => 'username',
  'password' => 'password',
  'host' => 'localhost',
  'charset' => 'utf8mb4',
  'collation' => 'utf8mb4_general_ci',
);

If it doesn't work for you, you probably need to change the MySQL settings. use the following configuration in your MySQL configuration (usually my.cnf or my.ini)

# Use UTF8MB4 as the character set
collation-server = utf8mb4_unicode_ci
init-connect='SET NAMES utf8mb4'
character-set-server = utf8mb4

Another suggestion:

ALTER DATABASE dbname CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
SELECT CONCAT('ALTER TABLE `', TABLE_NAME,'` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;') AS mySQL
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA= "dbname"
AND TABLE_TYPE="BASE TABLE"

FINAL STEP to make the warning disappear and obtain a Clean Status Report:

USE YOURDATABASENAME;INSERT INTO variable SET name='drupal_all_databases_are_utf8mb4', value='b:1;';

my.ini or my.cnf
Add:

(mysqld)
innodb_large_prefix=true
innodb_file_format=barracuda
innodb_file_per_table=true

settings.php

  'charset' => 'utf8mb4',
  'collation' => 'utf8mb4_general_ci',

database: Emoji works in drupal site 8 but not in drupal site 7 on the same host

I am trying to enable emojis, so by following the documentation here https://www.drupal.org/node/2754539

I have added the following to my configuration

  'charset' => 'utf8mb4',
  'collation' => 'utf8mb4_general_ci',

I have converted the MySQL tables into utf8mb4 format and set COLLATE to utf8mb4_general_ci.

In my drupal 8 site, the emojis work in drupal 7, I have the following error.

4 byte UTF-8 for mysql is activated, but not supported on your system. Please turn this off in settings.php, or ensure that all database-related requirements are met.

What else could be missing?