grub2 – Displays the status of the Grub recordfail variable in the start menu

The variable recordfail is either undefined or set to 1. The variable is stored in /boot/grub/grub/env.
To see the status of this variable in the start menu, we can add custom menu entries, depending on the state of the variable.

I've added the following lines to /etc/grub.d/40.custom:

if [ "${recordfail}" = 1 ] ; then
    menuentry 'Found recordfail=1, reset' {unset recordfail; save_env recordfail; reboot}
else
    menuentry 'recordfail was not set' {reboot}
fi

Make the file executable:

sudo chmod +x /etc/grub.d/40.custom    

and run

sudo update-grub

A menu entry according to recordfail will appear in the Grub boot menu.

Selecting the menu entry Found recordfail=1, reset deselect the recordfail variable, save it in /boot/grub/grubenv
then restart. When the start menu then appears, the menu entry recordfail was not set will appear in the boot menu.

Selecting the menu entry recordfail was not set will only restart and the boot menu will appear unchanged.

Note that this will not work if /boot resides in a btrfs or LVM file system. In this case, Grub & # 39; s recordfailThe function will be disabled.

Ubuntu, postgresql, displays the SQL command being executed

System

Linux vm16745 3.13.0-77-generic #121-Ubuntu SMP Wed Jan 20 10:50:42 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
psql (PostgreSQL) 9.3.24

Problem

I do not know if it's the right section / forum, but I'll try. Is it possible to show everything sql order in ps? Now, when I try

ps aux | grep postgres

he only shows me the beginning of the command.

postgres 20211  0.0  0.9 2281708 74304 ?       Rs   09:12   0:00 postgres: shop shop_prod ::1(55623) SELECT

Thank you.

Mailchimp: the fields in the contact list "have disappeared". The list displays only the fields used in the contact form.

Strange behaviour! Of course, after building the contact form for my website, all unused fields in the form "have disappeared" from my contact list. An idea why? And how to recover these "hidden" fields?

visual studio – How to hide the first line that displays the path python access and path to the file in VS Code?

I use the built-in terminal in VS Code for Python and I want to hide the first line indicating the Python installation path and the location of the .py file whenever I run my code . I've tried the folder hiding trick that uses a $ profile method but the line always displays a "& C: / User ….". Ideas? Thank you! I am on the 10th win, from elsewhere.

Facebook displays a blank image and preview after sharing an HTTPS link from my website

My site previously was only HTTP. I've used this website to share public information with my friends. I like to post news that I want, then share it on Facebook and when I post a link (HTTP link, my website still being HTTP), it correctly pulls the og tags from my site.

Yesterday I just moved my site from HTTP to HTTPS by getting free CloudFlare SSL. I redirect my website to HTTPS and check for mixed content errors. There is not one. Now, when I share my posts (which is now HTTPS) on Facebook, the name of my website is displayed:

enter the description of the image here

My friend says that I have the og tags currently defined on my site:

Weather Outlook — Updicity



















How can I fix that? Could this be a Facebook cache problem or something?

Facebook displays an empty image after sharing an HTTPS link from my website

I have a problem. My site previously was only HTTP. I've used this website to share public information with my friends. I like to post news that I want, then share it on Facebook and when I post a link (HTTP link, my website still being HTTP), it correctly pulls the og tags from my site.

Yesterday, I just moved my site from HTTP to HTTPS by getting free CloudFlare SSL. I redirect my website to HTTPS and check for mixed content errors. There is not one. Now, when I share my messages (which are now HTTPS) on Facebook, the name of my website appears, as in the 1st picture below (the link in preview).

My friend says that I have og tags currently set on my site (2nd photo below). How can I fix that? Could this be a Facebook cache problem or something? Thank youenter the description of the image here

enter the description of the image here

ssd – APFS Formatted in Mojave Displays File Format in System Report as MS-DOS

just installed a ssd on my Mac Pro 5.1 Mojave enabled, working properly but when I viewed the system report, it is stated that the file system is in ms-back mode, is this a problem? the only option I had to format the disk drive SSD utility was APFS that I choseSystem report

Thanks Ted

Equation Resolution – NIntegrate Displays Numeric Errors

I'm trying to solve an integral equation given below. How to overcome the error of sampling points, as shown in the figure below
enter the description of the image here

Here is the code:

ClearAll("Global`*")
Solve(kai + 
  2/(Pi) NIntegrate(
    x^2/(x^2 - 0.99) Tanh((x^2 - 0.99)/(2*y))==0, {x, 
     0, (Infinity)}), {y})

KDE: Displays "open in hex editor" in the context menu for any file

On kubuntu, I would like to display "open in okteta" (my hexadecimal editor) in the context menu for any file, how to do it?

php – displays the custom view of the plugin on the front end in the body of the template

I've searched on google but nothing. I create a custom plugin. The administration area is displayed without any problem. The problem is on the front end, I do not know what action or what filter I have to call. When I use add_filter ('template_include', 'myPublicFunction'), the view is displayed without the inside of the template body.

add_filter("template_include", "publicViewCall");

enter the description of the image here

I need to include the view inside the model body.
thanks any help is appreciated