Senger CodeLab 🚀

: All Posts

Use enum as restricted key type

Use enum as restricted key type

Can an enum be used as a key type instead of only number or string Currently it seems like the only possible declaration is key number any where key can be of

Read more →

UTF-8 without BOM

UTF-8 without BOM

I have javascript files that I need them to be saved in UTF8 without BOM every time I convert them to the correct format in Notepad they are reverted back to

Read more →

ViewBag ViewData and TempData

ViewBag ViewData and TempData

Could any body explain when to use TempData ViewBag ViewData I have a requirement where I need to set a value in a controller one that controller will redirect

Read more →

Visual Studio Copy Project

Visual Studio Copy Project

I would like to make a copy of my project I would rather not start doing it from scratch by adding files and references etc Please note that I dont mean copy

Read more →

VSCode prevent file Explorer from jumping duplicate

VSCode prevent file Explorer from jumping duplicate

This question already has answers here How do I stop VSCode from the Side Bar moving to the folder that the current file is in duplicate 3 answers Closed 4

Read more →

Warning the userlocalmysqldata directory is not owned by the mysql user

Warning the userlocalmysqldata directory is not owned by the mysql user

I cant start the mysql service in Snow Leopard and in the panel prefs appears the message warning the userlocalmysqldata directory is not owned by the mysql

Read more →

What causes NextJS Warning Extra attributes from the server data-new-gr-c-s-check-loaded

What causes NextJS Warning Extra attributes from the server data-new-gr-c-s-check-loaded

I am getting the following warning from my NextJS Application Warning Extra attributes from the server

Read more →

What is the difference between a mutable and immutable string in C

What is the difference between a mutable and immutable string in C

What is the difference between a mutable and immutable string in

Read more →

Whats the difference between Perls backticks system and exec

Whats the difference between Perls backticks system and exec

Can someone please help me In Perl what is the difference between exec command and systemcommand and print command Are there other ways to run shell commands

Read more →