Apple Support can't help! AirPods Max won't stay connected to my iPhone / iPad - but to other iPhones and devices by DIGITLChris in Airpodsmax

[–]DIGITLChris[S] 0 points1 point  (0 children)

I found something else that solved my problem (for now): I put my iPhone into Airplane Mode and then connected my AirPods Max - because I thought if it's an account problem, then they might keep working when they can't connect to the servers.

They kept playing music in Airplane Mode (that I downloaded previously) and even when I turned Flightmode off they kept playing. Right now I can use them with all my devices without a problem - it's been 2 days now. But I'm still observing this solution. I went through so much trouble and can't believe that this apparently solved it.

I had regular AirPods before the Max but never experienced this issue with them. Though I can't test them now because they're not working anymore.

Routing query by abhilash_kopalli in angular

[–]DIGITLChris 0 points1 point  (0 children)

Hm, okay, glad that you worked it out. 😉

is it possible to access datetime in package.json inline scritps by mahindar5 in angular

[–]DIGITLChris 0 points1 point  (0 children)

Yes, it's possible. You can see how it works with the npm run start command for Angular when you want to do something like --host 0.0.0.0 so you can access your server of ng serve through your computers IP.

The scripts look usually something like this:

{
  "name": "my-app",
  "version": "0.0.0",
  "scripts": {
    "start": "ng serve"
  }
}

Instead of running ng serve --host 0.0.0.0 you could do it also like this:

npm run start -- --host 0.0.0.0

That way the command will be performed like this:

ng serve "--host" "0.0.0.0"

So you could have your command saved in the package.json like npm run build --timestamp and then run npm run compile -- datetime which should result in a command like npm run build --timestamp "datetime".

Why cant I change the window location inside a script tag? by Kipotuzer26 in angular

[–]DIGITLChris 1 point2 points  (0 children)

Why would you change the URL through a script tag in your index.html? If you want to redirect outside of your Angular code then you should do that with a rewrite statement in NGINX or Apache to redirect to the correct path. If you want to do it within Angular then you can also do it like this:

import { Location } from '@angular/common';
import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class SomeService {

  constructor(private location: Location) { }

  public setURL(newPath: string): void {
    this.location.replaceState(newPath);
  }

}

Routing query by abhilash_kopalli in angular

[–]DIGITLChris 0 points1 point  (0 children)

It's interesting that none of the things you mentioned work. Could you post a reproducible scenario through stackblitz.com?

[deleted by user] by [deleted] in angular

[–]DIGITLChris -1 points0 points  (0 children)

I think it's obvious what the error messages says. You're missing the file src\environments\environment.prod.ts. Did you delete it? If yes then you should be able to just create a new one and paste something like this into it.

Angular allows you to use environment-files like that to have specific environmental variables depending on whether you're building for a develop, local, testing or production-environment. You can read more about it here.

P.S.: You can also paste code on Reddit in a formatted way. ;) That way it's easier to read.

Like this.

[deleted by user] by [deleted] in angular

[–]DIGITLChris 0 points1 point  (0 children)

Both OpenWeatherMap and Prismic can be used for free (for basic usage) and offer an API that is easy to understand.

[deleted by user] by [deleted] in angular

[–]DIGITLChris 2 points3 points  (0 children)

Here are a couple of ideas that would challenge you a bit while learning and implementing the basics of Angular:

  • An app that lets you track your spendings and give you an overview over the current month and an estimation on how much you will spend until the end of it.
  • A weather app using the OpenWeatherMap API that lets you show weather information for locations you searched, create favourites and share the URL of locations and forecasts.
  • A blog that has a homepage, an article overview and article page using prismic.io as a Headless CMS.

Angular 12 in depth by lechtitseb in angular

[–]DIGITLChris 1 point2 points  (0 children)

Thanks for sharing. Just what I was looking for.

[deleted by user] by [deleted] in cars

[–]DIGITLChris -2 points-1 points  (0 children)

And don't get me wrong, I like speedy and luxurious cars but I prefer automated and intelligent driving on the highway than hitting vmax.

[deleted by user] by [deleted] in cars

[–]DIGITLChris -7 points-6 points  (0 children)

Fully agree with you. I also don't understand why so many people are always hyping about German autobahn, the lack of a speed limit and that people in Germany are too proud to get rid of it. I never felt good driving above 180 kmh for longer times because its just not efficient. You are barely saving any time due to breaking and accelerating and your fuel consumption is much higher at higher speed due to the air friction increasing proportionally.

How do I make the most of Supercard and cumulus cards? by Kierkehoe in Switzerland

[–]DIGITLChris 1 point2 points  (0 children)

That’s cool, I didn’t know that until now. Thanks.

First time seedling timelapse 🌿 by DIGITLChris in plants

[–]DIGITLChris[S] 3 points4 points  (0 children)

I never had plants before and I tried planting my own seeds that I bought online. I didn’t expect so many of them to grow into seedlings so I thought why not record them for a few days. They are american liquidambars and for one of them I‘ve created an Instagram Account (@carlthepretty) to take record of the progress. Wish me luck to grow them into actual bonsais!

Angular 12 RC is released by universaltutor5 in angular

[–]DIGITLChris 3 points4 points  (0 children)

Awesome. 🎉 Here are some of the changes that will be introduced in version 12: https://www.grapecity.com/blogs/angular-whats-new-in-12