-
remove /etc/initramfs-tools/conf.d/resume
-
sudo update-initramfs -u
-
alternatively you can Interrupt GRUB by pressing any key, then press E to edit the currently-selected boot entry, find the line starting with the word linux and add noresume as a separate word to the end of that line. This is only for test purposes. Tha changes are not persisted.
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
| { | |
| "vllm/Qwen/Qwen3.5-35B-A3B-FP8": { | |
| "provider": "vllm", | |
| "base_model": "Qwen/Qwen3.5-35B-A3B-FP8", | |
| "input_cost_per_token": 0.00000015, | |
| "output_cost_per_token": 0.00000060, | |
| "mode": "chat" | |
| }, | |
| "vllm/qwen3.5-122": { | |
| "provider": "vllm", |
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
| readonly class Money | |
| { | |
| private function __construct(private string $amount, private Currency $currency) | |
| {} | |
| public static function eur(string $amount): self | |
| { | |
| return new static($amount, Currency::eur()); | |
| } |
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
| final class Money | |
| { | |
| public function __construct(private string $amount, private Currency $currency) | |
| {} | |
| public function amount(): string | |
| { | |
| return $this->amount; | |
| } |
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
| final class Money | |
| { | |
| private string $amount; | |
| private string $currency; | |
| public function __construct(private string $amount, private string $currency) | |
| { | |
| if (!is_numeric($amount)) { | |
| throw new InvalidAmountException::notNumeric($amount); | |
| } |
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
| final class Money | |
| { | |
| public function __construct(private string $amount, private string $currency) | |
| { | |
| if (!is_numeric($amount)) { | |
| throw new InvalidAmountException::notNumeric($amount); | |
| } | |
| if (!in_array(strtoupper($currency), ['EUR', 'USD'])) { | |
| throw new InvalidCurrencyException::notInTheAcceptedCurrencies($currency); |
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
| final class Money | |
| { | |
| public function __construct(private string $amount, private string $currency) | |
| { | |
| if (!is_numeric($amount)) { | |
| throw new InvalidAmountException::notNumeric($amount); | |
| } | |
| $this->amount = $amount; | |
| $this->currency = $currency; |
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
| { | |
| "customColorSchemes": [ | |
| [ | |
| { | |
| "fill": "#ffcc00", | |
| "stroke": "none" | |
| }, | |
| { | |
| "fill": "#ccffff", | |
| "stroke": "none" |
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-fpm | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| zlib1g-dev \ | |
| libfreetype6-dev \ | |
| libjpeg62-turbo-dev \ | |
| libmcrypt-dev \ | |
| libpng12-dev |
- For your local dev, create a
Dockerfilethat is based on your production image and simply installxdebuginto it. Exemple:
FROM php:5
RUN yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
NewerOlder