Quantcast
Channel: User danbord - Stack Overflow
Browsing latest articles
Browse All 42 View Live
↧

Comment by danbord on Visual Studio 2017 - Git failed with a fatal error

After HOURS of struggling I finally found my solution here... Thanks a bunch! :D

View Article


Comment by danbord on How to prevent angular material mat-menu from closing?

doesn't seems to work well. Dates cannot be selected when you click on them

View Article


Comment by danbord on lodash implicit gives "_ is not a function" error

Thanks for commenting; but I'm trying to use lodash as in that article : mariusschulz.com/blog/implicit-function-chaining-in-lodash. I'll add the code in description then

View Article

Comment by danbord on Replace \n with tag angular 6

Great! Thank you!

View Article

Comment by danbord on Cypress get element that a child contains

Thank you! I knew I was overthinking that :)

View Article


Comment by danbord on How to access nested store with dollar sign syntax

sad, would be a great addition in order to get organized

View Article

Comment by danbord on Using AudioBuffer as a source for a HTMLAudioElement?

Many thanks for that answer! Fixed my issue loading a OneDrive shared file into an HtmlAudioElement and bypass the CORS issue when using AudioContext on top of it

View Article

Comment by danbord on Svelte with rxjs Observable in object property

Well I'm using rxjs at some places because it's much more powerful than svelte stores for some operations. And rxjs is actually working fine with Svelte auto subscription. But the issue here is not...

View Article


Comment by danbord on Azure Functions Node.js typescript global variable

Yes but that doesn’t really help because I need to pass the context as a parameter. I’m looking for a way to access my token globally, without passing it along everywhere in my service layer and then...

View Article


Comment by danbord on Azure Functions Node.js typescript global variable

Thats not answering the question. The single jwt is stored on the client (like jwt is supposed to be). Then that code is in the backend side,I don't see where would be the security issue of storing the...

View Article

Comment by danbord on How to build a type from enum values in TypeScript?

really nice and clean, thanks

View Article

Comment by danbord on Azure Functions Node.js typescript global variable

Thanks, thats what my web digging ended up with too. Would've really liked to see a request scoped varible natively

View Article

Azure Blob Metadata encoding

What is the correct way to encode the strings into the Azure Blob Metadata?When using Azure Storage Explorer, it seems to use a function close to C# UWPs WebUtiliy.UrlEncode. But unfortunately...

View Article


OpacityMask missing in UWP

Any easy way to apply OpacityMask to a UI object in UWP XAML?I used to do that in WPF but appears to be missing in UWP.

View Article

VS2017 opening .sln automatically opens same files

When I open my solution file with Visual Studio 2017 (ver 15.7.5) it always automatically opens the same 2 .cs files. How can I prevent that? Why does it opens those specific 2 files? No they're not...

View Article


C# Object Initializer : Set Property from another one

