Проверяем:
curl -vvv -XGET -I https://www.sberbank.ru/ru/certificates
Устанавливаем:
<?php | |
define('_JEXEC', 1); | |
// Connect with Joomla | |
define('JPATH_BASE', __DIR__); | |
require_once JPATH_BASE . '/includes/defines.php'; | |
require_once JPATH_BASE . '/includes/framework.php'; | |
// Database connection | |
$db = JFactory::getDBO(); |
# Add Repository to your system (ondrej/php PPA) | |
sudo apt install apt-transport-https lsb-release ca-certificates | |
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg | |
sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' | |
sudo apt update | |
# Install PHP 7.1 | |
sudo apt install php7.1 |
wget -O phpstan.phar https://github.com/phpstan/phpstan/raw/HEAD/phpstan.phar | |
chmod a+x phpstan.phar | |
sudo mv phpstan.phar /usr/local/bin/phpstan | |
phpstan |
The NGINX Unit control API includes a /status
endpoint for usage statistics. This is a solution for exposing these metrics in Prometheus format.
The application (run by Unit) queries the /status
URI on the control socket and converts the JSON response into Prometheus text format. PHP and Python implementations are available.
These instructions assume an existing Unit installation with a working configuration. We will add a new listener on the default prometheus port (9090) and route it directly to the Prometheus app.
Step 0. Install the preferred Unit language module (unit-php
or unit-python
)
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: admin-user | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: admin-user |
version: '3' | |
services: | |
k3s-server: | |
image: rancher/k3s | |
command: server --disable-agent | |
environment: | |
K3S_KUBECONFIG_OUTPUT: /output/kubeconfig.yaml | |
volumes: | |
- ./k3s-server:/var/lib/rancher/k3s | |
- ./kubeconfig.yaml:/output/kubeconfig.yaml |
I got the speakers working on my Asus Zenbook 14 OLED UX3402, the one with Intel CPU and the two CS35L41
audio amplifiers connected over SPI (not the UM3402YA, with AMD and I²C). The amplifiers are supported by the snd_hda_scodec_cs35l41
module in recent kernel versions, but they require some model-specific configuration paramaters, that should be provided by the BIOS, via ACPI. Of course, they are missing. It seems that the Windows drivers have those parameters somehow hardcoded, instead of using ACPI (bad idea, but who am I to criticise). Since Asus has been nasty and refused/was not able to update the BIOS with the missing data, I have patched the ACPI tables myself.
Warning
As stated by Cirrus developers, if you try this there is a non-zero (low, I hope) possibility of
#!/bin/bash | |
# PhalconPhp with PHP7 installation on ubuntu:16.04 | |
sudo apt-get update | |
sudo apt-get install -y php7.0-fpm \ | |
php7.0-cli \ | |
php7.0-curl \ | |
php7.0-gd \ |
[INFO] Using following parameters for creating project from Archetype: webdriver-java-quickstart-archetype:0.7 | |
[INFO] ---------------------------------------------------------------------------- | |
[INFO] Parameter: groupId, Value: ru.st.selenium | |
[INFO] Parameter: artifactId, Value: traninng | |
[INFO] Parameter: version, Value: 1.0-SNAPSHOT | |
[INFO] Parameter: package, Value: ru.st.selenium | |
[INFO] Parameter: packageInPathFormat, Value: ru/st/selenium | |
[INFO] Parameter: version, Value: 1.0-SNAPSHOT | |
[INFO] Parameter: package, Value: ru.st.selenium | |
[INFO] Parameter: groupId, Value: ru.st.selenium |