1d
comment How to know if a disk is an SSD or an HDD
Nice! Works without having sudo privileges.
Aug
16
awarded Good Question
Aug
12
awarded Famous Question
Aug
6
comment Configuration of Jobs getting updated by System user on Jenkins
@moiz134 Why is this an accepted answer? You wanted to know why and how SYSTEM user would revert changes, but the answer is about how to track who changed it. You obviously already know that it is the SYSTEM user doing it, so you didn't need the plugin suggested by @anonymous-mohit. The problem with incorrectly accepting an answer is that many others who come here looking for an answer to the same problem, end up wasting their time reading through the answer and then realizing that it doesn't really help.
Jul
17
revised Enable copy and paste in to HTML fields
Point to gist.
Jul
7
awarded Popular Question
Jun
30
comment Git fetch remote branch
For some reason, git fetch remote branch didn't add a branch head at all for me, though all the refs got fetched, so when I tried to follow the steps in the accepted answer, I got the error that pathspec did not match any file(s) known to git., but the rbranch:lbranch approach worked. Interestingly, it also fetched all the tags that started with the same prefix, like it is a wildcard (rbranch*).
Jun
17
answered Upgrade python in a virtualenv
Jun
9
comment Python idiom to chain (flatten) an infinite iterable of finite iterables?
So easy to miss from_iterables() while trying to explore for existing function from iPython :)
May
27
awarded Yearling
May
27
awarded Supporter
May
14
comment Can I export my signature from Preview on one Mac and import it on another?
Doesn't seem to work for Yosemite. Apparently it now encodes the signature as a base64 string and keeps it in the password field of a different password entry.
May
13
comment Why does rsync copy files after copying files manually?
Did you find the right options for cp such that rsync will not copy again?
Apr
24
awarded Yearling
Apr
24
revised rsync over ssh - using channel created by Paramiko in Python
Mention dependency on Fabric
Apr
24
answered rsync over ssh - using channel created by Paramiko in Python
Apr
22
comment sed insert line with spaces to a specific line
You only to escape the first space. Sed seem to automatically recognize the rest of the spaces. E.g., a\ text appends the text with 4 spaces at the front.
Apr
19
comment Is it possible to run sshd as a normal user?
You also need to disable PAM by setting UsePam to no.
Apr
14
comment How can I get optparse's OptionParser to ignore invalid options?
Pretty nice solution! I was trying to create a custom script that disguises as another complex script and I only need to support a small subset of its options, so this solution seems like it would work very well.
Apr
8
answered What exactly Non DFS Used means?
1 2 3 4 5