Front Controller 0.10
Tuesday, October 4, 2022 at 3:02 PM
Over the last couple of days, I've been making Front Controller bilingual.
It supports french and english by default, but you can add more languages by editing the app/util/STR.json file.
Version 0.6 (english only) is still available.
Saturday, October 1, 2022 at 7:35 PM
I'm watching Doctor Who episode named 42.
Who put a countdown in the system ?
MythBusters and water heaters
Saturday, September 24, 2022 at 4:43 PM
Why is it always the bottom that fails and never the top ?
Wisdom teeth : No pain
Saturday, September 24, 2022 at 9:03 AM
My teeth do not hurt at all.
That's a good sign.
I still have to take a lot of pills.
Wisdom teeth : Gone!
Friday, September 23, 2022 at 4:46 PM
I just had my wisdom teeth (and a molar) removed.
Between the time me and my dad entered the building to when we came out, it was about two hours.
With the stuff they gave me it felt more like 30 seconds.
My mouth is still numb and they told me I couldn't spit.
Although I spit all the time, this is gonna be easy to do because my mouth is so numb I can't spit anyway.
Thursday, September 22, 2022 at 4:55 PM
I'm having five teeth removed tomorrow.
(Four wisdom teeth and a molar)
Tuesday, September 20, 2022 at 6:08 PM
I wonder if it would have been better if the Titanic went straight into the iceberg instead of trying to go around it.
The way I see it, turning around means a giant scratch on the side.
While a "front attack" would mean just smooshing-in the front, possibly breaking less compartments.
PHP email reader script
Tuesday, September 20, 2022 at 4:57 PM
The script I have made allows me to read email sent to firstname.lastname@example.org
By default, it displays plain text and images (text/plain and image/*).
It also supports multipart/mixed and multipart/alternative to see both text and images in the same page.
This morning, I added rudimentary HTML support :
First, as my script is parsing the email, it sets a global variable to true if any HTML is found.
This adds a link to the webpage.
This link adds a &html parameter to the URL.
My code then parses the HTML if that parameter is set.
It is then displayed undecoded (I do not yet do HTML-sanitization to prevent <script>s).
When parsing multipart/related, it only displays the first part (which is usually HTML).
My first spam email
Tuesday, September 20, 2022 at 4:49 PM
This morning, I received a spam email sent to email@example.com
Its body was base64-encoded HTML.
I assume they encoded it to evade dumb spam filters.
They did not have a text/plain version of the email.
I had to add HTML support in my reader PHP script.
(I just show the original HTML as plaintext since I have not yet made a HTML-sanitizer to prevent people from running <script>s in my webpage.)
New work ? Nope.
Tuesday, September 20, 2022 at 3:20 PM
Turns out, I will be working on making the construction company application work on mobile phones and tablets.
I was a little disappointed. I really wanted to work on the new project.