Can a Linux box be configured with IEEE 802.1x while retrieving information from a Windows box?

A managed Windows device can join my company's wired network, unlike a personal Linux device.

As far as I know, this is possible thanks to the IEEE 802.1x standard.

Looking at the configuration, a computer certificate is used and I have successfully accessed the private key located under ...MicrosoftCryptoRSAMachineKeys and its corresponding certificate.

The questions are:

  1. Is this possible given these elements?
  2. The private key seems to be in a binary format that I don't recognize, it should probably be converted to a DER / PEM format for the Linux NetworkManager? If so, how?

mysql – Find the next due date by excluding weekends and holidays in php by retrieving the value from the same table and inserting it into it

i just used this code and its not working
 ';

get value from the table

        $sql = "SELECT Nextactiondate FROM pr_trial_test WHERE SLNO='12'";

         $result = mysqli_query($conn,$sql);

         if (mysqli_num_rows($result)>'0') {
            while($row = mysqli_fetch_assoc($result)) {

Holiday table

                $action_date_2 = '$sql';
                $holidays = ('(2020-01-04','2020-01-05','2020-01-11','2020-01-12','2020-01-18','2020-01-19','2020-01-25','2020-01-26','2020-02-01','2020-02-02','2020-02-08',
'2020-02-09','2020-02-15','2020-02-16',
'2020-02-22','2020-02-23','2020-02-29','2020-03-01','2020-03-07','2020-03-08','2020-03-14','2020-03-15','2020-03-21','2020-03-22','2020-03-28','2020-03-29','2020-04-04','2020-04-05',
'2020-04-11','2020-04-12','2020-04-18','2020-04-19','2020-04-25','2020-04-26','2020-05-02','2020-05-03','2020-05-09','2020-05-10','2020-05-16','2020-05-17','2020-05-23','2020-05-24','
2020-05-30','2020-05-31','2020-06-06','2020-06-07','2020-06-13','2020-06-14','2020-06-20','2020-06-21','2020-06-27','2020-06-28','2020-07-04','2020-07-05','2020-07-11','2020-07-12','
2020-07-18','2020-07-19','2020-07-25','2020-07-26','2020-08-01','2020-08-02','2020-08-08','2020-08-09','2020-08-15','2020-08-16','2020-08-22','2020-08-23','2020-08-29','2020-08-30','
2020-09-05','2020-09-06','2020-09-12','2020-09-13','2020-09-19','2020-09-20','2020-09-26',' 2020-09-27','2020-10-03','2020-10-04','2020-10-10','2020-10-11','2020-10-17','2020-10-18','
2020-10-24','2020-10-25','2020-10-31','2020-11-01','2020-11-07','2020-11-08','2020-11-14','2020-11-15','2020-11-21','2020-11-22','2020-11-28','2020-11-29','2020-12-05','2020-12-06','
2020-12-12','2020-12-13','2020-12-19','2020-12-20','2020-12-26','2020-12-27)');

                                $i ='1';
                            $nextactiondate2 = date('Y-m-d',strtotime('$action_date_2'.'+30 Weekday'));

verification of the calculation of the due date
$ date = date (& # 39; Y-m-d & # 39 ;, strtotime (& # 39; $ action_date_2 & # 39 ;. & # 39; + 30 Weekday & # 39;));

                    while(in_array($nextactiondate2,$holidays));
                    {
       $nextactiondate2 = date('Y-m-d', strtotime($action_date_2.' +'.$i.' weekdays'));

                            $date= date('Y-m-d',strtotime($action_date_2));
                            $i++;
                    }
                    $sql="UPDATE pr_trial_test SET nextactiondate2='$nextactiondate2' WHERE SLNO='12'";

echo "table inserted successfully";
                           }
         }
         else 
         {
            echo "0 results";
         }
         mysqli_close($conn);
      ?>

Production:
table successfully inserted.

But there is no change in the table.

excel – Error retrieving name of immediately preceding sheet

I am trying to retrieve the value that is in a leaf cell just before the sheet I'm on, that is, from which I want to launch the code. Because the name of the sheet just above may be different, depending on the Excel book I'm in to run this code.
It gives me an error that the qualifier must be a collection, as if the variable which was to retrieve the name of the previous page did not recognize me. The error marks me in the exclamation mark.

Under Macro1 ()

Dim nombrehojaanterior As String
nombrehojaanterior = Workbook.Worksheets.Previous.Name
Range("B1").Value = nombrehojaanterior!H2

End Sub

sharepoint online – Retrieving json content from a ListItem

Try {
    #Connect to PNP Online
    Connect-PnPOnline -Url $siteUrl -UseWebLogin
    $CAMLQuery1 = "
    
        
            
                
                content.json
            
        
    "
    $FolderItems = Get-PnPListItem -List $ListName -Query $CAMLQuery1
    ForEach($Item in $FolderItems)
    {
        Write-host $Item
    }

}
catch {
    write-host "Error: $($_.Exception.Message)" -foregroundcolor Red
}

How can I get the json content of the file I retrieved via the CAML request? I tried to find a solution, but I did not find anything.

seo – Google Search Console is not retrieving the sitemap correctly?

The Search Console does not retrieve the sitemap when it is named "Sitemap.xml", after we renamed it to "Sitemapnew.xml", the sitemap has been successfully submitted.

4 630 URL "s discovered even after removing these URLs from the sitemap why ??

What will be the reason for these problems ?? Please provide some suggestions.

enter description of image here

Google Sheets – Retrieving cell date and formatting is not correct

I have my cell with date
enter description of image here

IF(B10 <>"","Available on "&B10,"")

And when I try to enter the date, the numbers 43837 are displayed. The cell is formatted in the same way as the SALE DATE cell. Am I not formatting correctly in the cell?

I want it to say Available January 7, 2020, just like it's the date cell.

outbuildings – berks installation – Artifactory – Retrieving the cookbook index from ARTIFACTORY_URL / api / chef / some-chef-repo HANGS

Artificial version: Artifactory Professional 6.11.3 rev 61103900

berks install --debug just hangs on the next line (and don't spit errors / warnings / etc):

Fetching cookbook index from http://my-company-artifactory-server-development:8181/artifactory/api/chef/chef-develop-virtual...

Full log showing some previous log lines:

23:17:05 I, (2020-01-24T23:17:05.732159 #7235)  INFO -- : Checking if lockfile is trusted
23:17:05 D, (2020-01-24T23:17:05.732185 #7235) DEBUG -- : Checking my_wrapper_cookbook (>= 0.0.0)
23:17:05 D, (2020-01-24T23:17:05.732199 #7235) DEBUG -- :   Not in lockfile - cannot be trusted!
23:17:05 I, (2020-01-24T23:17:05.732212 #7235)  INFO -- : Installing from universe
23:17:05 D, (2020-01-24T23:17:05.732232 #7235) DEBUG -- :   Creating a resolver
23:17:05 Fetching cookbook index from http://my-company-artifactory-server-development:8181/artifactory/api/chef/chef-develop-virtual...

and this step in the process is just sitting here to last 2+ hours.

I did not find anything in the journal of Artifactory or berks install --debug which could indicate why this is happening and is suspended!

my Berksfile:

# vim: ft=berksfile.ruby:

source "http://my-company-artifactory-server-development:8181/artifactory/api/chef/chef-develop-virtual"

cookbook "my_wrapper_cookbook", ">= 0.0.0"

Retrieving the list of users authorized to use the SharePoint page

When in use _api/web/siteusers? I get a lot of usernames and email addresses.

With XPath, I managed to filter them out.

Then I realized that there were an awful lot of usernames and email addresses that didn't have access to my page.

In SharePoint, the REST API /_api/web/siteusers the endpoint provides only the list of authorized users on the current website.

How can I recover the users authorized to use my Sharepoint page?

mysql – Error retrieving entry with AreaName in node.js

I am trying to perform a get with multiple parameters in node.js. I have the following files

entry.routes.js

module.exports = app => {
  const entry = require("../controlers/entry.controller.js");

  // Retrieve a single Entry with Id
  app.get("/entry/:Id", entry.findOne);


  app.get("/energy/api/ActualTotalLoad/:AreaName/:Resolution/:Year/:Month/:Day", entry.find1a);

};

ActualTotalLoad.model.js

const sql = require("./db.js");

// constructor
const Entry = function(entry) {
  this.Id=entry.Id
};

Entry.findByPk = (Id, result) => {
  sql.query(`SELECT * FROM ActualTotalLoad WHERE Id = ${Id}`, (err, res) => {
    if (err) {
      console.log("error: ", err);
      result(err, null);
      return;
    }

    if (res.length) {
      console.log("found entry: ", res(0));
      result(null, res(0));
      return;
    }

    // not found Customer with the id
    result({ kind: "not_found" }, null);
  });
};

Entry.findBy1a = (AreaName,Resolution,Year,Month,Day,result) => {
  sql.query(`SELECT AreaName,AreaTypeCodeId,MapCodeId,ResolutionCodeId,Year,Month,Day FROM ActualTotalLoad WHERE AreaName = ${AreaName} AND ResolutionCodeId = ${Resolution} AND Year = ${Year} AND Month = ${Month} AND Day = ${Day}` , (err, res) => {
    if (err) {
      console.log("error: ", err);
      result(err, null);
      return;
    }

    if (res.length) {
      console.log("found entry: ", res(0));
      result(null, res(0));
      return;
    }

    // not found Customer with the id
    result({ kind: "not_found" }, null);
  });
};

module.exports=Entry;

and the file: entry.controller.js

const Entry = require("../models/ActualTotalLoad.model.js");

// Find a single Customer with a customerId
exports.findOne = (req, res) => {
   Entry.findByPk(req.params.Id, (err, data) => {
    if (err) {
      if (err.kind === "not_found") {
        res.status(404).send({
          message: `Not found Entry with id ${req.params.Id}.`
        });
      } else {
        res.status(500).send({
          message: "Error retrieving Entry with id " + req.params.Id
        });
      }
    } else res.send(data);
  });
};


exports.find1a = (req, res) => {
   Entry.findBy1a(req.params.AreaName,req.params.Resolution,req.params.Year,req.params.Month,req.params.Day, (err, data) => {
    if (err) {
      if (err.kind === "not_found") {
        res.status(404).send({
          message: `Not found Entry with AreaName ${req.params.AreaName}.`
        });
      } else {
        res.status(500).send({
          message: "Error retrieving Entry with AreaName " + req.params.AreaName
        });
      }
    } else res.send(data);
  });
};

I'm trying to execute this get http: // localhost: 8765 / energy / api / ActualTotalLoad / DE-AT-LU / 7/2018/1/4

But I get the error "message": "Error retrieving entry with AreaName DE-AT-LU"

What am i doing wrong?

View error in the vial when retrieving an item in MongoDB

I'm trying to fill a page built in Flask from items in MongoDB. My itinerary looks like:

@app.route('/job/', methods=("GET"))
def job_post(posting):
    posting = db.openings.find({'Id': posting})
    title = db.openings.find_one({'Id': posting}, {'Title': 1, '_id':0})
    return render_template('post_page.html', posting=posting, title=title)

My template page for post_page.html is:

{% extends "layout.html" %}
{% block content%}



{% endblock content %}

When I try to access a page, I get an error by saying "bson.errors.InvalidDocument: cannot encode object: , of type: "

When I look for this error, most problems come from using find instead of find_one. j & # 39; uses find_one Here, and when I test it in a Python shell, the variable type for title is a dictionary. I do not understand why he passes a cursor object to the model.