OpenDNS (Cisco):
208.67.222.222
208.67.220.220
Cloudflare:
1.1.1.1
1.0.0.1
Google:
8.8.8.8
8.8.4.4
OpenDNS (Cisco):
208.67.222.222
208.67.220.220
Cloudflare:
1.1.1.1
1.0.0.1
Google:
8.8.8.8
8.8.4.4
Example:
//lang=regex
var pattern = "(Mr\\.???\\? |Mrs\\.? |Miss |Ms\\.? )";
//lang=json,strict
var json = """
{
"name": "TONY",
"age": 36,
"books":
[
{"Title": "ABC"},
{"Title": "DEF"}
]
}
""";
JSON002: Probable JSON string detected - Visual Studio (Windows) | Microsoft Learn
See also:
.NET regular expressions
https://learn.microsoft.com/en-us/dotnet/standard/base-types/regular-expressions
ReGex Generator
https://regex-generator.olafneumann.org/
regex101: build, test, and debug regex
https://regex101.com/
These steps and commands are here for my reference.
If just want to clear a series of commits without losing the work that was done on files:
git reset --mixed [Commit-Id]
The commits after CommitId will be removed on your local branch and the files that were on these commits will return to stage area, so now you can create a new commit wich includes the files:
git commit -m "Write your commit message here"
And then send this new history to the server and replace the older one with:
git push --force
HTTP files now support request variables. That is where you can send a request and then use data from the response, or request, in future requests.
When working with HTTP files, a common scenario is calling an endpoint, taking a value from the response, and sending in a subsequent request. For example, you may call an endpoint to authenticate a user and then on later calls you can pass the token that was returned from the login endpoint. Prior to this release this was not possible in Visual Studio. In the snippet below you can see an example of how this works in an HTTP file.
# @name login
POST {{TodoApi_HostAddress}}/users/token
Content-Type: application/json
{
"username": "{{myusername}}",
"password": "{{mypassword}}"
}
###
GET {{TodoApi_HostAddress}}/todos
Authorization: Bearer {{login.response.body.$.token}}
###
On the computer, go to:
https://mysignins.microsoft.com/security-info
Microsoft Authenticator
It will generate a QR code
ON the mobile app, select + Add account
corporative or student
Read a QR Code
Then point the mobile camera to the computer QR code.
...
It is possible to add:
sep=,
at the beginning of the file, and Excel will display the columns.
Example:
sep=,
"LETTER","ANIMAL"
"a","aardvark"
"b","bear"
"c","cow"
Source: https://superuser.com/q/773644/274615
Learn Live - Introduction to Azure AD B2C (youtube.com)
To be able to create new attributes, you need to add the Attribute Definition Administrator role to your user.
https://entra.microsoft.com/#view/Microsoft_AAD_IAM/CustomAttributesCatalogAttributeSetsBlade
Create Custom User Attribute in Azure AD – TheITBros
In Azure Active Directory B2C, custom policies are designed primarily to address complex scenarios. For most scenarios, we recommend that you use built-in user flows
The REST API technical profile allows you to send a complex JSON payload to an endpoint.
Define a RESTful technical profile in a custom policy - Azure AD B2C | Microsoft Learn
az functionapp show --resource-group RGname --name exampleapi --query possibleOutboundIpAddresses --output tsv
https://youtu.be/TPuqkJDOE98?si=31TJl29x6ISoyBDs&t=326
https://arduino.stackexchange.com/q/45485/97723
How To Add Google Authentication To Blazor SSR - Codewrinkles
Introduction To Blazor Authentication in .NET 8
git reset --soft HEAD~
https://stackoverflow.com/a/63343196/194717
I did this to solve a conflict when doing a pull request
git pull
git checkout <feature_branch>
git pull origin <destination_branch>
At this point, pulling the destination will try to merge it with the source and reveal all the conflicts.
computer:my-repository emmap$ git pull origin main
* branch main -> FETCH_HEAD
Auto-merging team_contact_info.txt
CONFLICT (content): Merge conflict in team_contact_info.txt
Automatic merge failed; fix conflicts and then commit the result.
Open the file to resolve the conflict. You can do this using the command line or you can navigate to the file.
git add <filename>
git commit -m'commit message'
git push origin <feature_branch>
https://support.atlassian.com/bitbucket-cloud/docs/resolve-merge-conflicts/