This VPS configuration is great for Nette framework.
- Nginx (latest stable version)
| <?php | |
| namespace Sheansro\Models; | |
| /** | |
| * Class AddressToCoordinates | |
| * @package Sheansro\Models | |
| * @author Ondřej Misák <email@ondrejmisak.cz> | |
| */ |
This VPS configuration is great for Nette framework.
| <script type="text/javascript"> | |
| // switch (LIB_GRAPHICS.device) { | |
| // case "smart": | |
| // jQuery('.grafika-obal').addClass('smart'); | |
| // break; | |
| // default: | |
| // jQuery('.grafika-obal').addClass('desktop'); | |
| // } |
Tools > Tasks & Content > Configure servers.Generic.https://api.bitbucket.org/2.0/repositories/*YOUR LOGIN*/*REPO_NAME*.#{id} {summary} When commiting ID will be set tasks.| public function getPairs(array $source, string $key, string $value): array | |
| { | |
| $result = []; | |
| $methodPrefixes = ['get', 'is']; | |
| $methodName = function (string $prefix, string $column) { | |
| return $prefix . Strings::firstUpper($column); | |
| }; | |
| $getAllProperties = function ($class) { |
| public function getPairs(array $source, string $key, string $value): array | |
| { | |
| $result = []; | |
| $methodPrefixes = ['get', 'is']; | |
| $methodName = function (string $prefix, string $column) { | |
| return $prefix . Strings::firstUpper($column); | |
| }; | |
| $getAllProperties = function ($class) { |
| import type { NextConfig } from 'next'; | |
| const nextConfig: NextConfig = { | |
| // ... | |
| poweredByHeader: false, | |
| headers: async () => [ | |
| { | |
| source: '/:path*', | |
| headers: [ | |
| { |