Reputation
17,496
Next tag badge:
81/100 score
15/20 answers
Badges
30 109 191
Impact
~2.9m people reached

Oct
21
comment How to have separate command history for different sessions for the same user?
I think this depends on what part of shared history the OP is trying to accomplish, though I'm not that familliar with ksh. Screen has it's own built in history and if you're just looking for terminal scrollback. My answer is sort of built around that the question may be implying an answer, rather than defining the problem. Especially because there are good answers covering other aspects. I had a similar problem and it wasn't an actual desire to have a different history file.
Sep
6
comment How can I disable xtrace and preserve my exit code
I now ask myself why they aren't subshelling these things to begin with...
Sep
6
comment How can I disable xtrace and preserve my exit code
oh is something about this bash specific? I didn't check, and I don't really have control over the shell they get run in. :/. Though I did test them locally on zsh without issue... (asside from missing log functions)
Aug
13
comment How can I enter unicode characters on KDE?
@Gilles done...
Aug
12
comment How can I enter unicode characters on KDE?
@Gilles for me personally, it's usually about testing software I'm developing. This means I usually don't need the full gammut of characters, because usually fixing one wide character bug will fix the others. At the same time there is some need for variety in testing. The hunt and click option is probably the best, I don't have to type these characters frequently (thus don't have an identified subset), and I don't want to generally spend time going to a website if I don't have to find their codes.
Aug
12
comment How can I enter unicode characters on KDE?
and how does one enable the compose key? and how does one find these preconfigured combinations?
Aug
12
comment How can I enter unicode characters on KDE?
it appears I have to keep holding down ctrl+shift, but when it inserts it it also leaves the u2197 in the text area... so I'd have to delete that.
Jul
22
comment foolproof way to detect if java process is running
Build a health check into the application. Spring actuator has some good stuff, or at least will give you an idea. Your app could be running according to the os but not responding. App providing a health check could catch that in addition to it catching dead app.
Jul
19
comment Can I set my local machine's terminal colors to use those of the machine I ssh into?
If the terminal emulator supports it yes
Jul
2
comment How do I recursively check permissions in reverse?
hadn't looked at this in a long time, but I think I just realized why I had problems with it. it looks at the path you give it, so if you do namei -l file you'll just get that permission. namei /home/user/file would give the listing from root.
Jun
10
comment Can I make a vagrant multi-machine VM depend on another?
@Tasos it may be easier just to say "ensure oracle is started first" a la vagrant up oracle && vagrant up distributed
Jun
10
comment Portable encrypted container
truecrypt is no longer recommended by the truecrypt authors, and is no longer maintained.
Jun
10
comment Switch Maven version after installing from jpackage?
that's kind of what the question was about, I couldn't figure out how to make alternatives do this honestly. (my first hack was just to modify the path)
Jun
9
comment Switch Maven version after installing from jpackage?
that's a list of about 30 entries, but caused in the middle of yum install java-1.7.0-openjdk-devel maven3 tomcat7
Jun
7
comment Switch Maven version after installing from jpackage?
vagrant chef/CentOS-6.5
Jun
7
comment Switch Maven version after installing from jpackage?
I think something else is pulling in maven haven't checked what. This is an entirely new image, built from vagrant. 3.0.3 is just enough in our case.
May
1
comment grep print relative file path when doing a recursive search
this should be more efficient than xargs, but accomplishes the same (including the too many args problem) find . -name 'pom.xml' -exec grep -3 'org.hibernate' '{}' +
May
1
comment grep print relative file path when doing a recursive search
this is the default behavior, it does not give the relative or absolute path, I can't tell the difference between one pom.xml and another with this (or maybe this option is ignored...) . Also this is not in my man page... are you sure this is for a freebsd grep and not gnu grep?
Apr
20
comment Airdrop compatible
for varying defintions of drop in... samba isn't exactly the only part needed for drop in on windows network sharing, but yeah, something I could use to basically do that. I of course, assume(d) that /someone/ is working on such a thing, though perhaps no one is.
Apr
4
comment Setting environment variables at runtime in KDE4
No it is not possible to update a running programs environment. It is possible to start a new shell with the new environment. @Gilles I suspect if you remove the KDE aspect this is a duplicate... do you know?