Autor

Maikel Wagemans

Categories

[PHP] Highlight function

Some time ago a friend asked me to write a function called ‘highlight’, just like the same as RubyOnRail’s highlight. Today spending about an hour on it and playin’ around with preg_replace and preg_quote there’s something ready.
Examples:
highlight(‘You searched for: rails’, ‘rails’);
Result:
You searched for: <strong class=”highlight”>rails</strong>
highlight(‘Hello, welcome to this page. This page is about cats and [...]

MyCDDB-web

Met trots presenteer ik de voorlopige versie van de webinterface voor MyCDDB. Mijn eigen collectie in MyCDDB is (tijdelijk / voor development) hier te vinden.
Op dit moment staan er behoorlijk wat gegevens in de database, het is mogelijk om door mijn hele collectie te zoeken. Ook is het mogelijk om in te loggen alleen heeft [...]

MyCDDB

Ja, er zit wat nieuws aan te komen. Om mijn complete muziek cd collectie toch eens te organiseeren en ook bruikbaar te houden wil ik een database gaan schrijven. De bedoeling en opzet is als volgt. Het begint bij het invoeren van een cd in de DB, dit gebeurt middels een command line linux applicatie [...]

[PHP] str_split() Adventures

Yesterday… late at the eavening I finished my awesome script .
Lets start with the story:
For Deluccio we’re writing a lot of new features and for one it was neccecary to hide characters in a string.
It should like for example like this: Orriginal String: “Meikel” the Output: “.ei..l” so users need to find out what [...]

[Programming] “SEED”

While i was programming some Pic Basic last week using Proton IDE I came to the command/option “Seed”, never heard of it before. Well this is wat the manual (Proton PicBasic) explained to me:
SEED
Syntax
SEED Value
Overview
Seed the random number generator, in order to obtain a more random result.
Operators
Value can be a variable, constant or rexpression, with [...]