Hello
This bundle is awsome and very useful.
For people who works with LaTeX and with a lot of files with iso
8859-1 encoding, i make a widget after having looked at the sreencast
#!/usr/bin/env bash
for file in "$@"
do
/usr/bin/iconv -f ISO-8859-1 -t UTF-8 "$file" > "$file".utf8 && mv
"$file".utf8 "$file"
done
Now i can drop all the files of a directory and get utf8 files
(attention : with this script , the old files are lost, perhaps a
backup is necessary before)
Thanks Andy, for this great tool
Alain Matthes
Ok, this is it, I'm getting back to work. No, actually it's time for
a movie with my wife. Looks like I'll be working Sunday ;-).
This is a Wordpress plugin, a blogging.rb patch and a Search Posts
command. The plugin returns related posts with title, permalink and
ID. The blogging.rb patch/command will give you a dialog to enter a
search term or phrase (unless there is text selected) a dropdown to
pick a post, fetch it and open it in a new window.
I hope somebody finds it useful. I know I do.
Brett
This is a quick patch file for metaweblog. If you install the plugin
(seriously, it is, in my opinion, very cool), you'll need this to run
the command in TextMate.
I have gone a step further and modified the plugin by one tiny line
and now I can run a search for posts by keyword using the plugin, and
open them just like Fetch Post. Difference being I can open any post
I've ever written and I can narrow the field down instantly... I
will post the updated plugin, a patch for blogging.rb and a Search
Posts command all together.
Brett
In my enthusiasm I forgot that I made a 3 line addition to
metaweblog.rb in order to make the related posts plugin work. I'm
going to paste it here (sorry, Allan) but I will make a diff file in
a minute.
def getRelatedPosts(blog_id, username, password, data)
call("wordpress.getRelatedPosts", "#{blog_id}", "#{username}", "#
{password}", data)
end
Brett
Another unproductive day at the office yields more of my usual tricks.
I was writing a blog post and realized that I often want to link to
an article I've written myself. This tends to be a good practice,
even if just to keep new visitors delving a little deeper into your
site. But none of the current linking tools in TextMate were
especially good at handling this. So I started problem solving.
Solution 1: Lookup Word/Selection on blog and link. This command
was my first idea. It's just a modification of the google lucky
linking command that takes your selection, lets you choose which blog
from your endpoints and then runs a google search with a
site:your.blog.com in the search string. So it's limited to results
from your own site, and links to the first result returned.
Solution 2: That wasn't effective enough. Posts aren't always on
Google if they're too old or too new and there was no control over
which post was chosen. So I modified the Fetch Recent Posts command
to insert a link to the chosen post. If you run it without any input
it will ask you for the text of the link.
Solution 3: That wasn't complicated enough. This last solution is
for Wordpress users only, I'm afraid, but it's a doozy. The plugin
included here is a heavily modified version of the Related Posts
plugin. It runs a FULLTEXT search on your posts with your selected
text and returns relevant posts in an array. The whole thing is an
XMLRPC hook. No hacking required. I finally figured out how to do
this today, so I'm going to modify my Ultimate Tag Warrior hack to be
a plugin as well. I'll get to that later. There's a command with
this called "Link to Related Posts" that will query the database and
present the related posts in a dropdown.
Haven't seen anybody mention this yet. If you go to
Bundles->Textmate->Install Edit in Textmate, the instructions are a
very cool halloween theme. Not sure what kind of window this is
for..I looked at the help docs and they look normal. But yeah, pretty
cool
If you got away from the satanic animal sacrifice version, you here's
a screenshot: http://www.javaspot.net/images/textmate_halloween.png
http://www.randsinrepose.com/archives/2006/10/31/
bright_patient_design.html
<snip>
I'm not a power user, but I know what I expect out of a good editor
and, well, BBEdit is a good editor, but whenever I fire it up I feel
like I forgot to read some imaginary manual called, "BBEdit Rocks.
Really." I suspect the fact that I didn't grow up with BBEdit is part
of the issue. The fact that I'm a pure Mac OS X guy with zero pre-Mac
OS X experience probably contributes to feeling like I'm missing part
of the BBEdit joke. Yeah, Zap Gremlins. Ha ha. I get it. Clever, but
great design?
My BBEdit ambivalence allows me to check out new editors as they
stream across my consciousness and, to BBEdit's credit, it's lasted
four years. I've test driven several editors during that time and
BBEdit remained my technical tool of choice, but it was only a matter
of time until someone else knocked my socks off.
The buzz around TextMate started many months ago, but it's when folks
started to ask me to order it that I started to pay attention. There
is no copy protection known to man that any bright engineer can't
circumvent, so when an engineer asks you to purchase the software
they're saying, "This is the shit. We should pay these guys for this
fine piece of work."
You bet I downloaded it.
After two steady months of TextMate, I'm happy to declare it my
editor of choice because it demonstrates a design philosophy I love.
Bright, Patient Design. I'll explain
...
</snip>
j.
Hello,
is there any way to add support for non-image files when dragged onto
the TM window; these files should be linked and uploaded to the
serves as are images?!
thx,
Dan