← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 110
  1. The database used in the below examples is the netflix database from neondatabase-labs/postgres-sample-dbs Search by title Let's start off with a basic search.

  2. startswith and endswith

    endswith Surely you can't start with endswith?

  3. So no wonder articles such as /stack-overflow-is-almost-dead/ are being written.

  4. Trimming strings in c

    Code The trim methods below will return an pointer to a new char *.

  5. Making a StringBuffer in C

    StringBuffer Anyway here is a string buffer implementation that I extracted from my project.

  6. Lobsters I'm also totally banned from lobte.rs, they have block my domain and everything.

  7. Use Codium not Code

    All the details you need can be found on the VSCodium web page and while you are at it you should also star the repo VSCodium/vscodium.

  8. Get inode type in C

    Well below is a helper method to find out exactly what it is.

  9. The problem Let's say we have a RegistrationForm class, that has various validator annotations.

  10. Adding the hidden field In the below example logout form jte template, the csrf param is used to create the hidden field.

  11. Spring database seeding

    The goal I wanted to generate test data that was similar to what would be seen in a real world scenario.

  12. New Lib: Blueprint Factory

    Blueprint Factory Create objects from reusable blueprints with flexible overrides.

  13. Placeholder Image Generator This simple utility generates customizable placeholder images in Java using AWT.

  14. Request cache in Spring

    In a previous post I introduced a method for carrying out ownership checks using Spring Security's @PreAuthorize annotation.

  15. This means that in our application code a check should happen.

  16. Slurp - A Java task runner

    Slurp was created to be a super simple task runner.

  17. When applied to Java this can be used to get a performance benefit.

  18. Install OpenJDK on Ubuntu

    The install command: sudo apt install openjdk-21-jdk Using the correct Java version It's likely that if you are a Java Developer that you will have multiple versions of Java installed.

  19. Using Docker on Linux Mint

    Well this is not quite true.

  20. Yoda Conditions

    But this is a silly habit to have.

  21. Tower of Hanoi in Java

    For a detailed explanation of the problem look at wiki/Tower_of_Hanoi Whilst it's not that complex, it can be a tricky one to get your head around if you haven't seen it before, or are not familiar with recusive method calls.

  22. AxeRunner

    Source code available at BrianDouglasIE/AxeRunner It integrates with Selenium WebDriver to automate web accessibility testing, providing detailed reports on accessibility violations, passes, and other relevant results.

  23. European Alternatives

    It's March 2025 and the US is imposing trade tariffs on the EU.

  24. This is where the concept of a virtual screen size comes into play.

  25. A quick google pointed me in the direction of two different C code formatters, indent by gnu and astyle by someone else.

  26. This is where Nuno Maduro's nunomaduro/laravel-optimize-database package comes in.

  27. A database dump can be used to import and export sql data.

  28. A database backup is essentially a snapshot of the database's current state.

  29. This is a quick interlude from the regular GameDev in C posts.

  30. I'm off social media

    I didn't bother following him, did you?

  31. Linting is procrastination.

    The rules of the style guide do not in anyway impact the function of the code.

  32. I've decided that the game will be a DoodleJump clone, named SlimeJump.

  33. GameDev in C Part 2: Raylib

    Having done the impossible last time round and made a C file compile.

  34. I'll be upfront For brevity I have given the post the subtitle Hello World.

  35. Homer's Drinking Bird

    I have a simple Python script that you can run.

  36. I joined social media

  37. 2025 new year's resolutions

    My goal for this year is to hit the 50 mark, and I know what you are thinking.

  38. The environment used for this tutorial is Ubuntu running inside WSL.

  39. Rust, the Cunning Wizard

    I am an adventurer.

  40. Another name for this is currying.

  41. I play a staring role in this game.

  42. Useful ImageData Methods

    Usually this will look something like the following, when working on a 2d grid based game. function getSprite(spritesheetCtx, x, y, size) { return spritesheetCtx.getImageData(size * x, size * y, size, size) } Below are three useful methods that build on…

  43. By default a button of type submit will submit the form that it is a child of.

  44. Hold up!

  45. Sensible SQLite defaults

    The whys?

  46. Full source code for this article is available at BrianDouglasIE/canvas-pixel-art The task at hand So for this demo let's say we want to render the sprite of our game's hero character on a canvas.

  47. The Problem Let's say we have a migration like the following.

  48. Using an Enum for State Let's look at the migration for a tickets table.

  49. Conway's Game of Life in Go

    Full source code is found on github, here BrianDouglasIE/conways-game-of-life.

  50. Writing a DB migrator in Go

    I feel that these should be simple tools, with simple commands.