Run this
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24hCheck reason code in following list:
Code Description Solution| { | |
| "last_node_id": 496, | |
| "last_link_id": 781, | |
| "nodes": [ | |
| { | |
| "id": 412, | |
| "type": "Reroute", | |
| "pos": [ | |
| 254.29027860156253, | |
| 1011.5471391070557 |
Run this
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24hCheck reason code in following list:
Code Description Solution| #!/bin/bash | |
| #puck.sh | |
| # A DNS propagation checker. Fetches in many DNS servers around | |
| # the world for IPs assigned to a given domain. | |
| # | |
| # Author: José Lopes de Oliveira Júnior <http://joselop.es> | |
| # | |
| # |
| set -e | |
| set -u | |
| # hat-tips: | |
| # - http://codeghar.wordpress.com/2011/12/14/automated-customized-debian-installation-using-preseed/ | |
| # - the gist | |
| # required packages (apt-get install) | |
| # xorriso |
| STEP #1 – change your company logo (let’s start from easy…) | |
| Hover the big Odoo logo on the left side, click on “Edit company data” and give your company your own logo – this will replace the Odoo placeholder logo. | |
| STEP#2 – remove “Powered by Odoo” | |
| Open the view web.login_layout and comment out following lines: | |
| <!-- <span class="oe_footer_seperator"> | </span> --> | |
| <!-- <a href="https://www.odoo.com" target="_blank">Powered by <span>Odoo</span></a> --> | |
| Open the view web.menu_secondary and comment out following line: |
| #!/usr/bin/env bash | |
| # File name | |
| readonly PROGNAME=$(basename $0) | |
| # File name, without the extension | |
| readonly PROGBASENAME=${PROGNAME%.*} | |
| # File directory | |
| readonly PROGDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) | |
| # Arguments | |
| readonly ARGS="$@" |
| <?php | |
| header('Content-type: text/plain'); | |
| $username = "[user]"; | |
| $password = "[password]"; | |
| $hostname = "localhost"; | |
| $database = "[database]"; | |
| // Opens a connection to a mySQL server | |
| $connection=mysql_connect ($hostname, $username, $password); |