In this article we’re going to look at how you can setup git to work with multiple Github accounts and SSH.
claw0ry.net
Hi, my name is Mads! *waves*
I'm a developer and Linux enthusiast from Norway. I mainly use this site as a personal reference, cause my brain too smol. Maybe you'll find something interesting too.
- I grew up on the internet with Linux and open source in the early 2000s.
- I believe the tech world has become to overengineered, abstracted and complicated.
- I'm always searching for a deeper knowledge on how things work.
Bluesky: claw0ry.net
* Web requests with basic authentication in Powershell
HTTP Basic Authentication is one of many authentication schemes supported by the HTTP protocol, and is a very common option when authenticating to a web service. The basic authentication scheme is very simple and consists of generating a base64 token from your username and password seperated by a colon (:
) and putting the token in an Authorization
HTTP header. Let’s explore some examples in Powershell.
* Compare two dates in ServiceNow
To work with date and datetime in ServiceNow we can use the GlideDateTime API.
* Generate Access Tokens for Microsoft Services With Powershell
As automators we often need to interact with REST API’s and if you are working with Microsoft Azure you probably found yourself dealing with several of Microsoft’s services i.e Microsoft Graph, Azure Resource Manager or Partner Center. Many of these services is supported by a Powershell module that handles authentication etc.. But I have found lately that more often than not it’s actually easier to just work with the raw REST API, especially for cross-platform development. In this article we’re going to take a look at two flows for how we can authenticate with the different services.
* Generate Microsoft Partner Center Refresh Token
Microsoft Partner Center is a portal where you can manage all of your CSP customers and can give you a lot of access and power to do so. Therefor you should naturally have great security on the users that has access to this portal. Like MFA for example.