slim
Here are 495 public repositories matching this topic...
Description
When writing out a tag with a variable class attribute, like follows (a simplified case):
- some_variable = "my-class"
ul class=some_variable
It generates the correct HTML, but produces the following warning:
page.slim:2: warning: possibly useless use of a variable in void context
It also produces such a warning (yet correct output) even if you d
when i follow the recommended consul-upgrade steps, i have the following doubt:
At the beginning, i have 3 consul server(A/B/C) with one in bootstrap mode(A).
when i run 'consul leave' command in the server with bootstrap-mode(A), the remaining 2 servers will elect new leader(B). no error here.
when i restart A with bootstrap mode, there comes the error.
should i remove the bootstrap opti
-
Updated
Feb 19, 2020 - Elixir
-
Updated
Feb 12, 2018 - Python
-
Updated
May 9, 2020 - PHP
-
Updated
May 27, 2020 - Ruby
PHP Fatal error: Class 'App\Validation\validator' not found in /data/www/slim402/bootstrap/app.php on line 66
Hello, the line should be:
return new App\Validation\validator;
instead of
return new App\Validation\Validator;
-
Updated
May 9, 2018 - Python
-
Updated
May 26, 2020 - PHP
-
Updated
Sep 14, 2018 - Python
Implement CPU/memory status using /proc ? On windows uses perfcounetrs.
-
Updated
Feb 21, 2018 - Python
-
Updated
Jan 12, 2020 - PHP
-
Updated
Dec 20, 2018 - Python
-
Updated
Nov 15, 2017 - PHP
-
Updated
Oct 17, 2019 - PHP
-
Updated
Feb 14, 2017 - Ruby
-
Updated
May 29, 2020 - Python
Improve this page
Add a description, image, and links to the slim topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the slim topic, visit your repo's landing page and select "manage topics."
Up to v3 there were a couple of easy ways to write out responses to a path:
$app->get('/', fn() => 'hello world');$app->get('/', fn($req, $res) => $res->write('hello world'));$res->withJson()(this one is completely gone and we've got to default tojson_encode()calls)The first met