The Doctor What

Pittsburgh, PA

docwhat.org

Age: 41

It is said that you define a person by what they know. If you follow that through to its logical conclusion; a person is the sum of their experiences. Therefore, if you want to know who I am, I could just give you access to everything I have seen and done and everyone I have met. Unfortunately, it’s not possible to put everything I have ever experienced on the net. At least not yet.
Jul
24
comment Bash get exit status of command when 'set -e' is active?
No problem. I've made mistakes that needed catching plenty of times.
Jul
21
comment Bash get exit status of command when 'set -e' is active?
@AdrianFrühwirth -- I had a ret=0 before foo || ret=$? so it would show the case where it succeeded. I actually tested it multiple times (for i in $(seq 30); do echo '$ ./foo.sh'; /tmp/stack.sh ; done) and copy-pasted some results.
Jul
18
revised Bash get exit status of command when 'set -e' is active?
Added ret=0 and variable exit codes
Jul
17
answered Vim: Possible to make default split vertical when opening help or file instead of horizontal?
Jul
17
answered Opening Vim help in a vertical split window
Jul
2
awarded Curious
Jun
16
awarded Nice Answer
Jun
6
comment How to make zsh autocorrect ` to ~?
I have a similar problem; I mistype ~/ as ~? regularly.
Jun
6
awarded Necromancer
May
28
comment Memoizing Member Methods in Groovy
I may be stupid, but why can't you just do: def sum = {a, b -> ..}.memoize()
May
18
awarded Yearling
May
17
comment Extending Chef Windows Cookbook...DISM limitations
Oh, you're the OP... d'oh. Yeah, I missed it. Thanks.
May
16
comment Extending Chef Windows Cookbook...DISM limitations
Where did the win_version thingy come from? I hadn't seen that before. I managed to implement the rest. I zipped up the sxs folder and everything. I was just asking for a 'whole' picture instead of pieces...
May
15
comment Node.js error with SSL UNABLE_TO_VERIFY_LEAF_SIGNATURE
When this bug is fixed, you'll be able to do "The Right Thing(tm)".
May
14
awarded Popular Question
May
12
comment Node.js error with SSL UNABLE_TO_VERIFY_LEAF_SIGNATURE
Pointers or examples?
May
12
comment Node.js error with SSL UNABLE_TO_VERIFY_LEAF_SIGNATURE
This is a lousy idea. If the system has the proper CA root (AKA anchor) certificates, there should be a way to tell Node about them instead of turning off strict-ssl.
May
12
comment Node.js HTTPS 400 Error - 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
This is a lousy idea. If the system has the proper CA root (AKA anchor) certificates, there should be a way to tell Node about them instead of turning off strict-ssl.
May
12
comment Node.js HTTPS 400 Error - 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
This is a lousy idea. If the system has the proper CA root (AKA anchor) certificates, there should be a way to tell Node about them instead of turning off strict-ssl.
May
12
comment Extending Chef Windows Cookbook...DISM limitations
Can you just put the whole recipe section here? I like the line by line description, but it'd be nice to see the whole recipe 'chunk'...
1 2 3 4 5