Private Key – How do I change the base point G in the Bitcoin module to generate public keys?

I want to change the code to base G to generate public keys.

import bitcoin

with open("Privkey.txt","r") as f:
    content = f.readlines()
# you may also want to remove whitespace characters like `n` at the end of each line
content = (x.strip() for x in content)
f.close()


outfile = open("key2pub.txt","w")
for x in content:
  outfile.write(x+":"+bitcoin.privtopub(x)+"n")

outfile.close()

This script imports the Bitcoin module.
As you know, secp256k1 uses points on an elliptic curve:

Gx = 0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
Gy = 0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8

Now I have to change these points into my own. Let us admit to points:

Gx = 0xad4f5dc4a9fba25dd7ecb50b0382c29f52c8fc6826e1d5e4c347eec2010e47ed
Gy = 0xbf1e735b3a83b8bee5d60e1bd441e55b425d4b9ef3c1dca7298e829eec33ea4d

I just start programming in Python 3 and do not understand the modules
How can I change this code?

7 – How do you provide a change in a main menu?

We have a small D7 page. We want to disable a main menu item.
On the Dev server I could disable it in / admin / structure / menu / manage / main-menu

I think the menu is stored in the DB, right. Also in a configuration file? So you just have to provide these two things and it's done.

Is that correct? If not, what are the steps to provide a main menu change?

Change from "visa-free" to "student visa with residence permit" in Austria (Austria)

introduction

Hello, I'm a 21 year old South Korean student currently enrolled at the University of Vienna in Austria.
(Beginning of my bachelor studies from 2016Wintersemester to the current semester 2019Wintersemester).

As I got the extension of the residence permit – student refused

For the extension of the residence permit – student visa (student residence permit) in Austria, students from third-country nationals (non-EU students) should receive at least 15 credits per year.
However, I got 9 credits in the winter semester of 2018 and 0 credits in the summer semester of 2019 because I suffered from depression that disturbed me while studying for exams.

And so it came about that renewal Residence permit – get student visa visa declined
I filed a complaint against it, but it was rejected because only reasons such as serious illness, accident etc. were accepted.

What I did after that

My residence permit – student visa was from 2018.November.12 to 2019.November.12. That's why I logged out of my dorm in Vienna and flew from Hungary to Ukraine on 10th November and will be traveling to Hungary on 14th November (today) there

  1. The visa for a longer stay is not valid for the purposes of Rule 90/180.

    Periods of stay authorized under a residence or long-stay visa are not taken into account when calculating the length of stay in the territory of the Member States. Reference from the Schengen Borders Code in Article 6

  2. As a South Korean citizen, I do not have to apply for a visa when entering European countries

  3. I have also heard from the Municipal Authority 35 (Central Immigration Office in Vienna) that I can again apply for a residence permit – student visa. (They told me I could apply from the beginning of December but have no source?)

ask

  1. My question is, can I apply for a new student visa in Austria or another Schengen country like Hungary? or should i return to south korea to apply for a new student visa? because I have a confirmation for this semester study at the university.

Also, I found, according to sources on this Stackexchange

Citizens from 13 countries (including South Korea) can in any case enter Germany without a visa and apply for a student permit there. shortcut

and I wonder if there is a similar rule for Austria or the same in Austria.

sharepoint online – Can we change the filters within the modern search page?

I am working on a Sharepoint website for online communication. The website contains 10 document libraries. These document libraries share 5 columns of managed metadata sites associated with them. Now I can manually search the documents and view the results on the modern search page. Where we have filters in modern sharepoint search (unlike the classic search that uses refiner), as follows:

Enter image description here

So my question is whether I can use our 5 columns of managed metadata as filters in the modern search. can I filter the document libraries based on managed metadata values?

Thank you very much

Issue tracking – Can I track change history or status time for Sharepoint list items?

Can the change history of an item be recorded in SharePoint?

I have a list that is essentially a problem tracking list. The lead wants to know how many elements are in the workflow in certain states. You want data to see which states last the longest.

Sorry if this is a beginner's question. I'm new to SharePoint and this is my first SharePoint list. We use SharePoint Online.

Thank you for your help.

Zach

Why does changing the aperture change the field of view in my rear lens macro setup?

I have a reverse lens macro setup, with a 35mm inverted lens attached to an 80-200 zoom lens via an adapter. I have the following problem: Changing the aperture setting on the zoom lens changes the field of view in my system.

I'm not sure why the aperture ring changes the field stop. Can someone help me explain?

Plugin wpml – How do I change the canonical link from a category or taxonomy archive?

On this URL: https://www.phuket-luxury-villas.us.com/tourist-spots/buddhist-temples-wats/ I have a wrong canonical link:


It was the following canonical link:


I tried to use this code:

function yoast_seo_canonical_change_woocom_shop( $canonical ) {
if ( is_archive() ) {
echo '';
}
}
add_filter( 'wpseo_canonical', 'yoast_seo_canonical_change_woocom_shop', 10, 1 );

But it seems there are too many canonical links on the site now …

Any idea what else I can do?

This mentioned URL is an archive (created with toolset). And we use WPML. Unfortunately, WPML does not allow us to duplicate categories or taxonomies

Nginx, which does not add expired headings, does not change the MIME types

I have the following location block in my server block in /etc/sites-available/example.com:

    location ~* .(ttf|woff|woff2|eot|mp4|css|gif|ico|jpeg|jpg|js|png)$ {
            expires max;
            log_not_found off;
    }

and that under /etc/nginx/mime.types:

types {
...
application/x-font-ttf ttc ttf;
application/x-font-otf otf;
application/font-woff woff;
application/font-woff2 woff2;
application/vnd.ms-fontobject eot;
...
}

At first, the content type of the response header does not seem to change. For example, it shows for ttf Application / octet stream,

Most importantly, expired headers are missing. Any tips?