jw013

United States

Debian user, GNU/Linux enthusiast, FLOSS supporter, hobby developer.

12h
comment Move to other end of paragraph in vim (not a visual block)
@TylerDurden There is no swap key. Just use {}.
2d
comment Is it possible to launch Hearthstone (Diablo, Starcraft, WoW) directly?
This does not work for Hearthstone, at least not for me on Windows 8. Using this shortcut launches an unresponsive nonfunctional Hearthstone window, which can only be forcefully closed via the Task Manager.
Oct
17
revised How do I handle switches in a shell script?
Removed broken link that I can no longer find.
Oct
17
comment Optional arguments after or before the mandatory arguments?
@MichaelMrozek The POSIX standard getopts actually expects all option arguments to come before non-option arguments ("operands"). The script itself has to do extra work to support interleaving the two. I do not know about getopt since it is less standard and there are multiple (GNU and not GNU) versions out there.
Oct
17
answered Redirect output to stdout and pipe to a binary
Oct
17
revised Redirect output to stdout and pipe to a binary
Fix command typo
Oct
16
comment How can I link my C program against the Arb library?
Looks like you'll need to grab and install a library from the same website: fredrikj.net/arb
Oct
13
comment Linking a static library when compiling a C program
With static libraries you don't need to use -l. Try gcc abc.c libad.a, or whatever the actual static library name is. Just pretend the library is another object file.
Oct
11
comment What means a number of links > 1 for directories?
Remember that . and .. are hardlinks. In your case /etc has 161 subdirectories, all of whom contain a .. hardlink to it. See here and here.
Oct
11
comment What does && mean in cd "$OLDPWD" && pwd?
@Tim That is a history question that maybe someone else can answer. Post a new question as suggested instead of editing a closed one.
Oct
11
comment What does && mean in cd "$OLDPWD" && pwd?
@Tim Doesn't cd - mean the same as cd "$OLDPWD"? -- No. cd - doesn't print out the current dir after running cd "$OLDPWD", does it? -- Yes it does. This takes 2 seconds to verify for yourself. It is also in the definition.
Oct
11
comment What does && mean in cd "$OLDPWD" && pwd?
@Tim No. See my previous comment.
Oct
11
comment What does && mean in cd "$OLDPWD" && pwd?
@Tim && pwd is part of the definition. Why questions like this are hard to answer. Why is && pwd in the definition? Probably to be consistent with historical practice. Why is this historical practice? You'll have to ask someone who was there.
Oct
10
comment Why can't I install the midnight commander on Debian?
I don't think wheezy-updates is the same as wheezy, the main repository.
Oct
10
awarded Good Answer
Oct
10
answered How can I run a bash variable as a command exactly without additional quotation?
Oct
6
comment Stuck in starting room in Stanley Parable
This game has many possible "endings". You have found one of them. Congratulations. Feel free to restart the game to try to find more.
Sep
30
awarded Explainer
Sep
29
comment How do you force Steam to use a different account for each Windows user account on the same machine?
@MBraedley A rudimentary obfuscation is simply to make each account shortcut for each user only (i.e. not "for all users"), and make sure the folder where the shortcut is stored (e.g. the Desktop) is set to private so that other Windows accounts cannot see them from within Windows. This still leaves the password in the clear on the hard disk, but at least it is harder to get to from within the installed operating system.
Sep
24
awarded Autobiographer
1 2 3 4 5