Skip to main content

Search

Items tagged with: dev




git mindfuck of the day:

• While merging branch B into branch A, A is “ours”, B is “theirs” (changes from B are reflected in A)

• When rebasing branch B on top of branch A, A is ”ours”, B is “theirs” (changes from A are reflected in B)

nitaym.github.io/ourstheirs/

#git #merge #rebase #ours #theirs #dev


Right, I just removed Windows support from Kitten.

kitten.small-web.org

I swept the WSL 2 installation instructions to the end of the reference section (since they already exist and if someone does want to run it under WSL, I don’t want to make their life any harder than it already is) but if something doesn’t work under Windows/WSL 2, please don’t open an issue as Windows is not supported.

(Kitten is supported on Linux and macOS.)

#Kitten #Windows #SmallTech #SmallWeb #web #dev


(You might also notice that there is a new section under the /💕/settings routes of your Kitten apps called State with subsections for an overview, sessions, pages, and requests. This is very new and not hugely useful yet but it is helping me work towards better internal organisation of the server state as I inch closer to implementing class-based components. And it has already helped me improve a few things. Eventually, it should become a very useful debugging/educational tool.)

#Kitten #SmallWeb #web #dev


New Kitten update

Adds `:unique-suffix` support to automatic client-side element name to server-side event name mapping.

(This lets you give unique names to your elements while having them share the same event name.)

Read more in the “a magic connection” section of the Kitten Streaming HTML tutorial: kitten.small-web.org/tutorials…

:kitten: 💕

#Kitten #SmallWeb #web #dev #HTML #CSS #JavaScript #NodeJS #StreamingHTML


Saw youtube.com/watch?v=An3QMWg3m1… linked last evening & gave the challenge a quick go myself.

My approach was a mostly #CSS one, with minimal HTML (no extra wrappers) and JS (used only to update top item index, ~200 bytes minified).

While it was working, it wasn't pretty, so today I polished the demo & heavily commented the CSS - check it out on @codepen: codepen.io/thebabydino/pen/jEN…

#cssGrid #cssSubgrid #cssMaths #Maths #code #coding #frontend #web #dev #webDev #webDevelopment #cssLayout #cssVariables


New Kitten release!

- Task list support in Markdown
- Lots of under-the-hood refactoring and more tests (code quality improvements).

:kitten: 💕

kitten.small-web.org

#Kitten #SmallWeb #web #dev #markdown