[tw] Re: Command line from TiddlyWiki
I very much doubt its so dire. Since TW is NOT interactive the only ingress is if you compromised your own site. I DID mine by using an open FTP, never aqain. So, do you want the 5 minute argument, or the full half hour? -:) @TiddlyTweeter wrote: >> >> i would trust it from a friend. >> > > codacoder...@outlook.com wrote A word of advice: > > Be safe. Take extreme care with ALL sources - even more care with > friends. > > >> PMario wrote >> >>> I'm pretty sure, that you don't want to run arbitrary scripts form >>> untrusted sources on your computer >>> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ae553dfa-af60-4006-8455-88ff104e65ec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Command line from TiddlyWiki
On Monday, July 17, 2017 at 9:25:00 AM UTC-5, @TiddlyTweeter wrote: > > i would trust it from a friend. > > A word of advice: That is precisely the attack vector to which you (we) are most vulnerable. You cannot know or ascertain whether your friends are or have been exposed to malware *designed* to use that precise attack vector. Attackers and their code *rely* on us behaving that way. Be safe. Take extreme care with ALL sources - even more care with friends. > PMario wrote > >> I'm pretty sure, that you don't want to run arbitrary scripts form >> untrusted sources on your computer >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ca7ed5f1-f7bd-4b2c-adb8-f2fdd0075668%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Command line from TiddlyWiki
i would trust it from a friend. PMario wrote > I'm pretty sure, that you don't want to run arbitrary scripts form > untrusted sources on your computer > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/145d499d-374e-4f54-a3b4-7f15c4a5828b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Command line from TiddlyWiki
On Tuesday, June 20, 2017 at 3:44:40 PM UTC+2, Jed Carty wrote: > > I would really like to be able to run a bash script from a tiddlywiki, but > I haven't figured out how yet. > I'm pretty sure, that you don't want to run arbitrary scripts form untrusted sources on your computer, if the browser visits any page. -m -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6449c188-a7bc-4a29-aa33-bebbed8d0b5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Command line from TiddlyWiki
P.S. I was also going to share this custom export idea for your Spreadsheet tool to re-export. On Sunday, 16 July 2017 10:37:59 UTC+10, TonyM wrote: > > Steve, > > Did you see this discussion on Windows Command line via a custom export > (save in download) export and loop that processes?, Its quite easy to > create a new exporter to do this and I am sure the same method can be used > in other OS's. > > Regards > Tony > > On Tuesday, 20 June 2017 21:09:34 UTC+10, stevesuny wrote: >> >> Hello, >> >> Was wondering if anyone has built an interface to the command line from >> tiddlywiki. >> >> For example, given a tiddler tagged tag1 tag2 tag3, I might want to run >> these commands at the command line, from within tiddlywiki. >> >> grep tag1 ~/Documents/filename| grep tag2 | grep tag3 |cut -f3 > >> ~/Documents/outputs/grepped.lines >> wc -l ~/Documents/outputs/grepped.lines > grepped.lines.linecount >> >> >> and be able to import grepped.lines and grepped.lines.linecount as >> tiddlers. >> >> Doable? >> >> I suppose I could generate the commands in a tiddler, export it as a text >> file, and use it as a script, but was hoping to do it in one step. >> >> >> Thanks, >> >> //steve. >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5482e93b-0ef0-483a-89e3-2db938821a1d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Command line from TiddlyWiki
Steve, Did you see this discussion on Windows Command line via a custom export (save in download) export and loop that processes?, Its quite easy to create a new exporter to do this and I am sure the same method can be used in other OS's. Regards Tony On Tuesday, 20 June 2017 21:09:34 UTC+10, stevesuny wrote: > > Hello, > > Was wondering if anyone has built an interface to the command line from > tiddlywiki. > > For example, given a tiddler tagged tag1 tag2 tag3, I might want to run > these commands at the command line, from within tiddlywiki. > > grep tag1 ~/Documents/filename| grep tag2 | grep tag3 |cut -f3 > > ~/Documents/outputs/grepped.lines > wc -l ~/Documents/outputs/grepped.lines > grepped.lines.linecount > > > and be able to import grepped.lines and grepped.lines.linecount as > tiddlers. > > Doable? > > I suppose I could generate the commands in a tiddler, export it as a text > file, and use it as a script, but was hoping to do it in one step. > > > Thanks, > > //steve. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b713d8e0-45bd-4af0-a41e-ba11ffa8bfce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Command line from TiddlyWiki
I suppose that you want the command line interface because you're comfortable with unix-style commands. But you might be able to do what you want without having to use a separate language. This will create tiddlers that count the number of tiddlers marked 'Widget' and store it in a tiddler. You could modify for tag[tag1]tag[tag2] or whatever you wanted to count: <$button> <$wikify name="cnt" text="<$count filter='[tag[Widgets]]'/>"> <$action-createtiddler $basetitle="Current Widget Count" text=<>/> Record number of widgets Good luck, Mark On Tuesday, June 20, 2017 at 4:09:34 AM UTC-7, stevesuny wrote: > > Hello, > > Was wondering if anyone has built an interface to the command line from > tiddlywiki. > > For example, given a tiddler tagged tag1 tag2 tag3, I might want to run > these commands at the command line, from within tiddlywiki. > > grep tag1 ~/Documents/filename| grep tag2 | grep tag3 |cut -f3 > > ~/Documents/outputs/grepped.lines > wc -l ~/Documents/outputs/grepped.lines > grepped.lines.linecount > > > and be able to import grepped.lines and grepped.lines.linecount as > tiddlers. > > Doable? > > I suppose I could generate the commands in a tiddler, export it as a text > file, and use it as a script, but was hoping to do it in one step. > > > Thanks, > > //steve. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8671fb4c-151b-4beb-8d01-a335eaebe071%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Command line from TiddlyWiki
I would really like to be able to run a bash script from a tiddlywiki, but I haven't figured out how yet. As I wrote that I realised that it should be possible to use the child_process module in node to run console commands, so we may be able to make widget that does that. That doesn't take care of the browser-vs-node scope problems, which would require something like what I made for robbie to pass the command between the browser and the main node process and then reply with the output. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e7ddfe8f-7aee-4c4f-8f80-380ac3f5d849%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.