Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
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.
-
endswith Surely you can't start with endswith?
-
So no wonder articles such as /stack-overflow-is-almost-dead/ are being written.
-
Code The trim methods below will return an pointer to a new char *.
-
StringBuffer Anyway here is a string buffer implementation that I extracted from my project.
-
Lobsters I'm also totally banned from lobte.rs, they have block my domain and everything.
-
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.
-
Well below is a helper method to find out exactly what it is.
-
The problem Let's say we have a RegistrationForm class, that has various validator annotations.
-
Adding the hidden field In the below example logout form jte template, the csrf param is used to create the hidden field.
-
The goal I wanted to generate test data that was similar to what would be seen in a real world scenario.
-
Blueprint Factory Create objects from reusable blueprints with flexible overrides.
-
Placeholder Image Generator This simple utility generates customizable placeholder images in Java using AWT.
-
In a previous post I introduced a method for carrying out ownership checks using Spring Security's @PreAuthorize annotation.
-
This means that in our application code a check should happen.
-
Slurp was created to be a super simple task runner.
-
When applied to Java this can be used to get a performance benefit.
-
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.
-
Well this is not quite true.
-
But this is a silly habit to have.
-
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.
-
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.
-
It's March 2025 and the US is imposing trade tariffs on the EU.
-
This is where the concept of a virtual screen size comes into play.
-
A quick google pointed me in the direction of two different C code formatters, indent by gnu and astyle by someone else.
-
This is where Nuno Maduro's nunomaduro/laravel-optimize-database package comes in.
-
A database dump can be used to import and export sql data.
-
A database backup is essentially a snapshot of the database's current state.
-
This is a quick interlude from the regular GameDev in C posts.
-
I didn't bother following him, did you?
-
The rules of the style guide do not in anyway impact the function of the code.
-
I've decided that the game will be a DoodleJump clone, named SlimeJump.
-
Having done the impossible last time round and made a C file compile.
-
I'll be upfront For brevity I have given the post the subtitle Hello World.
-
I have a simple Python script that you can run.
-
My goal for this year is to hit the 50 mark, and I know what you are thinking.
-
The environment used for this tutorial is Ubuntu running inside WSL.
-
I am an adventurer.
-
Another name for this is currying.
-
I play a staring role in this game.
-
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…
-
By default a button of type submit will submit the form that it is a child of.
-
Hold up!
-
The whys?
-
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.
-
The Problem Let's say we have a migration like the following.
-
Using an Enum for State Let's look at the migration for a tickets table.
-
Full source code is found on github, here BrianDouglasIE/conways-game-of-life.
-
I feel that these should be simple tools, with simple commands.