-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have fixed the script for GeekTool export, so it works now.
Running the command (ctrl-shift-G) creates a file callled
"todoList.txt" in your GTD folder (whatever it is called). The all
you need to do in GeekTool is set up a shell command with:
cat /Users/foo/pathToGTD/todoList.txt
If you try it, please let me know how it works!
Alaskamike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFEuYyU4oDM7Rgs0h0RApQ9AJ9fhuGre1C1j5o2/bZiJXUjDXiFpACdFnxH
VBoQW0dECxmUix5YuVxmazI=
=/GZa
-----END PGP SIGNATURE-----
I have one request for the wonderful blogging bundle. I have come to
rely on it 100%, and today I ran into the following problem. I needed
to update a post that was not that long ago, but given the amount of
activity on my blog does not show up in the list of 20 newest posts
that "Fetch post" shows me. Is there a way to get "Fetch post" to
"move to the previous 20 posts" and so on?
Or perhaps a way to search for a post to fetch by name?
Haris
Hi all,
Previous conversations on related topics to this don't seem to answer
the question (correct me if I'm wrong!), so:
Can I turn the input to a command script into a shell variable, i.e.
is there a UNIXy way of reading stdin into a variable?
To be more concrete, I have a simple command for looking up the
current word in the R help files (which are in HTML) and displaying
the page in TM's browser. The basic command is
#! /usr/bin/ruby
text = STDIN.read
file = `find /Library/Frameworks/R.framework/Versions/Current/Resources/library
-name #{text}.html -print`
html = `cat #{file}`
print html
This works, but seems like an inelegant solution, and for more complex
tasks it would be useful to know how to avoid needing ruby and make
this something like
var=[something]
cat `find /Library/Frameworks/R.framework/Versions/Current/Resources/library
-name $var.html -print`
TIA!
Jon
I've just added the following command to my Sweave bundle for using
the command line interface to R rather than the GUI:
M=${TM_SWEAVE_WD:=${TM_DIRECTORY}}
echo -e "setwd('$M')\nSweave('$TM_FILEPATH')" |
"$TM_BUNDLE_SUPPORT/../../R.tmbundle/Support/tmR.rb"
Note this assumes both R and Sweave bundles are located in the same
directory. The /../../ is to back up from the Sweave bundle Support
directory and go into the R bundle Support directory.
Command output should be set to "Show as HTML"
I have only tested this on example-1.Snw
Or here's a simpler, if less pretty, way of doing that taken from the
Sweave manual:
echo "library(\"utils\"); Sweave(\"$TM_FILEPATH\")" | R --no-save --
no-restore
I prefer all the nice HTML you get from using tmR.rb though.
Alan et all,
Don't know how practical, but I thought I would put it out there -
I do a lot of converting of Words docs to html. JT's tidy MS Word
command is a godsend, but there are things that I need to search and
replace for -- things like empty p tags, apostrophies, quotes,
emdshes, etc
I never have (yet) qotten my head around grep/stdn etc, so I end up
using search/replace.
My question is whether it would be feasible to convert search/replace
macros to their command equivalents, which I could then just append on
to msword tidy?
--
dc
-----
David Clark
Web Specialist
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
I have been trying to create a snippet that can transform the text at one of the tab stops but am having difficulty, I have consulted the hlp system and it describes how to transform a tab stop when using mirror typing, but I don?t want to have a mirror, I simply want to force one of the tab stops to be uppercase, no matter what character I type, almost as though I switched caps lock on when entering that tab stop and off again after leaving it.
Does anyone know if this is possible? And if so how?
Many thanks
Chris
i would like to be able to perform a simple browser-like back/forward
through the files that i'm viewing/editing. since my normal usage is
to be working with many files simultaneously and i'm using the
project drawer to jump around, i'm always losing track of where i
was. it would be a HUGE time saver to have a "back" command that
could cycle through the last few files that i've loaded into the editor.
note that i've tried using the prev/next file tab commands, but that
just doesn't cut it as the tab placement is completely random based
on the way i work and there are usually a couple dozen of them.
does anything like this exist?
thx.
-scott