Maybe you were looking for...

How do I make part of a regex match optional?

This is an example string: 123456#p654321 Currently, I am using this match to capture 123456 and 654321 in to two different groups: ([0-9].*)#p([0-9].*) B

Socket programming - Communication between server and client

I'm trying to learn about sockets and how to create a server and a client in python. While reading this great article from Real Python I had difficulties unders

Login to windows (10,11) machine with our own domain email

When we try to login to a new windows computer (windows 10 & 11) using our office365 user, with our own domain email ([email protected]) we get the followi

Python return dictionary with corresponding letters

The function should return the words if they match with a letter in the dictionary. Example: print(returnLetter(list1)) {'I': ['I'], 'say': ['say', 'what', 'me

SQL Server connection over ip and port on Windows 10

I have a SQL Server 2014 instance SQLExpress installed on Windows 10 Pro, when I open SQL Server Management Studio, I am able to query my database Banners and e

Php : match url using regex and extract values if pattern matches

Hi i am learning dynamic urls in php for creating custom router i set the routes using this method $router->get("/home",function(){ echo "this is home"; });

Filtering data from API in React

I'd like to be able to filter the results from my API. The data is from a SSMS database that the API sends to react through the controller URL. I would like to

How to run eslint --fix from npm script

I am trying to add lint-fix in my package.json. My basic lint is "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs" I did try "lint-fix": "esli

AWS: How to give an IAM user access to an EC2 instance

I would like to give access to an IAM user to an EC2 instance. In other words, I'd like him to be able to access it using ssh with keys just like I would with t