Categories
User Help Web Pro

Can you request refresh of the sitemap in Google Search Console?

TL;DR My Sitemap shows a last crawl date of 2-3 days ago in Search Console and I wondered if there was a method of requesting Google re-crawl the sitemap, in the same way as you can ask it to re-crawl a page? Explanation – I have a problem with a updated page not showing correctly […]

Categories
Ask Chemistry

A problem on elimination reactions of organic compounds:

I was going through a problem in the book $\text{Advanced problems in organic chemistry by M S Chouhan}$: I figured out that since di-isopropyl amide will act as a hindered base it will take out the following hydrogens (in the form of H+): the one where the carbanion formed is in conjugation with benzene ring […]

Categories
Linux Mastering Development

How to (non recursively) measure sizes of all (both hidden and unhidden) folders in a directory?

I have a parent directory somedir containing two child directories .hiddenDir and notHidden. I want to non-recursively measure the sizes of all child directories in somedir. How can I do this in Unix? picture of what I want: failed attempt: The following du based command only returns the visible directories: du -sh * While du […]

Categories
Linux Mastering Development

fish shell : capture multi-line output to a variable with piping or read

if you curl https://www.toptal.com/developers/gitignore/api/python you see the file as expected, with newlines. But if I set response (curl https://www.toptal.com/developers/gitignore/api/python) echo $response in fish the newlines are gone. I’ve looked at fish read but url $gitignoreurlbase/python | read response # I have also tried read -d ‘blah’ echo $response just shows a blank. How do I […]

Categories
Mastering Development

group by date and show the values of X(column) which depends on min time of that date and max time of that date in 1 row

I have table like id u_id date time x —|—–|————|——–|—– 1 | 1 | 20200806 | 0900 | 60 2 | 2 | 20200806 | 0905 | 60 3 | 3 | 20200806 | 0910 | 61 4 | 1 | 20200806 | 1015 | 62 5 | 1 | 20200806 | 1830 | 61 […]

Categories
Mastering Development

Entity Framework Core – Setting an Azure SQL instance to be provisioned within an Elastic Pool (Not T-SQL)

Context We have a series of development databases – Azure SQL – that we use for testing. These databases are frequently dropped and created again. We want to start using an Elastic Pool for a better managing of costs. We’re using Entity Framework Core to create and upgrade the databases with a Code First strategy. […]

Categories
Mastering Development

Can GroupBy and concat not be used together?

I am trying to do some sorting based on the count() within a bundle, but I am not having much luck. I have this sorting that works fine by sorting all the null values last customerBasket.ItemsInBasket = customerBasket.ItemsInBasket.Where(s => s.BundleId != null) .OrderBy(s => s.BundleId) .ThenBy(s => s.ThisItemsCountWithinBundle) .Concat(customerBasket.ItemsInBasket.Where(s => s.BundleId == null)) .ToList(); But […]

Categories
Mastering Development

how do I release these encrypted pfiles?

Somehow, I do not know how, I have managed to invoke this Microsoft Azure Information Management lock on, I guess, my user directory. I just want to undo it. How do I get rid of all these .pfiles, .ptxt, .pjpg, [p]pdf, etc.

Categories
Mastering Development

Helluva Time Trying to Load XML in C# WPF

I am trying to do something super simple. I just want to load a screen of fields with an XML file. There will only ever be a single item with multiple nodes per XML. It will always look like the below XML. Fields are the same name but remove the "post" at the beginning so […]

Categories
Android User Help

WhatsApp mysteriously deleting messages from all the chats automatically

My WhatsApp deleted all the messages from all the chats from my android phone.And I now see a "logs.zip" file in the WhatsApp folder .I don’t know what is happening .I am so terrified and freaked out at the same time. Can anyone tell me what’s happening please