I have the following object where in my constructor I add a new Guid as the Id.public class MyObject{ public MyObject() { Id = Guid.NewGuid().ToString(); } public String Id { get; set; } public String...

View Article

Azure function multiple output binding Extensions error

I'm developing an Azure function through the portal,My function is an HttpTrigger with httpResponse.I add a TableStorage output binding and install its Extension (everything is fine).I add a SendGrid...

View Article


Image may be NSFW.
Clik here to view.

mat-menu sizing problem at 1033 pixels; truncates data

I'm in an Angular 7 project using Material Design and FlexLayoutI can't figure out why the mat-menu behaves like that : When my window is greater that 1032 pixel width the mat-menu does not size...

View Article

Answer by danbord for mat-menu sizing problem at 1033 pixels; truncates data

Finally found the problem. Its because my body had a fixed width of 980px and margin:0 auto (to make the website content centered).I ended up wrapping my inside a <div id="appContainer"> and...

View Article

Answer by danbord for Unable to use bindNodeCallback

I know its an old thread but I've been able to make my auth0 userInfo method to use bindNodeCallback. Here's my solution if it can help someone :// must use the bind() method to change scope of "this"...

View Article

Azure Devops Pipeline build explorer

I'm beginning playing around with the Azure Pipeline and have a hard time figuring out what is the output of my builds and where they are stored. Is there a way to explore files contained in builds? I...

View Article


angular HttpClient with rxjs

I'm trying to do a simple thing in angular 7. I just need to call 1st a getKey REST api, then use the returned key to pass it to a 2nd REST api getData to get my data. In the end I want my service to...

View Article


Image may be NSFW.
Clik here to view.

List Items Vertically on a WrapPanel and take advantage of multiple columns

I need to list items (all of same size) vertically (with a ScrollViewer). I want the items to spread through x columns if the container is large enough to display x columnsI first tried that...

View Article

Xamarin Forms Display image from Embedded resource using XAML

I'm trying to display and embedded image in a shared project resource (as explained here on microsoft documentation). I created the ImageResourceExtension, the project compiles, but I get the following...

View Article

Image may be NSFW.
Clik here to view.

UWP slider; hide the value displayed on top

I'm using a Slider control in my UWP app. I need to get rid of the value that is displayed on the top when I'm dragging the thumb of the slider.Tried to edit the template but cannot find that anywhere.

View Article


Answer by danbord for Primeng header misalign from body table

My workaround :p-table {cdk-virtual-scroll-viewport {overflow-y: scroll !important;}}

View Article

Git failed with a > fatal error. could not read Username for

I've been struggling with that issue for a couple days now. I'm unable to connect to my Git project (stored in VisualStudio.com) from a specific computer (it works on my second PC). Whenever I try to...

View Article

Image may be NSFW.
Clik here to view.

Answer by danbord for How to increase space between dotted border dots

Late to the party but I found that neat little tool online.https://kovart.github.io/dashed-border-generator/

View Article

Cypress get element that a child contains

I'm trying to find in a table my row that cy.contains() a specific text.I cannot do:cy.get("tr").contains("specific text")That will return my span element containing the textI cannot...

View Article



UWP show Fullscreen Popup, ContentDialog or Flyout

I need to display a full screen dialog (in application window boundaries) in my UWP application, but can't seems to make it work. I tried with :ContentDialog only shows vertically stretched with...

View Article

UWP ToggleSwitch put Content on the Left

Is there an easy way to get the content (text) on the left side of a ToggleSwitch control? (Else than messing up the Template).Thanks

View Article

Answer by danbord for Rxjs await Observable complete

Ok, I finally found my answer here : .toPromise() and lastValueFrom() in rxjslastValueFrom takes a second parameter where you can define a default value when nothing has been emitted.

View Article

Rxjs await Observable complete

I’d like to await the completion of my observable. It has a takeUntil I receive a value emited from my cancel$ observable. Its possible that cancel$ emits a valeu befor observable1 even emits its first...

View Article


Use Text-to-speech Azure service on public SPA (no authentication)

I have a public SPA website (written in Svelte), with no user authentication.I'd like to use the Azure Text-to-speech service (as either REST Api or with the azure-cognitive-services npm package).I now...

View Article

Answer by danbord for Svelte/Vite/Typescript source map in browser all of a...

Ok, seems to be related to Chromium. I have the problem with Chrome 111.I tested on a computer with Chrome 105 and its working well. So something broke in a recent Chrome update.I'll open another...

View Article

Answer by danbord for Svelte/Vite/Typescript source map in browser all of a...

@NickonProblem been reported to Chromium :https://bugs.chromium.org/p/chromium/issues/detail?id=1425475Didn't had time to create a sample though

View Article


Image may be NSFW.
Clik here to view.

Svelte/Vite/Typescript source map in browser all of a sudden broken

I have a Svelte project where I'm used to debug my .svelte files inside the web browser in dev tools.Don't know what changed but now searching for svelte files returns the processed javascript files....

View Article


ios17 safari AudioContext (Web Audio API) problem

Since I upgraded to ios17 my AudioContext is not working on Safari.I have a simple element that I connect a gain node through AudioContext. The audio loads the .mp3 file (remaining time is updated...

View Article

Slow Azure functions deployment

I have a Node.js Azure Function in TypeScript. When I deploy, it takes like 25 minutes to deploy.Those are pretty basic functions with Prisma ORM. Building locally takes couple seconds only.Is that...

View Article

Azure Functions Node.js typescript global variable

I have some node.js Azure Functions (httptriggers) coded with Typescript that I secure with a jwt token. After validating my token at the beginning of the funtion, I'd like to store it globally so I...

View Article

Comment by danbord on Unable to use bindNodeCallback

good tip, it made me advance in my problem resolution. Thanks

View Article

Browsing latest articles
Browse All 42 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>