bitcoind: recover Bitcoin UTXO to the address created by rpc importprivkey without rescanning as another api

For some reasons, I must use the rpc node to handle the wallet at this time. In the near future, I will change the flow to use the library to create addresses, store the private key in the database and create an unprocessed transaction. That means I will use the rpc node just to transmit, I will not depend too much on it. But I need time to do it, so I will divide this period into a few parts, first, I will start creating and storing the address:
I have both the hexadecimal private key and the wif key, then I use importprivkey import wif key to rpc node without rescan because I have a great request to contact rpc. If those addresses are new, it is a very nice scenario, each new entry to them will automatically search for UTXO using listunspent command to verify.
Otherwise, the worst case scenario, for maintenance or backup, I import an address that contains previous UTXO and I want to search for these UTXO in unused addresses rescan command (it takes a long time to complete), like other APIs, just put the address and get UTXO in the blink of an eye.
https://testnet.blockexplorer.com/api/addr/myzhMVXT39L7nnco6TtJ2a7sYaEo8ixT4Q/utxo
Is there any way to retrieve old UTXO to address on the rpc node without rescanning? Because these APIs are a very quick response, I think they are not using Rescan. In the long term, using another API is not good for my project, I am using version 0.16 (I know it is very old but the project needs time to change it slowly and carefully), thanks for the help.

Indexing: some links are indexable and others not when all are created in the same way, why?

I am trying to create a site map. I am using the screaming frog software, but I think this can be achieved in different ways with other software as well.

My links are generated with different parameters using php and they all look like mywebsite.com/content.php?id=123. I have a rewrite.php file that takes a clean URL alias written by the user (for example, mysite.com/mi/new/message) and redirects it to the user ugly Location.

For example:

mywebsite.com/mi-mensaje It is read by the rewrite.php script and is displayed in the browser as mywebsite.com/content.php?id=523or

mywebsite.com/mi-otro-mensaje It is shown as mywebsite.com/content.php?id=268or

mywebsite.com/legislacion/mi-otro-mensaje It is shown as mywebsite.com/content.php?id=274

and so…

PHP reads things from a MySQL database to know where to redirect the user.

Now, when I analyze the results with the screaming frog, they tell me effectively: some aliases can be indexed, obtaining a result of state 200, and others not, obtaining a state 301 or 302. The funny thing is that all aliases work the same way. All are redirects of an ugly ...?id=X link.

Here is an example of what I mean, here are two aliases:

Here are two aliases.

In the screenshot above, I am comparing the selected link (green) with the link that is immediately above. As you can see, the status is different even though these 2 links work normally.

Here is the resulting output for the link highlighted above:

Here is the ok

And here is the output for another link with which I am comparing it.

the other not indexable

As you can see the 2 links are generated in exactly the same way, but the second link is not indexable.

In both cases they have a redirect URL. My question is why the first link is indexable and the second is not, when both links are generated in a similar way. Why state 200 for one link and 302 for the other? I can access both links for your clean alias.

Here is my .htaccess file:


Options +FollowSymLinks
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^.*$ ./rewrite.php

php: SVG embedded in the PDF created using TCPDF rotating the grayscale

I am using TCPDF to create a PDF file. However, some of the SVG files that I have and I would like to use in this PDF turn gray / black in the output. If I open those SVG files in the browser or Adobe Illustrator, it seems correct.

Code that I used to create the PDF:

require_once('tcpdf_include.php');
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
$pdf->SetCreator(PDF_CREATOR);

$pdf->setPrintHeader(false);
$pdf->setPrintFooter(false);

$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);



// set some language-dependent strings (optional)
if (@file_exists(dirname(__FILE__).'/lang/eng.php')) {
    require_once(dirname(__FILE__).'/lang/eng.php');
    $pdf->setLanguageArray($l);
}

$pdf->SetFont('helvetica', '', 10);
$pdf->AddPage();

$pdf->ImageSVG($file='images/star.svg', $x=5, $y=5, $w='200', $h=200, $link='', $align='', $palign='', $border=0, $fitonpage=false);
$pdf->Output('example_012.pdf', 'I');

However, another SVG works absolutely fine. I have attached the SVG file and the attached PDF file.

SVG that does not work in PDF: https://www.dropbox.com/s/2kbj2200cw4hhrm/star.svg?dl=0

PDF output:
https://www.dropbox.com/s/nn8pfpdmzx66a50/mypdf-star.pdf?dl=0

SVG that works correctly in PDF
https://www.dropbox.com/s/fsr6f763n39wflt/tux.svg?dl=0

