My tailwind project working properly at local server but not on github pages

hello guys I have created a basic project using html tailwind css and JavaScript and build it using vite build but the project working properly in local server but if I deploy it on github pages the tailwind and javascript not working. I don’t know what’s going wrong please help my github repo.: https://github.com/Keshav-Rajput-31/portfolio-build.git my … Read more

Predicting future stats in Madden [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a … Read more

Content in a full-screen ZStack not centering as expected

Consider the following (in a landscape-only app): struct ContentView: View { var body: some View { ZStack { Rectangle() .foregroundColor(.blue) .frame(width: UIScreen.main.bounds.size.width * 0.9, height: UIScreen.main.bounds.size.height * 0.9) } .frame(maxWidth: .infinity, maxHeight: .infinity) .ignoresSafeArea(.all) .background(.gray) } } Which results in this: Why is the rectangle not centered? Why is there more space on the right … Read more

I can’t pass step 5 of “Get to know Firebase for Flutter” tutorial

I am trying to learn flutter. I started to “Get to know Firebase for Flutter” tutorial. I am getting provider error the end of step 5 of this tutorial (Add RSVP functionality). https://firebase.google.com/codelabs/firebase-get-to-know-flutter?authuser=0#4 When the following code is added to the hope_page.dart file, it gives below error. Thanks. // Add from here Consumer<ApplicationState>( builder: (context, … Read more

Inaccuracy of shazamio library

I’m working on a program that use the shazamio library to identify song information. It works great most times but occasionally it fails to identify a song it has identified before so after some trouble shooting its seems sometimes the songs is not recognized when I get my code to loop the recognition a few … Read more

Installing NuGet package provider for PowerShell on offline machine: Install-PackageProvider not working but Import-PackageProvider is

I am facing issues installing the NuGet package provider for PowerShell on an offline machine. What I’m trying to do is to copy the %programfiles%\PackageManagement\ProviderAssemblies\nuget folder from an online machine to an offline machine. Both are running the exact same PowerShell and Windows versions, so there shouldn’t be any compatibility issues. Afterwards, I would like … Read more

Errors while using npm in Laravel project [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 2 … Read more

Bicep code to deploy WAF policy for Azure Application gateway

I am trying to deploy a WAF policy for Application gateway with bicep. It should contain OWASP rule set 3.2. My code is as below: param wafPolicyName string = ‘mypolicy’ param location string = ‘westeurope’ resource wafPolicy ‘Microsoft.Network/FrontDoorWebApplicationFirewallPolicies@2022-05-01’ = { name: wafPolicyName location: location properties: { policySettings: { requestBodyCheck: ‘Enabled’ enabledState: ‘Enabled’ mode: ‘Prevention’ } … Read more

TypeError: object Response can’t be used in ‘await’ expression

I am trying to execute this unit test. I would like to asynchronously await the GET as it takes a while to retrieve data. However, I am getting: TypeError: object Response can’t be used in ‘await’ expression. @pytest.mark.asyncio async def test_get_report(report_service, client, headers): “””Test Report GET Response””” report_id = “sample-report-id” report_service.query_db.query_fetchone = mock.AsyncMock( return_value={ “id”: … Read more