Skip to content

Insane in the Main Frame

I am Ophidia, programmer.

  • Home
  • Deutsch
  • English

Insane in the Main Frame Insane in the Main Frame

LINQ: Data + sequential number into new list

27. November 202027. November 2020 ophidiaC#, LINQ
Photo by Kolleen Gladden on Unsplash

I have a list of the type SomethingDTO and I now want to generate a new list of the type SomethingNeuDTO with 2 Values: “Bezeichnung” and “Nummer”, where Nummer is simply a sequential number from 1 to x. To make […]

Read more

vue.js and safari: a white page every now and then

20. August 202020. August 2020 ophidiavue.js

In Safari a normal vue.js page produced an empty page every now and then for seemingly no reason. Since debugging with iOS is a pain in the ass and only possible through this hack, it took us a while to […]

Read more

.net core WebApi: write a custom JsonConverter

6. May 20206. May 2020 ophidiac#
Photo by Aron Visuals on Unsplash

.net core 3.0 still cannot handle TimeSpans. So I created my own TimeSpanConverter: Now all it needs is registering in the startup.cs: Done!

Read more

remove-migration doesn’t remove the migration files

20. March 202020. March 2020 ophidiac#
Photo by Aryan Singh on Unsplash

Using .net core and Entity Framework I encountered the problem that since introducing a seeding migration, the add-migration and remove-migration commands no longer worked as expedted. Problem 1: add-migration would try to update a table with every new migration – […]

Read more

LINQ: get the 5 people with the next upcoming birthdays

16. December 201916. December 2019 ophidiaLINQ

I needed a list of 5 students ordered by their upcoming birthdays. To make it a little harder, there is a Student table and a Person table where data such as birthday or name are stored. The query I came […]

Read more

Fluid f:form deactivate referrer fields

19. June 201919. June 2019 ophidiaTypo3

The FormViewHelper adds a lot of hidden referrer fields to a form, which can be annoying, especially if you want to submit a form via GET. To remove these fields, it is possible to create a custom viewhelper that extends […]

Read more

Define custom format_tags in CKEditor (in TYPO3)

19. June 201919. June 2019 ophidiaTypo3

To add a new value to the “Paragraph Format” Dropdown, you need to edit the config.yaml which is used to configure the CKEditor. It is actually easy, but not quite well-documented yet. To add another h2 with a certain CSS […]

Read more

TYPO3 9: Multilanguage

28. May 201928. May 2019 ophidiaTypo3
Photo by João Silas on Unsplash

There have been some changes regarding language management in TYPO3 9. Let’s say we want to set up an instance with two languages, german and english. First step is to configure this in the config.yaml: It is no longer necessary […]

Read more

Creating a custom error handler in TYPO3 9

21. May 201921. May 2019 ophidiaTypo3

The config.yaml needs to look like this: and the file ErrorHandling.php:

Read more

some quirks regarding the new routing

14. May 201914. May 2019 ophidiaTypo3

the realurl feature “Exclude from speaking URL” doesn’t exist any more. But in most cases you can create a system folder instead of the page that should be excluded. Old urls will not be regenerated though. But there’s a solution […]

Read more

Posts navigation

Older posts
  • Privacy
  • Contact
  • RSS
Powered by WordPress | Theme: Astrid by aThemes.