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?
Apr
8
comment What exactly Non DFS Used means?
This is incorrect, especially when dfs.data.dirs is on separate filesystems from that of /. The correct definition is: any data that is not written by HDFS in the same filesystem(s) as the dfs.data.dirs. In other words, if you use hdfs dfs commands to copy data, then it "DFS usage", and if you use cp command to copy files into dfs.data.dirs, then it will become "non-DFS usage".
Mar
18
comment How do I follow a Google Group using an RSS reader?
Thank you, Very useful.
Mar
1
comment How to stop all timeouts and intervals using javascript?
Worked great on Chrome to disable annoying reloads that made me lose my reading position.
Feb
25
awarded Necromancer
Feb
23
comment eclipse adding java ant based project: Specified buildfile does not contain a javac task
In my case, the javac task was in a macro with parameters that is being invoked from the compile task. I had to workaround by making a copy of the task that inlines the macro.
Feb
11
comment How do I stop a find from descending into found directories?
In my use case, this command: mkdir -p x1 x2; touch x1/x11 x1/x12 x2/x21 x2/x22; find . -name 'x1*' -exec rm -rf {} \; gives the error: find: ./x1: No such file or directory. The solution is to add -prune at the end of find command.
Feb
11
comment How do I stop a find from descending into found directories?
Thanks, didn't use the -prune option before.
Feb
10
awarded Supporter
Feb
9
answered Bash history expansion with tab completion
Feb
5
comment Receiving duplicate emails with sendEmail()
Perfect, thank you so much! There is this code that gets run as part of onOpen and so is adding the trigger again and again: ScriptApp.newTrigger('onFormSubmit').forSpreadsheet(ss).onFormSubmit().create()­.
Feb
5
accepted Receiving duplicate emails with sendEmail()
Feb
5
revised Receiving duplicate emails with sendEmail()
added 240 characters in body
Feb
5
asked Receiving duplicate emails with sendEmail()
1 2 3 4 5