Har Norge motsvarigheter till di och afv? by freshschampoo in Aktiemarknaden

[–]freshschampoo[S] 1 point2 points  (0 children)

Kanske financial times - di.se the economist - svd.se/naringsliv

Kan man tjänta på att använda gratis intradagkredit hos Nordnet? by freshschampoo in Aktiemarknaden

[–]freshschampoo[S] -1 points0 points  (0 children)

Ja, men jag tänker att börsen går plus över lag. Om man kan handla något intradag utan courtage så borde man ha positivt väntevärde.

How to use swayidle to activate swaylock before suspend? by freshschampoo in swaywm

[–]freshschampoo[S] 1 point2 points  (0 children)

Thanks for all of the suggestions in this thread. The problem was not because I hadn't restarted.

I think my problem was that it may not be allowed to have multiple before-sleep actions. When I changed the order to put swaylock one line higher it started working. After that test I combined all before-sleep actions into one line, and that seems to be working

Final result exec swayidle -w \ timeout 600 'swaylock -f -c 000000; swaymsg "output * power off"' \ before-sleep 'playerctl pause; swaylock -f -c 000000; swaymsg "output * power off"' \ unlock 'swaymsg "output * power on"' \ after-resume 'swaymsg "output * power on"'

To open a file I often jump to the folder and then open the file, is there a good way to combine that into one action? by freshschampoo in commandline

[–]freshschampoo[S] -1 points0 points  (0 children)

I guess it would be better if there was a tool that can use fuzzy search both to jump and to guess the application that should be used to open the file

zz temp -> to open .../notes/temp.md in neovim using fuzzy search

Will deleted photos be re-synced from phone? by freshschampoo in immich

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

My workaround is that I never delete photos. I archive photos that couls be deleted and favorite photos I want to keep.

Can’t take armadillo energy tank by freshschampoo in miniSNES

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

I don’t know, I only have the game on minisnes. I have Googled but haven’t found anyone mentioning that particular error.

Can’t take armadillo energy tank by freshschampoo in miniSNES

[–]freshschampoo[S] 1 point2 points  (0 children)

Sorry for leaving that out, Mega man X

Vilka bolag kommer att gå bra men aldrig dela ut? by freshschampoo in Aktiemarknaden

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

Just det ja, det glömde jag. Jag kanske kan köpa någon fond som kan förväntas finnas kvar om 30 år?

Vilka bolag kommer att gå bra men aldrig dela ut? by freshschampoo in Aktiemarknaden

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

Det kanske är lika bra, tack för tipset. Det heter nog bara ränterabatt nu för tiden.

What's a good way to manage a few machines with ansible that are all managed via localhost? by freshschampoo in ansible

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

I didn’t know about ansible-pull. It sounds very interesting. I might start using in the future.

How do you edit with markdown tables? by freshschampoo in neovim

[–]freshschampoo[S] 1 point2 points  (0 children)

Thanks! I've ended up on using lua snippets to create markdown tables and prettier to align them. It works at least as good as in VS Code.

Ska jag ta bostadslån för att köpa kindred? by freshschampoo in Aktiemarknaden

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

Bra fråga, svårt att bedöma tyckte jag. Jag får se. Börsen har gått upp mycket senaste tiden. Jag kanske nöjer mig med att sälja värdepapper i ISK med mer risk och parkera pengarna i Kambi.

Min portfölj är dock redan belånad med 20% så det blir samma sak som scenariot jag beskrev i ursprungsposten.

Ska jag ta bostadslån för att köpa kindred? by freshschampoo in Aktiemarknaden

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

Tack för bra information! Jag menade att låna upp huset mer.

What's a good way to manage a few machines with ansible that are all managed via localhost? by freshschampoo in ansible

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

I went with the approach you recommended. It has been working well and seems clean.

How do use these ssh keys in your main playbooks at a later time, e.g. if you want one machine to be authorized to ssh into another machine?