Crayon Syntax Highlighter Updated for PHP 8

I have updated the Crayon Syntax Highlighter to work with PHP8 and above. While I have tagged the release as 2.8.6 I’m moving away from that version scheme.

and use master branch. Remember to visit the settings page and save your settings, especially when switching PHP versions. To my knowledge this is the only…

Read Article

TypeError: Cannot read properties of null (reading ‘length’)

Being the Javascript newbie that I am… Javascript errors are still a mystery, more so if using Chrome/Chromium. With Firefox the error was actually more clear. TypeError: Cannot read properties of null (reading ‘length’) means you have a variable that you’re checking it’s property ‘length’ to be a certain value but the variable is null.…

Read Article

The way is clear for Vue 3 with Keycloak

Since Pull Request 116 of dsb-norge/vue-keycloak-js today Keycloak works well with Vue 3. This is great news because you can now use Quasar v2, which uses vue 3 under the hood for your authentication purposes. If you missed the post on how to integrate keycloak with Quasar v1 and v2, click the link to read…

Read Article

Using gin with pongo2/v4 or v5 and embedded templates

You’d like to use pongo2/v4 with gin and embed templates with go:embed. I’m using cobra for my cli parsing and commands. So

edit cmd/ui.go

ui/templates.go

ui/templates/base.html.twig

ui/templates/layout.html.twig

ui/templates/index.html.twig

and finally run

to download packages Any questions -> leave a comment

Read Article