Обновление от 08.01.2026
Инструкция предполагает, что ваш роутер сброшен до заводских настроек.
Инструкция проверена на RouterOS версии 7.20
| Declare @name varchar(100) | |
| declare @qu as varchar(1200) | |
| declare icur cursor fast_forward for | |
| SELECT name | |
| FROM sys.databases | |
| WHERE name NOT IN ('master', 'model', 'msdb', 'tempdb') | |
| --and recovery_model_desc = 'FULL' | |
| open icur |
One great feature of caddy-docker-proxy is that you can quickly define config rules with Docker Compose labels in each containers on the fly like Traefik, instead of at a centralized place. With this feature, we can define everything in compose files, and don't ever need to mess with a config file (Caddyfile or JSON).
Taking advantage of snippets, I created this docker-compose.yaml example so that you can quickly define routing rules and add authetication like Authelia with just 3 lines of labels below each docker container you use.
With this example, should not ever need to manually edit Caddyfile config.
When you add a new container, you just need to do this:
networks:The Super Page Cache for Cloudflare plugin has recently added the feature for using the Cache Everything pagerule withing the ?swcfpc=1 cache buster query paramater. This opens up so many new doors where users previously had to use the Cloudflare Workers to remove the cache buster.
With this new option now users are able to take advantage of Cloudflare Cache Everything page rule and take it to the next level by using the new Rulesets released by Cloudflare. Basically this is achived by taking advantage of the all new Cache Rules feature implemented by Cloudflare.
The first thing that you need to do is, log-in to your Cloudflare Dahsbord and go to the domain/zone doe which you are setting up the [Super Page Cache for Cloudflare](https://wordpress.org/plug
| /** | |
| * This magically uses batchexecute protocol. It's not documented, but it works. | |
| * | |
| * Licensed under: MIT License | |
| * | |
| * Copyright (c) 2024 Ruslan Gainutdinov | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights |
Small guide that helps to free up space by removing unneccessary locales from Fedora
With some additional information on how to make more space on your system (advices in the end)
Tried on Fedora 34, but should work on other distros as well (RPM-Based?)
df -lh
cd /usr/share/locale/
ls
| git clone https://github.com/STS-Rosario/carpoolear_backend.git | |
| Create vhost www.carpoolear-dev.com.ar pointing to carpoolear_backend/public | |
| Add AllowOverride All between </Directory> inside the created vhost | |
| Point www.carpoolear-dev.com.ar to 127.0.0.1 in hosts file. | |
| composer install | |
| cp .env.example .env | |
| Change DB credentials | |
| Change MAIL_DRIVER=smtp to MAIL_DRIVER=log for local development | |
| chmod -R ugo+rw storage/ | |
| php artisan key:generate |
| /** | |
| * A Function to remove the auto generated Reading Time from Yoast og:desc | |
| * | |
| * This hooks into Yoast's `wpseo_opengraph_desc` filter and uses a regular | |
| * expression to remove the reading time for the post | |
| * | |
| * @see Reading Time WP Plugin | |
| * @link https://wordpress.org/plugins/reading-time-wp/ | |
| * | |
| * @param string $ogdesc The excerpt grabbed by Yoast for output. |
| /* Add Google Tag Manager javascript code as close to | |
| the opening <head> tag as possible | |
| =====================================================*/ | |
| function add_gtm_head(){ | |
| ?> | |
| <!-- Google Tag Manager --> | |
| <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
| new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |
| j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= |