olsonexi@lemmy.wtftoProgramming@programming.dev•Real quick question about the "break"
2·
10 months agoidk, maybe C# just doesn’t have great syntax for the way you’re doing it or something, but I think the simplest solution is the most readable in this case:
for (int i = 1; i < JUST_THE_WORST_NUMBER; i += 2) {
Console.WriteLine(i);
}
xrandr. afaik, there’s no (standard) way to set display resolution from the command line in wayland. also, there’s no equivalent of xkill, so in order to kill an unresponsive gui app, you have to grep for its pid in
ps
, which can get a bit tedious and annoying, especially for programs which spawn multiple processes.