mysql – Change post format through phpmyadmin

I’d like to change post format of some post that have a certain metakey (let’s say video_url_embed) from standard post to video post (let’s say term_taxonomy_id 13805 in wp_term_taxonomy). I’m having some issues, I have to add a row for any post.
Any suggestion?
That’s what I’m trying SELECT post_id FROM wp_postmetaWHEREmeta_key= 'mvp_video_embed' INSERT INTO wp_term_relationships(object_id, term_taxonomy_id, term_order) SELECT ID, 13805, 0 FROM wp_posts WHERE post_status = 'publish' and post_type = 'post'

localization – Mixed English and Arabic URLs recommended format

Yes, translating URL slugs is an accepted practice. By translating the slugs you will make it easier for Google to understand what language the page is targeting. Similarly, visitors will also find it easier to understand the page.

While Google says it is “fine to use localized words in the URL”, they do recommend UTF-8 encoding the URL and properly escaping the URLs. I’ve run into issues using accent marks in certain languages and having to remove those from the URL.

Ideally, you could translate the /blog/ directory as well vs. leaving that untranslated with a translated slug. So, having a /مقالات/ directory for AR content might help clarify even further what language those pages are targeting. You might find full translation of directory + slug is better for users.

As for SEO, I’ve seen sites continue to perform just fine in rankings when leaving the sub-directory in English and only translating the slug. Even sites who don’t translate their URLs can rank okay. Realistically, so long as you are doing your best to create clean and understandable URLs and explain those accurately via hreflang tags, Google will likely be able to pick up and understand what you are doing.

SharePoint Online: Change “Display Format” to Standard in the “Modified” column name

There is a way, in SharePoint Online, to Change “Display Format” to Standard from “Friendly” in the “Modified” column name?

I would like do this for all sites in the tenant and for all data fields and the last but not least, for all future teams, sites and so on

Thank you enter image description here

sharepoint online – Graph DriveItem returned WebUrl format different for .txt and .docx

I am currently using a delta query to retrieve drive items for my drive e.g.

var delta = await client

This is returning as expected, my question is to do with the WebUrl property that is returned. For .txt files it will return the absolute URL e.g. but for a .docx it will return something like the following:

Is there a way to force SharePoint or Graph to return the WebUrl in an absolute format so .txt and .docx paths are the same?

Or another Graph property that will allow this to be worked out (e.g. REST has a server relative URL property)?

Thanks in advance

Hard disk format date

I have Seagate hard disk and I was format on 23/7/2021 but was unable to find the event, so try to format the hard disk again on 25/7/2021, still the same issue. File system is exFAT

SharePoint O365 missing Format Text tab

Whether the page works well before?

Please access the edit page mode though the URL as “yoursite/Pages/YourPage.aspx?ControlMode=Edit&DisplayMode=Design”, check if the Format Text Tab appear.

Whether you add any web part or code to customize this page such as Content Edit Web?

If so, try to delete it and check again.

forms – How could I best indicate the required format for a phone number (country + area code)

I can’t remember any one time that someone has gotten this right. They just expect you to know the format to input. This really sucks when someone’s new to a country and not really well versed on how phone numbers in a country look like.

Now, I sort of agree with @MSalters‘ answer, you should use JavaScript to clean up the input. But, I find that forms that aren’t clear about the correct phone number format are mentally jarring. This makes finishing the form even more of a chore than it already is.

So please, don’t disregard the design portion of this input field. The easier your form is to understand the quicker users will finish it. Which, I’m guessing, is what you want, no?

Oh and Alternative 1 is the best option for me. You could also make it so that the suggestion is inside the field (using placeholder attribute)

visas – Difference between residence permit and common format residence permit

I am an Indian and have Netherlands residence Permit Type 1.
I am travelling from Amsterdam and will be transiting in LHR towards New delhi do I need transit visa?

In the exemptions it says if you have a common format residence permit issued by an European Economic Area then you do not need a transit visa.

Can I consider my Netherlands residence permit as common format residence permit or there is difference between the two?


authentication – Valid format of key for each type in ntp.keys file

I have few questions on ntp.keys file and need your help.

From man page, the format of ntp keys is

`keyno type key`

where type can be md5, sha1, ripemd160, sha224, sha256 etc.

I have confusion on the format of key for above types. From the man page,

The key may be printable ASCII excluding "#" or hex encoded. Keys longer than 20 characters are assumed to be hex. The max length of a (de-hexified) key is 32 bytes. If you want to use an ASCII key longer than 20 bytes, you must hexify it.

Does this restriction is for all the key types?

Actually, I am implementing a CLI for ntp authentication which will support md5, sha1, and sha256. Before creating the final ntp.keys file , I want to make sure that key is in valid format for all the types. If a user input a wrong key format for any type then I would like return error in CLI. I did some research to find out the correct format for each type.

  1. For md5 I found that the The key is 1 to 16 printable characters terminated by an EOL, whitespace, or a # (which is the "start of comment" character).
  • Does this mean for md5 support in ntp, I should restrict user to not input more than 16 characters?
  • What are the characters I should allow in md5 format?
  1. For SHA1 I found that, The key is a hex-encoded ASCII string of 40 characters, which is truncated as necessary.
  • Does this mean that the key should be exact 40 characters?
  • Do all characters need to be in hex digits?
  • Can I allow user to input less then 40 characters?
  1. For SHA256 I didn’t get much information. I want to make sure the input key from user for SHA256 should be valid and if user given some wrong input then I should give error to him. What is the correct format for SHA256?

Overall, I want to perform validation on input key for each type so a that user can not give a wrong key string. Can anyone please tell me what is the format I should allow for each type?

How to Set Text Format by User-Defined Function with Input as String

I have simple but annoying problem here. I guess it occurs to many Mathematica users.

The thing is that I wish to define a function to format the text in Mathematica. Yet, I don’t know whether it is possible.

Say if I want to make a plot with FrameLabel set, like the following script:

 Plot[x^2, {x, 0, 1}, PlotRange -> {{0, 1}, {0, 1}}], Frame -> True, AspectRatio -> 0.8,
 FrameLabel -> {Style[ToExpression["x", TeXForm, HoldForm], 18,FontFamily -> Times, Bold], 
 Style[ToExpression["x^2", TeXForm, HoldForm], 18, FontFamily -> Times, Bold]},
 RotateLabel -> False

which generate this plot

enter image description here

The thing is I have type this bothering format setting script again and again if I need to plot a lot, though the format I set every time is the very same.


Therefore, I am wondering if I can define a function to overpass such prolix script. For example,

SetStyle[input_] := Style[ToExpression[ToString[input, InputForm], TeXForm, HoldForm],18,FontFamily -> Times];

It works for superscript, but it fail in the most of the Latex input, like \theta or \frac{x}{2} and even just the subscript like x_0

anyone know how I can fix my code?

Thanks for your kind and generous suggestion.