We need more instant publishing on the web. All the UI holds back our ideas. #technology #lamb #projects
Tagged with #projects
38 results found.
-
-
Taskfile 2.0.0
I've released Taskfile 2.0.0, a task runner using taskfiles containing bash functions.
It's a nicer menu and shorthand for sourcing a bash file with functions.
The latest version contains a few small changes. As I renamed system tasks, semver dictates a new major version is called for:
Breaking change: inbuilt tasks (_edit, _edit-local, _help) are now prefixed with underscores so they're hidden from the Task list.
- New: hide your own helper tasks by prefixing their function name with underscore
- New: edit your local taskfile by running t _edit-local
- General tidying up
To update simply git pull if you git installed it, or replace the Taskfile.sh script some other way.
-
I've archived my php-activate project as I encountered a breaking bug between the version of PHP used and
composercommands. I'm not prioritising looking into this right now, and switched back to usingupdate-alternatives. #projects #phpactivate -
Trying out a new 2024 theme I've started working on. It's not super clear yet where a new post begins, and it's a bit bland. #lamb #projects
-
Lamb 0.4.0
Originally written on lamb-releases:
Via lamb-releasesWhat's Changed
Image upload support! by @svandragt in #34 PHP8.2 + devbox support by @svandragt in #46 Bump symfony/yaml from 6.4.3 to 7.0.3 by @dependabot in #48
-
Created a HTMX PHP sandbox to get started really easily. Feedback welcome. Might add some convenience functions https://github.com/svandragt/htmx-php-sandbox #projects
-
I've updated my one stop system update script to remove unused Flatpaks. #linux #projects
-
What would it take to make writing vanilla JavaScript more pleasant? After reviewing the code for my blogging engine Lamb I concluded:
Most of the code adding interactivity to personal websites comes down to running code after the page has loaded; niceties to query the DOM and hook into events. There's probably more but this is a start. The result is shorthand.js. Hint: it's not dissimilar to jQuery, but you can fully learn it in 5 minutes.
Which simplifies code to:
onLoaded(() => { const forms = $$('form.form-delete') forms?.forEach($form => $form.on('submit', ev => { cancel(ev) let confirmed = confirm(`Really delete status ${ev.target.dataset.id}?`) if (!confirmed) return ev.target.submit() })) })This is just a prototype and will evolve.
-
PHP-Activate 0.3.1
I've released php-activate 0.3.1, a PHP project version manager for Linux systems using native PHP packages.
Made for those working with multiple projects using a variety of PHP versions, this script will switch to the correct PHP version for the local shell session. It does not require sudo, so even works in IDEs.
The latest version contains a few small changes:
- Eliminate the activate_php:export:20: invalid option(s) output. Exporting the php function is not needed as we source the script into the current shell session.
- Harden the script by implementing shellscript linting recommendations.
- Readme update.
-
PHP-Activate 0.3.0
I've released php-activate 0.3.0, a PHP project version manager for Linux systems using native PHP packages.
Made for those working with multiple projects using a variety of PHP versions, this script will switch to the correct PHP version for the local shell session. It does not require sudo, so even works in IDEs.
The latest version drops support for the Fish shell again, and fixes compatibility with direnv. The correct PHP version is activated when changing into a project directory that is setup according to the README. #projects #phpactivate