How do I install Java on Mac OSX allowing version switching?
I want to install OpenJDK Java on Mac OSX and have it work alongside other JDK's since it is a newer release. Currently, I downloaded the tar.gz and placed it in my path but that is hard to maintain....
Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
I updated to the latest OS, and/or restarted my computer (this happens on every major update, but this time all I did was restart my computer on 2022-09-13) This morning I navigated to my work's codeb...
- Modified
- 13 Sep at 14:7
Store does not implement IUserRoleStore<TUser> ASP.NET Core Identity
I'm using ASP.NET Core 2.1 Identity. I've overridden IdentityUser because I need to add some additional properties on the user. In Startup.cs ``` services.AddDefaultIdentity<PortalUser>().AddEnti...
- Modified
- 19 Dec at 04:45
ServiceStack: Keep getting HTTP 500 errors for unknown reason
All of a sudden, I keep getting HTTP 500 errors in my self-hosted ServiceStack WS. I have several requests already in place and they are working fine, but this one just wont work. I have added my lic...
- Modified
- 2 Feb at 10:35
ServiceStack: Explaination of the "Matching = ..." rules
I need an explanation of who the string inside the Matching = "..." rule is supposed to look. I see only a few examples on docs.servicestack.com: ``` [Route("/users/{Id}", Matches = "**/{int}")] [Ro...
- Modified
- 1 Apr at 23:41
Firebase Remote Config: Version condition is disabled for Unity projects
I have a project in which I have to change remote config values of some parameters for each version. When I try to use version code while setting conditions in remote config, it is always grayed and n...
- Modified
- 26 Sep at 10:25
How to install OpenJDK 11 on Windows?
In the past, Oracle used to publish an executable installers for Windows that would: - - - - As of Java 11, the Oracle's free version of Java ([Oracle OpenJDK](http://jdk.java.net/11)) doesn't seem...
Activating Focus Assist Windows 10 Setting Programmatically C#
I'm building a C# WPF application and want the ability to programmatically enable and disable the Windows System Feature `Focus Assist`. I've tried researching how to control this feature programmat...
- Modified
- 16 Oct at 07:21
What is the difference between "npm install" and "npm ci"?
I'm working with continuous integration and discovered the [npm ci](https://docs.npmjs.com/cli/ci) command. I can't figure what the advantages are of using this command for my workflow. Is it fast...
- Modified
- 1 Jan at 20:49
Any alternative for Microsoft Fakes in .NET Core?
I am looking for an alternative to Microsoft Fakes in .NET Core. I know it is no longer supported in .NET Core. I just do not understand why not, I think it was a good solution in certain situations. ...
- Modified
- 25 Sep at 11:44
Puppeteer wait until page is completely loaded
I am working on creating PDF from web page. The application on which I am working is single page application. I tried many options and suggestion on [https://github.com/GoogleChrome/puppeteer/issues...
- Modified
- 2 Aug at 21:35
xUnit testing Servicestack AutoQuery
first time using AutoQuery and I have this problem with unit testing after implementing AutoQuery. It works fine through Swagger manual testing. So I have a get method like this: ``` public class Ite...
- Modified
- 1 Oct at 12:36
Facebook Like functionality using C# SDK
I want to display to know when the facebook like button is clicked and upon verify button click, I want to post the like to the fan page. I want to use Facebook C# SDK. Here is my code: ``` <html> ...
- Modified
- 25 Sep at 10:27
What is the point of configuring DefaultScheme and DefaultChallengeScheme on ASP.NET Core?
I am learning how security works on ASP.NET Core 2.0 and IdentityServer4. I set up the projects with IdentityServer, API and ASP.NET Core MVC Client App. `ConfigureService` method on Client App as in...
- Modified
- 16 Mar at 18:14
How to create symbols for multi-project Nuget package?
So I'm really struggling to figure this out. I have a solution with a few projects, say, A, B, and C. A references and uses B and C (both project references). I wanted to create a Nuget package from ...
- Modified
- 25 Sep at 09:44
How to get div 'text' value in Cypress test using jquery
Using Jquery in Cypress.io test, how to get the div 'text' value called 'Wildness' from the below html tag. I have tried below in my Cypress test, but it is throwing undefined in console. ``` const ...
- Modified
- 25 Sep at 05:39
How to change status bar color in Flutter?
I am trying to change the status bar color to white. I found [this](https://pub.dartlang.org/packages/flutter_statusbarcolor) pub on flutter. I tried to use the example code on my dart files.
- Modified
- 10 Sep at 08:34
SendAsync and CopyToAsync not working when downloading a large file
I have a small app that receives a request from a browser, copy the header received and the post data (or GET path) and send it to another endpoint. It then waits for the result and sends it back to...
- Modified
- 25 Sep at 14:56
Cannot resolve scoped service 'Microsoft.AspNetCore.Identity.UserManager`1[IdentityServerSample.Models.ApplicationUser]' from root provider
i am extending the identity server to use custom identity server implementation ``` public static void UseMongoDbForIdentityServer(this IApplicationBuilder app) { //Resolve Repository wi...
- Modified
- 24 Sep at 22:6
Validate phone number with Yup?
I'm trying to validate a phone number with Yup: ``` phone: Yup.number() .typeError("That doesn't look like a phone number") .positive("A phone number can't start with a minus") .integer("A phon...
- Modified
- 8 Nov at 14:51
ServiceStack In Memory Client Memory Limits
Does your In Memory Client support memory limits as a percentage of total memory available of the application? .NET 4.0 supported memory limits in the web.config. .NET Core doesnt support limits on to...
- Modified
- 24 Sep at 14:35
How can I get a Span<T> from a List<T> while avoiding needless copies?
I have a `List<T>` containing some data. I would like to pass it to a function which accepts `ReadOnlySpan<T>`. ``` List<T> items = GetListOfItems(); // ... void Consume<T>(ReadOnlySpan<T> buffer) //...
How to invalidate tokens after password change
I am working on an API that uses JWT token auth. I've created some logic behind it to change user password with a verification code & such. Everything works, passwords get changed. But here's the c...
- Modified
- 2 May at 14:12
ServiceStack: is it open source? or does it require a license?
I'm looking into ServiceStack, I see it referenced as open source some places but other places it looks like you need a license to use it. Is it open source like things like Spring, Hibernate, JBoss,...
- Modified
- 24 Sep at 02:51
IntelliJ can't recognize JavaFX 11 with OpenJDK 11
I'm having trouble getting IntellJ to recognize JavaFX packages. With a new JavaFX project, with OpenJDK 11, when trying to build the project, IntelliJ can't recognize the JavaFX packages. I've impor...
- Modified
- 5 Jan at 02:12