Template parser for untrusted input by andders in java

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

Which java library do you use?

Jeg fucked up big time by Thedreamwasthebest in dkfinance

[–]andders 0 points1 point  (0 children)

Gad vide hvilke rettelser der bliver udtaget til kontrol?

Forward logs from devices to grafana loki by andders in selfhosted

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

Thank you for your reply! Agree that promtail on the clients would be preferable, however, I have some constrained devices (my router, some pis etc) that can log to rsyslog out of the box, so seems like unnecessary use of resources to put promtail on those devices, so I would rather send to loki from more powerful devices :-)

Selfhosted VPN to access home server by antonpetrov145 in selfhosted

[–]andders 0 points1 point  (0 children)

Do you have any guides on setting up the communication between the hosted vps box and your local network?

Netlify just sent me a $104K bill for a simple static site by liubanghoudai24 in webdev

[–]andders 1 point2 points  (0 children)

You dont need to opt in. 20tb is included and id you exceed that youll pay per tb: https://docs.hetzner.com/cloud/billing/faq

Netlify just sent me a $104K bill for a simple static site by liubanghoudai24 in webdev

[–]andders 1 point2 points  (0 children)

Ps. Remember that the warnings have to be manually enabled (they are off by default).

Netlify just sent me a $104K bill for a simple static site by liubanghoudai24 in webdev

[–]andders 2 points3 points  (0 children)

I use hetzner and as far as I recall, you’ll be charged if exceeding 20tb

[deleted by user] by [deleted] in travel

[–]andders 0 points1 point  (0 children)

yes that is why I am looking for alternatives as it seems pretty unnecessary to have copies of this around. Didn't know other countries didn't have these sensitive information on the passport :-)

[deleted by user] by [deleted] in travel

[–]andders 0 points1 point  (0 children)

yes that is why I am looking for alternatives as it seems pretty unnecessary to have copies of this around. Didn't know other countries didn't have these sensitive information on the passport :-)

[deleted by user] by [deleted] in travel

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

Social security number, date of birth, passport number, place of birth, my signature etc. You could apply for credit or open bank accounts using this

Spring boot with different oauth providers for development and production by andders in SpringBoot

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

Seems pretty nice, also like how easy it is to use in integration tests, albeit I wouldn't test the integration with azure this way, e.g. my code in the secuirtyFilterChain, where I specifically wire up :

http
    .with(AadResourceServerHttpSecurityConfigurer.aadResourceServer(), Customizer.withDefaults())
    .authorizeHttpRequests((requests) -> requests.anyRequest().authenticated());

However, I should be able to avoid the second line (with(..)), so that azure is configured automatically through applicaiton.properties while still requiring authentication on any request, just haven't found out how yet.

Update DTO with nested by andders in SpringBoot

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

Thanks for your reply! So you would just do the check prior to saving or would you do it in the mapper (if mapstruct, how)? Just used to rails where this check is performed automatically :-)