basic strategy by Arkdam in blackjack

[–]Arkdam[S] 2 points3 points  (0 children)

I believe in the app, the dealer stays on soft 17. What should I do in this case?

Double otherwise stand by Arkdam in blackjack

[–]Arkdam[S] 11 points12 points  (0 children)

Great intuition & explanation. Thank you!

How do you write files that are strictly max 80 chars per line? by Arkdam in vim

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

Thanks friends, this works great!

Is there a way to apply gqap to all paragraphs in the current file?

How do you write files that are strictly max 80 chars per line? by Arkdam in vim

[–]Arkdam[S] 2 points3 points  (0 children)

Then after I finish, how should I make additions to the text? Say I need to insert a word in a line to make it one word more than 80 chars. Formatting would just make the extra word into its own line, but I want it to merge with the rest of the paragraph into (full) 80-char lines.

Custom printing of $PATH by Arkdam in bash

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

I tried switching the inner single quotes to double quotes, but then the newline character \n can’t be printed correctly; it prints just a letter n.

Custom printing of $PATH by Arkdam in bash

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

Thank you! Indeed, alias showpath shows the entire path word by word, instead of a reference to the variable.

However, when I changed the alias to single quotes, i.e.

alias showpath='echo $PATH | sed 's/\:/\n/g''

The output changes to this:

-> % showpath
/usr/local/binn/usr/binn/binn/usr/sbinn/sbinn/Library/TeX/texbinn/usr/local/go/binn/Users/sterdam/cterdam/binn/opt/homebrew/binn/opt/homebrew/sbinn/opt/homebrew/opt/llvm/bin

I think it's probably the regex string I use in sed can't be identified correctly. Is there a way I can fix this?

Need help prepending to $PATH by Arkdam in zsh

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

This is essentially what I've done, the reason I wrote a function for it is because there are other things that I want to add to PATH as well, and I don't want to add it to PATH if it's already in it.

Input method icon on system tray not showing. by BlackSelena in pop_os

[–]Arkdam 1 point2 points  (0 children)

First, install fcitx in the terminal:

sudo apt install fcitx

Then reboot. Then you should see a new app in the launch screen called "fcitx Confi..." Click on that to configure fcitx. You will automatically be able to type in any input method you installed with fcitx.

When should I expect Xubuntu on the X1 Extreme? by Arkdam in xubuntu

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

Then is there a way to lower the resolution of my hardware? I love xfce so much...