Web Parts of the Script and Content Editor are missing in SharePoint 2019

I work with SP 2019 on Prem. One of the strangest problems to notice.
I have enabled SharePoint Server Publishing and SharePoint Server publishing infrastructure. If you're editing a classic page, you'll see below that there are no web parts available for the content / script editor

Enter image description here

See configuration for the web app level below,
Enter image description here

I've also disabled and re-enabled the SP Server publishing feature, but still no luck.
When I create a brand new site collection under the same web application, I see all the classic web parts, script / content editor all, no problems. So I think the site collection is a specific problem.

If anyone has ever experienced this, please shed some light and thank you in advance for your help.

Google Apps script – The onEdit feature does not work under the following features

I have problems with my GAS below:

The problem is that the sendSms () function does not work after editing the sheet.

// datownik

Function onEdit (e) {
var ss = SpreadsheetApp.getActiveSpreadsheet ();
var sheet = e.source.getActiveSheet (). getName ();
var editedColumn = e.range.getSheet (). getActiveCell (). getColumn ();
if (e.value == "ZAKONCZONO" && editedColumn == 12 && e.range.offset (0,5) .isBlank () &&! e.range.offset (0,3) .isBlank () &&! e. range.offset (0.4) .isBlank ()) {
e.range.offset (0.5) .setValue (new Date ()). setNumberFormat ("yyyy-MM-dd");
Send a SMS();
}
}

// Wysyłanie powiadomień SMS

Function sendSms () {
var key = "key = ***************";
var password = "password = ********";
var from = "from = TEST";
var to = "to = **********";
var msg = "msg = mytext";
var url = "https://api.playsms.pl/send?" + key + "&" + password + "&" + from + "&" + to + "&" + msg;
UrlFetchApp.fetch (url);
}

My bash script is ending, but it's not finished yet

I've created a little script to find raspberry on a LAN and try standard login.

I do not understand why the script does not continue the execution

There is the script: https://pastebin.com/CNVepNEU

there is the output:

SCAN to RPi at 192.168.1.0/24

List of uncovered SSH servers:

192.168.1.43

192.168.1.101

192.168.1.254


TRY DEFAULT LOGIN FOR RPi

Check for 192.168.1.43

192.168.1.43 is vulnerable !!!

Quince Boucle


PWNED RPi:

192.168.1.43

Sorry for my english, i am french

an idea ?

Google Apps script – Copy and paste specific data from a document into a specific cell in a table

I use Google Apps Script. I have several Google documents with information associated with specific categories. I'm trying to create a Google spreadsheet that contains all the information from the different categories, if that makes sense. I want to automate the process of copying and pasting the right information under the heading into the correct cell of the table. I have very little background in Apps Script (I attended Ben Collins Blastoff class) and I'm not sure where to start. I think I would find out how to set it up so that all data is copied and pasted into the document after a specific header until another defined header is detected. I know how to get the right sheet and the document, and I can get the script to log all the information from the Google Doc, but I do not know how to select particular blocks with the script.

Google Sheets Script – batch exchange of web applications

I think I'm making progress – the following script is activated, but only the first part works, the second function does not – Ideas?

Function onEdit (e) {
moveRowsFromSheetToSheet_ (e);
moveRowsFromSheetToSheetACC_ ();
}


Function moveRowsFromSheetToSheet_ (e) {

var columnNumberToWatch = 9; // column A = 1, B = 2 etc.
var sheetNamesToWatch =          ['Account', 'Prospect', 'Archive'];
var valuesToWatch =              ['Account', 'Prospect', 'Archive'];
var targetSheetsToMoveTheRowTo = ['Account', 'Prospect', 'Archive'];
///////////////////

var sheet = e.range.getSheet ();
if (sheetNamesToWatch.indexOf (sheet.getName ()) == -1
|| valuesToWatch.indexOf (e.range.getValue ()) == -1
|| e.range.getColumn ()! = columnNumberToWatch
|| e.range.getRow () <= sheet.getFrozenRows ()) {
Return;
}
var targetSheet = e.source.getSheetByName (targetSheetsToMoveTheRowTo[valuesToWatch.indexOf(e.range.getValue())]);
var targetSheetColumnAValues ​​= targetSheet.getRange (
/ * row * / 1,
/ * column * / 1,
/ * numRows * / targetSheet.getLastRow (),
/ * numColumns * / 2) .getDisplayValues ​​();
var row = targetSheetColumnAValues.length - 1;
while (row &&! (targetSheetColumnAValues[row][0], Length || targetSheetColumnAValues[row][1]Length)) {
Line--;
}
Line + = 1;
if (row <targetSheet.getFrozenRows ()) {
var error = & # 39; moveRowsFromSheetToSheet_ () found an incorrectly formatted target column on sheet "+ targetSheet.getName () +" (row = & # 39; + row + & # 39;). & # 39 ;;
SpreadsheetApp.getActive (). Toast (error, & # 39; error & # 39 ;, 20);
throw a new error (error);
}
var targetRange = targetSheet.getRange (line + 1, 1);
sheet.getRange (e.range.getRow (), 1, 1, sheet.getLastColumn ()). moveTo (targetRange);
targetRange.offset (/ * line * / 0, / * column F * / 6 - 1) .clearContent (); // delete the value in column F for the matrix formula to work
sheet.deleteRow (e.range.getRow ());
}

Function moveRowsFromSheetToSheetACC_ () {

var columnNumberToWatch = 13; // column A = 1, B = 2 etc.
var sheetNamesToWatch =          ['Review','Live', 'Won', 'Lost'];
var valuesToWatch =              ['Review', 'Live', 'Won','Lost'];
var targetSheetsToMoveTheRowTo = ['Review','Live', 'Won', 'Lost'];
///////////////////

var sheet = e.range.getSheet ();
if (sheetNamesToWatch.indexOf (sheet.getName ()) == -1
|| valuesToWatch.indexOf (e.range.getValue ()) == -1
|| e.range.getColumn ()! = columnNumberToWatch
|| e.range.getRow () <= sheet.getFrozenRows ()) {
Return;
}
var targetSheet = e.source.getSheetByName (targetSheetsToMoveTheRowTo[valuesToWatch.indexOf(e.range.getValue())]);
var targetSheetColumnAValues ​​= targetSheet.getRange (
/ * row * / 1,
/ * column * / 1,
/ * numRows * / targetSheet.getLastRow (),
/ * numColumns * / 2) .getDisplayValues ​​();
var row = targetSheetColumnAValues.length - 1;
while (row &&! (targetSheetColumnAValues[row][0], Length || targetSheetColumnAValues[row][1]Length)) {
Line--;
}
Line + = 1;
if (row <targetSheet.getFrozenRows ()) {
var error = & # 39; moveRowsFromSheetToSheet_ () found an incorrectly formatted target column on sheet "+ targetSheet.getName () +" (row = & # 39; + row + & # 39;). & # 39 ;;
SpreadsheetApp.getActive (). Toast (error, & # 39; error & # 39 ;, 20);
throw a new error (error);
}
var targetRange = targetSheet.getRange (line + 1, 1);
sheet.getRange (e.range.getRow (), 1, 1, sheet.getLastColumn ()). moveTo (targetRange);
targetRange.offset (/ * line * / 0, / * column F * / 6 - 1) .clearContent (); // delete the value in column F for the matrix formula to work
sheet.deleteRow (e.range.getRow ());
}