Coding
Converting strings to integers
Is there a way to convert strings (given by the user via the console) to integers (more specifically- strings like these: 5 * 4 + 3 or 3 + 6). What is the simplest way Read more…
Is there a way to convert strings (given by the user via the console) to integers (more specifically- strings like these: 5 * 4 + 3 or 3 + 6). What is the simplest way Read more…
I applied to a PHP job and the interviewer sent me a test as following: “Write a CRUD application connecting to PostgreSQL, but please don’t use full-stack frameworks like Laravel, Symfony or Code Igniter, also Read more…
So i have my console app (Net 5) and published it with these configs: Everything run fine with this output folder: However, when i tried to run it on my linux machine, it said that Read more…
I’m looking for a way to scan through a textbox and find the content between two specific words For example, if I had Num 20 Drawrectangle If num = 20 Drawcircle 20 Drawtriangle 20 20 Read more…
I’ve created a function to animate out a div on click and I need to remove a class and an attribute after the animation has completed. Here’s the code: $(‘.close__overlay’).on(‘click’, function(){$(‘.fw__bio-container’).animate({right: “-200%”}, 50, function() {// Read more…
The application of $timestamp = (new DateTime('@' . $timestamp))->getTimestamp(); line should be idempotent, since all we’re doing is switching formats and the output format is the same as the input format, meaning that repeated applications Read more…
Hey folks. I’m in the early stages of learning C# and I’ve run into an issue that I can’t solve to save my life. It’s probably super obvious and I’m hoping someone with more experience Read more…
I’m a long-time C# developer, but I currently do not work with it so I’m a little out of the loop. I have seen the new records feature in C# 9, and I can’t understand Read more…
https://github.com/smuuf/better-php-exceptions I needed this for my other project, so in the last two days I created a small library for it. I figured it might come handy for anybody else, too (maybe someone also venturing Read more…
So I built this very basic CRUD application that creates some folders in Windows with a SQLite backend database in C# and I want to run it on a Mac. Can I use Wine for Read more…