Solved: Remote XDebug from Dockerized PHP app via SSH Tunnel on Ubuntu expose: - "9000" 1. Remove the ports: section from docker-compose.yml and define expose 2. On the remote machine enable GatewayPorts clientspecified in /etc/ssh/sshd_config (then restart the sshd service). 3. This allows you to create an SSH port forward tunnel which listens on all network
How to download full PDF from cardiagn.com Do not forget to disconnect from internet before you open developer tools! otherwise that page will ban you! Open file manual page that you want to download, confirm bot protection from CloudFlare and load inpage PDF VIEWer. Disconnect from internet and open developers console (F12). Switch to sources tab (Chrome,
kubernetes SOLVED: rke2-agent-3 systemd[1]: Failed to start Rancher Kubernetes Engine v2 (agent) invalid kernel parameter root@:/etc/rancher/rke2# sudo systemctl status rke2-agent ● rke2-agent.service - Rancher Kubernetes Engine v2 (agent) Loaded: loaded (/usr/local/lib/systemd/system/rke2-agent.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2023-11-29 13:37:29 CET; 1min 2s ago Docs: https://github.com/rancher/rke2#
Configure Nextcloud in Turris Omnia for large files upload Buy mSata SSD disk and plug into your Turris and configure it via Reforris as /srv mount Apend this lines into /etc/php8-fpm.d/www.conf and create /srv/tmp/ folder with write all permissions php_admin_value[error_log] = /var/log/fpm-php.www.log php_admin_flag[log_errors]
docker Solved: Nuxt.js App takes too long to start inside Docker - too slow I have spend lots of time to investigate what the problem is and I found it! Take a look inside your docker-compose.yml and double check, that you are not propagating .git folder inside the docker container! Now your app will be faster than before node: image: node:18-alpine build:
Hetzner Cloud For The Win! 👑 If you are looking for cheaper Cloud Provider, you can try Hetzner Cloud (one time €20 discount from this link). Here are some insides from our Google Search Console. Date 2023-03-13
docker Featured Solved - PHP 8.2 Docker Alpine - No releases available for package "pecl.php.net/apcu" You should build it from source code FROM php:8.2-fpm-alpine AS ext-apcu ENV EXT_APCU_VERSION=master RUN curl -vvv https://github.com/krakjoe/apcu.git RUN docker-php-source extract \ && apk -Uu add git \ && git clone --branch $EXT_APCU_VERSION --depth 1 https://github.com/krakjoe/
How to regenerate sitemap every day via livenessProbe in Kubernetes kubectl apply -f --namespace=app deployment.yaml deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: workload.user.cattle.io/workloadselector: apps.deployment-sitemaps name: sitemaps spec: progressDeadlineSeconds: 10 replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: workload.user.cattle.io/workloadselector: apps.deployment-sitemaps strategy: rollingUpdate: maxSurge: 50% maxUnavailable: 0% type: RollingUpdate templ
kubernetes Helm install OpenSearch Cluster with persistence to local disk + Hunspell kubectl apply -f values.yaml values.yaml # Only create this for K8s 1.9+ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: local-storage provisioner: kubernetes.io/no-provisioner volumeBindingMode: WaitForFirstConsumer # Supported policies: Delete, Retain reclaimPolicy: Retain --- apiVersion: v1 kind: PersistentVolume metadata: name: opensearch-agent-1 spec: accessModes: - ReadWriteOnce capacity: storage:
kubernetes Helm install Bitnami MariaDB Galera to hostPath $ kubectl apply -f pvc.yaml --- kind: Namespace apiVersion: v1 metadata: name: mariadb-galera-new --- apiVersion: v1 kind: PersistentVolume metadata: name: mariadb-galera-new-pv namespace: mariadb-galera-new spec: storageClassName: manual # mountOptions: # - dir_mode=0777 # - file_mode=0777 capacity: storage: 40Gi accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Retain hostPath: path: "/bitnami/mariadb-galera-new/" ---
cert manager Cert Manager upgrade from Rancher shows only latest version You have to modify chart metadata and add two annotations: catalog.cattle.io/ui-source-repo: jetstack and catalog.cattle.io/ui-source-repo-type: cluster You can modify annotations in API view And VOILA!
lenovo SOLVED - Lenovo Thinkpad T460s black screen - burned Fuse on mainboard I have Lenovo T460s with Intel i7 6600u and wQHD LCD 2560x1440. There is some short on mainboard and LCD will not turn on. External HDMI monitor works. I tried repair service and they did not fix it. After 2years I found this repair video, so I disassembled my notebook
rancher SOLVED - Rancher upgrade failed - no matches for kind "Issuer" in version "cert-manager.io/v1beta1" Error: UPGRADE FAILED: current release manifest contains removed kubernetes api(s) for this kubernetes version and it is therefore unable to build the kubernetes objects for performing the diff. error from kubernetes: unable to recognize "": no matches for kind "Issuer" in version "cert-manager.io/v1beta1&
rke2 RKE2 - enable nginx proxy protocol by default After RKE2 upgrade you will lost your rke2-ingress-nginx-controller config values. Define this HelmChartConfig and your setup will be used every time, when you upgrade RKE2. More info about config in official documentation [https://docs.rke2.io/networking/#nginx-ingress-controller]. apiVersion: helm.cattle.io/v1 kind: HelmChartConfig metadata: name: rke2-ingress-nginx namespace: kube-system
kubernetes Solved: Failed to configure agent: Node password rejected, duplicate hostname or contents RKE2/K3S If you recreate server with the same name that has been already joined in your cluster, you will end up with this error message. WARN[0000] not running in CIS mode INFO[0000] Starting rke2 agent v1.21.3+rke2r1 (2ed0b0d1b6924af4414393cd1796c174a1ff5352) INFO[0000] Running load balancer 127.0.0.1:
kubernetes Redirect .env file to your Curriculum Vitae - simplest way to Ingress redirect via annotations in Kubernetes Redirect /.env file to your curriculum vitae via nginx.ingress.kubernetes.io/temporal-redirect annotation apiVersion: extensions/v1beta1 kind: Ingress metadata: annotations: ingress.kubernetes.io/ssl-redirect: "true" kubernetes.io/tls-acme: "true" nginx.ingress.kubernetes.io/from-to-www-redirect: "true" nginx.ingress.kubernetes.io/temporal-redirect: https://exploit.cz/
devops Cannot connect to the Docker daemon at tcp://localhost:2375 Gitlab CI Build failingGetting source from Git repository 00:02 Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/docker/php/.git/ Created fresh repository. Checking out 2ef777e8 as 8.0... Skipping Git submodules setup Executing "step_script" stage of the job script
ČSOB povinné ručení 2021 aneb jak nepřeplácet - Bonus: jak nedělat online formuláře Disclaimer: Součástí článku je návod jak nedělat internetové formuláře, kde od lidí chcete peníze Opět jako každý rok dostávám do emailu výroční dopis svého povinného ručení, kde se opět jako každý rok dozvídám novou vyšší cenu než byla loni, přestože mně stále nabíhá bonus, který není na maximu. Opět jako
Hardware M.2 NGFF + NVMe 2 in 1 Enclosure External Disk Box Test You can order this Box from Aliexpress http://ali.pub/5ep68k for price about 15$ NVMe test Kingspec M.2 128GB 9B16A NW911 128GB NVMe from Ali with this Box connected via USB 3.0128GB NVme from Ali connected via USB-C Thunderbolt 3NGFF test NGFF (m.2 mSATA) SAMSUNG 512GB
php How to compile AMQP extension for PHP 8.0 via Multistage Dockerfile Why do this? 2020-12-03 there is no PECL AMQP extension compatible with PHP 8.0 so you cannot use docker-php-ext-install amqp & docker-php-ext-enable amqp Latest version 1.10.2 is compatible with PHP < 8. So you have to use dev version from Github and build it from source code
windows recovery How to transfer your old bigger HDD to smaller SSD without Windows 10 reinstall My scenario Move all data from old 500GB HDD HP 250 g3 notebook (year 2014) to the new SSD disk WD 240GB. Important notice: there has been 400GB of unused space on the 500GB old HDD! So I need to copy only 100GB of files to 240GB SSD. Problems * old
chrome Disable CORS Chrome check from localhost When developing app, it is useful when you can disable CORS Chrome check. Run chrome from commnad line with --disable-web-security --user-data-dir params! ./chrome.exe --disable-web-security --user-data-dir="C:\Users\PROFILE\AppData\Local\Google\Chrome\User Data\Profile 1"
terraform How to migrate from plugins to Terraform 0.13 registry providers If you are using external community Terraform 0.12 plugin/provider, you should migrate to Terraform 0.13 and use required_providers instead of downloading provider from Github and extracting to ~/.terraform.d/plugins/ folder. But there will be some circumstances In Terraform 0.13 you have to define required_
symfony How to deal with large Doctrine datasets - Symfony console command - OutOfMemoryError - PHP Fatal error: Allowed memory size of * bytes exhausted Imagine that you want to import your 5000+ items from database to ElasticSearch and you have restricted memory limits (e.g. 128MB). You will probably end up with PHP Fatal error:Allowed memory size of 134217728 bytes exhausted. What you have to do? You have to unconfigure logger, clear entity
Featured My Experience Projects * LidlTools.eu - data/price comparison website for Lidl products * Recepty.eu - online recipes Hardware Repair SOLVED - Lenovo Thinkpad T460s black screen - burned Fuse on mainboardI have Lenovo T460s with Intel i7 6600u and wQHD LCD 2560x1440. There is some short on mainboard and LCD will