PDF output:
https://www.dropbox.com/s/5hs4jo3dz3knyod/mypdf-tux.pdf?dl=0

SharePoint sites created by MS Teams and Planner

It depends on how you want to find these … PowerShell, administration pages, etc.

I will take a look to see if there is a single simple solution. Meanwhile, there are some options:

One is to use the Office audit logs: https://protection.office.com/unifiedauditlog and search for "Site created", "Team created", etc. The data may not be traced as much as necessary.

Another is to use the SPO PowerShell cmdlets. https://support.office.com/en-us/article/Introduction-to-the-SharePoint-Online-Management-Shell-C16941C3-19B4-4710-8056-34C034493429

Connect-SPOService -Url https://yourDomain-admin.sharepoint.com
Get-SPOSite | select url, template, owner

Sites listed without (Site Collection) owners are probably Office 365 Group sites, which include sites created by Team. The template will give you a clue about the purpose of the site. (Team sites use the "Group # 0" template). The "owner" is the Site Collection Administrator, which by default is the person who created the site collection, but can be changed after creating it.

To get only group sites:

Get-SPOSite -Template GROUP#0  | select url, template, owner

You can also inspect the list of Active Directory groups. Those who have "Owners" and / or "Members" (group) are Modern Sites created by users or Modern Sites created to support Teams, Planners, etc.

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Authentication Basic -AllowRedirection
Import-PSSession $Session -DisableNameChecking
Get-Group | select displayname, grouptype, managedby, owners, members

partitioning: new folders cannot be created on old partitions

I just installed Linux on my laptop and it works fine, but there is a problem, the installation I did in the c directory so it has been formatted and installed, but the other partitions like the E directory, I have my folders but I can't create or delete any folder inside it.

Google Maps: where can I edit the shared list created on mobile devices?

I created a shared list on my mobile (in the Android application) to plan a trip, but for some reason, I can't find it when I use browser Maps among the other lists. (I am pretty sure that this is not a synchronization problem, since I can use the link to share the list to see it in a desktop browser … but I cannot add new places).

Is there any way to edit those lists in any way?

Email template in an application created using the PHP MVC pattern

I have an application built in PHP – MVC pattern. It has two email templates: (1) contact form and (2) confirmation email template.

My question is: where should I put those email templates? Should I code them into two different variables and simply call the confirmation contact (that seems like a very bad idea)?

Internet does not work on the device that created the Wi-Fi hotspot

In Huawei mate 20 pro when I enable the Wi-Fi access point, another device can connect to it and has internet, but in Huawei mate 20 pro, the Internet stops working. The "4 G" icon is still displayed.

Only one day ago it worked. What could be wrong?

nginx: unknown and unrecognized POST requests in newly created VPS

I created a VPS for a personal project. I have configured an NGINX proxy for incoming traffic. I opened the server to test SSL and the domain name and put it behind the basic authentication at the moment.

I just noticed that many POST requests come from http://117.48.205.227 that you are trying to access

nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:27 +0000) "GET /phpdm.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 SE 2.X MetaSr 1.0"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:28 +0000) "GET /root.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 SE 2.X MetaSr 1.0"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:28 +0000) "GET /5678.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 SE 2.X MetaSr 1.0"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:28 +0000) "GET /root11.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 SE 2.X MetaSr 1.0"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:28 +0000) "GET /xiu.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 SE 2.X MetaSr 1.0"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:28 +0000) "POST /wuwu11.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:29 +0000) "POST /xw.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:29 +0000) "POST /xw1.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:29 +0000) "POST /9678.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:30 +0000) "POST /wc.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:30 +0000) "POST /xx.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:30 +0000) "POST /xx.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:30 +0000) "POST /s.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:31 +0000) "POST /w.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:31 +0000) "POST /sheep.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
nginx_1    | 117.48.205.227 - - (05/Aug/2019:07:45:31 +0000) "POST /qaq.php HTTP/1.1" 301 169 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"

This is just a small number of all requests. Is anyone trying to find unprotected routes or something or is it some weird webcrawler or something?

Anyway, how should I handle this? My web server is currently closed to the Internet.

Regards!

7 – Forum vocabulary created automatically

When I enable the main forum module, it does not automatically create the "Forums" vocabulary in taxonomy and instead uses another vocabulary.

I tried to create the Forums vocabulary manually and then assign it to the content type & # 39; Forum topic & # 39; from the tab & # 39; manage fields & # 39; as follows:

enter the description of the image here

enter the description of the image here

but still use another vocabulary. I tried everything I found.