“No such file or directory” error in CodeBlocks

Got it finally: In my case, the problem resulted from a program called EGCS (Experimental/Enhanced GNU Compiler System). I installed it as a prerequisite for PSCAD(Power Systems CAD) along with a FORTRAN Compiler. Just remove it, and you’ll be fine.(Sadly, I deleted the entire PATH environmental variable due to a mistake. So what?…I ended up … Read more

PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client

I’m running MySQL version 8 on PHP 7.0. I’m getting the following error when I try to connect to my database from PHP: Connect Error: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client PHP might show this error Warning: mysqli_connect(): The server requested authentication method unknown to the client [caching_sha2_password] in D:\xampp\htdocs\reg\server.php … Read more

mailto using javascript

I want to open a new outlook mail template with the ‘To address’ whenever a user clicks an image. I have return my code in a html page(linked with the image), whenever it loads the javascript should open a new mail template. But the functionality is not working. Kindly let me know what is wrong … Read more

How to get flexbox to include padding in calculations?

The solution: Set margin on the child element instead of padding on your flex item. Show code snippet The problem: The calculation is done without padding. So; adding padding to the flex element is not giving you your expected width by the spec. The specific article For example, the available space to a flex item … Read more