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()
Jan
31
comment Link and execute external JavaScript file hosted on GitHub
Also works for gists. I was able to replace gist.githubusercontent.com with rawgist.com and got it working.
Jan
30
comment Creating an iframe with given HTML dynamically
I used <body><div id="fooid">Foo</div></body> as the HTML and when I tried to retrieve the div by id using document.getElementById("fooid"), I got nothing. Any idea why?
Jan
27
comment Difference between pipe open '|' and '|-' (safe pipe open)
You would want to skip using shell when you really don't need it to avoid unexpected shell expansions taking place and improve security against script injections.
Jan
24
awarded Nice Answer
Jan
11
awarded Nice Question
Jan
7
comment What is the proper indentation for bash scripts?
Thanks @törzsmókus, didn't know about this enhancement.
Jan
5
comment run main class of Maven project
You can also pass arguments using exec.args property, e.g., -Dexec.args=1 2 3. I found reading through the documentation helpful: mojo.codehaus.org/exec-maven-plugin/java-mojo.html
Dec
9
awarded Notable Question
Dec
9
answered Why can't I link2sd the Play Store and Maps apps?
1 2 3 4 5