Posts Tagged “experiments”

  • Experiment: Send to nvALT links

    I was considering adding a feature to Jekyll that would let me provide ".txt" links that return Markdown versions of posts the way that MacDrifter's Pelican install does and I'm pretty sure Gruber used to. I got bored with the idea of writing a generator for it, so I hacked a workaround that turned into something quite different from the original objective. That happens a lot.…

  • Fixing Spotlight indexing of Markdown content

    I ran into an interesting problem this evening. It actually started a few days ago when I noticed that my qq script wasn't returning searches within the @(metadata) I set up in the note bodies. I figured I'd come back to it when I had time. Then I got a couple of emails from readers who had also noticed this, so I started digging. It turned out that Spotlight had stopped indexing text content of all files with the .md` extension. If I renamed the file to `.txt` or `.mmd, it would work fine, but…

  • Bash auto-complete for running applications

    I'm not up for doing a full Bash autocomplete tutorial tonight, but wanted to share something I figured out instead of eating lunch. Here it is with a modicum of explanation.…

  • Visualize your Twitter stream topics

    I worked out a somewhat cool trick this morning using Twitter, some PHP and Wordle.net. If you're curious to see what the major topics of conversation are in your Twitter stream right now, follow the instructions below. It currently piggy backs off of a dead project (JustTheLinks) I was working on, so it needs some polish before it's presented as any kind of usable service. Before I put too much time into it, though, I wanted to get some reactions.…

  • Quick Tip: some .inputrc fun

    Quick tips are random posts regarding something I discovered on my way to something bigger. They usually get longer than "quick" would imply, for which I refuse to apologize.…

  • An average morning

    I was looking at some numbers on a web page. A wide variety of fairly large numbers. The web page didn't provide any kind of average for the numbers, and I was curious. Curious, of course, meant writing a script to solve the problem. Yes, I could have copied the numbers out, punched them into a calculator one by one, or opened up Numbers and pasted them into cells... bah. I wanted to be able to copy text with all kinds of other junk in it and just get the average of all the values in contained…

  • New: TextExpander downloads with custom prefixes

    Hey, TextExpander users! Wanna see something cool? I made a little tool this morning to allow any of my TextExpander groups to be installed with your own custom prefix. You can now use whatever is "standard" for your shortcuts. All of the group links on the project page now go to this tool, and you can open it directly for access to all of my groups.…

  • TextMate as WriteRoom, for free

    I use TextMate for editing most of my Markdown. I could name a dozen reasons why this is the case, but let's leave it at auto-pairing, wrapping and the Blogsmith Bundle features. Anyhow, I got a bug yesterday to make TextMate work in "concentration" mode (ala WriteRoom). Not because I think that will improve my writing habits, I just wanted to see if it was possible. A few Google searches later, I have a pretty good solution.…

  • Pinboard redesign experiment

    A Pinboard redesign built off of the styles started by Josh Pigford, I'm providing a bare stylesheet which works with StyleBot on Chrome and User CSS on Safari. The Chrome version can be installed straight from Stylebot.me. Stylebot.me also has a userscript version which could be used with Greasemonkey, but my styles don't seem to translate well to Firefox, yet. I'll work on that when I have time.…

  • Natural language date conversion for TextMate

    I've been flirting with a plain-text to-do system again. The biggest problem for me is that a plain text system opens up so many possibilities for fiddling and scripting. I always end up fiddling more than working when I try it. I don't see any reason this time would be different, but it's Sunday and I have some extra time on my hands after being snowed in today. So I'm fiddling.…

  • Dammit. Again with the Lipsum.

    I know, I said I was done with the Lorem Ipsum generators. Then Dr. Drang responded with a brilliant solution which doesn't require Internet access to generate some beautiful dummy text. I set it up and ran it myself, and loved the results. Then I found myself wanting to expand it to do more, such as multiple paragraphs, list items and other things I use regularly when making dummy layouts. The problem is that I'm only good for one-liners in Perl, and didn't want to take take the time to learn…

  • One more time: TextExpander Lipsum snippets with kwisatz .hadera .ch

    Ok, this is the last TextExpander Lipsum post, I promise (with my fingers crossed). I'm posting a full TextExpander group with all of the TextExpander random Lorem Ipsum generators I've posted so far (LoremIpsum.com, LoremIpscream), plus some new ones based on the Kwisatz Haderach generator. That one seemed to make a few people pretty happy (looking at MacSparky). It combines word lists from various "universes," including Dune, Foundation, Ringworld, Harry Potter and Doctor Who (Doctor Who…

  • LaunchBar actions for url encoding and decoding

    I usually get up an hour or two before I start my work day and "play." Playtime usually results in half-finished scripts and deleted git branches, but sometimes I do something simple and useful (to me). Wednesday was Bash fun, and here's this morning's project: LaunchBar actions to url encode and decode strings. If you run them outside of LaunchBar, they'll encode/decode your clipboard, replacing what's in your clipboard with the result, so they have multiple applications. These have probably…

  • Quick calculations in Bash

    This is probably going to seem stupid, but every time I decide to do something in Bash that should only take me a minute, I end up losing an hour. I obsess over "better" ways to do everything. Not surprisingly, my motivation often wanes before I actually find the better, more elegant way, so these little projects end up lackluster. Fortunately, I end up learning all kinds of new, mostly unrelated things in the process, which is what happened this evening. It's amazing to me that I use UNIX…

  • TextExpander lipsum followup, with ice cream

    It turns out it was me that was broken, not the Loremipscream API. That API can return just plain text, so the shell scripts are much more readable than trying to hack apart XML in Bash. You can get a list of "flavors" from the website, or just curl "http://loremipscream.com/flavors.xml" from the command line. That will also give you the slugs you need to use when calling them.…

  • Random Lipsum for TextExpander

    I hate it when I get an idea for something simple and end up spending an hour figuring out how to do it. I figured I'd make a post out of it to make myself feel better. It all started with my being disappointed that the Loripscream API wasn't working. I did a little digging and found that had a not-well-publicized XML feed you can pull from. That's where the fun began.…

  • Quick Tip: Multi-browser hotkey with Choosy

    Riffing on my AppleScript to toggle an app between foreground and hidden, and inspired by Daniel Jalkut's script to toggle multiple Twitter apps, I wanted a way to do something similar with web browsers. I already have a great tool for intelligently detecting which browser I want to use: Choosy.…

  • Bookmarklet: Read Pinboard links with Instapaper Text

    Here's a quick bookmarklet you can run on any Pinboard page containing a list of bookmarks. It adds a "Read" link at the end of the edit links for each post, and clicking the link will open the post in Instapaper Text view in a new page/tab. It also marks the post you click as "read." Note that this happens whether you have that specified in the preferences or not (because it's a quick hack and I think it's weird to not mark an article as read when you read it).…

  • Notational Velocity ALT expatiation (and roadmap)

    I'd just like to put it out there, as someone will eventually: Notational Velocity ALT (henceforth referred to as nvALT) is turning into something antithetical to the original premise of Notational Velocity. I understand that, and I accept it.…

  • Notational Velocity ALT 1.0 release

    After a few late nights of off-hours programming, I'm putting Notational Velocity ALT out as a version 1.0. Obviously built on the backs of others, I'm just giving it a versioning scheme of its own to make it easier to track my own updates. It does have the built-in updater pointed to my own servers now, so once you install it, updates will be available from within the app.…

  • Notational Velocity ALT 5.3

    As usual with projects I didn't plan to take as far as I did, my version numbering scheme is, well, stupid. With the next release I'm going to implement my own feed for automatic updates, so I'll probably reset the versioning to something more incremental and sane. Anyway...…

  • Lunch-break bugfixes for Notational Velocity ALT

    I'm going to have to build a project page for this, and probably set up a separate Sparkle feed for updates on this fork. I had a few minutes while eating my peanut butter and jelly, so I'm posting a new build with a few changes:…

  • Notational Velocity alternative MultiMarkdown version

    After my experiment last night, and finding DivineDominion's already-awesome fork of Notational Velocity, I decided to port my changes over to his fork and work from there. So here's the current version of the final product, with the intial visual changes, CSS styling, and quick access to HTML source for copy/paste. The preview is now in a HUD instead of a third pane, which I'm finding I like better. There's more room for editing and the HUD hides on deactivation, so it's not in the way if you…

  • Notational Velocity and MultiMarkdown

    Update: I was just informed (see comments) about another fork of Notational Velocity which has implemented MultiMarkdown already. It uses a HUD to display the preview, which may be preferable to some users. Check it out either way, the modifications are far more involved than mine.…

  • Markdown QuickTags: WordPress plugin for Markdown lovers

    Introducing Markdown Quicktags, a new WordPress plugin for Markdown lovers! If you edit your blog in Markdown, whether you publish that way or not, this plugin will make your life almost 37% better. It's quickly turning out to be one of the coolest things I think I've ever done!…

  • Pully: jQuery plugin for automatic pull quotes

    Another quick experiment. Honestly, I don't use pluggable functions in jQuery nearly as much as I should, so this is really just a brain exercise to get myself used to it. This one, called Pully, lets you specify a selector to have its contents cloned and inserted as a pull quote in your text.…

  • PromptDown for iOS: Mobile Markdown Teleprompter

    I recently wrote a tiny web app called PromptDown to let me drop in some Markdown (or plain text) and use it as a teleprompter for screencast voiceovers. I wasn't going to put any more time into it, as it did what I needed. Then it started to bug me that it didn't work on my iPad, which could actually be really handy. So my lunch break fine, and an extra half an hour went to making it work a little more smoothly as an iPhone/iPad app. It's also ready to install as a web app, so you can go full-…

  • Look, I made you a Markdown teleprompter

    Here's my stupid trick of the day: a Markdown teleprompter called PromptDown (I see what you did there...). The idea was to create a teleprompter for recording screencast voiceovers that was cheap, fast and worked on plain text. I wanted to provide a non-WYSIWYG form field for typing or pasting which still preserved paragraph breaks, so Markdown (via Showdown) was an ideal solution. I also included the jQuery "tabby" plugin so you could use tabs in the textarea without jumping out of it, which…

  • Automated search and link text Service

    Update: Download link has been updated with a new Bing version. The Yahoo search API was sunset recently and the original service fails to work now. The new download will work for the time being...…

  • Three things I discovered today

    Amidst trying to get ready to launch a major website and playing with my own personal projects, I realized three things today. How important they are is debatable, and their usefulness depends entirely on what you're working on right now.…

  • Is your URL too short? Try our system, free!

    I was sifting through my previous blog after Jeffery Zeldman kindly sent a lot of visitors in that direction for some TextMate starter tips. Whilst milling around, I stumbled upon an old trick I used to use in Quicksilver (before I gave up on it), but had forgotten about since.…

  • RedirectBuster, another late night Safari Extension

    Okay, this one has a little refining left to go, but it seems to be working pretty flawlessly. I ported most of the code from a greasemonkey script. All I really want to add is a toolbar item that lets you easily turn it on and off, and maybe a whitelist feature.…

  • Delicious bookmarks and OpenMeta tags

    There are quite a few things I love when it comes to my Mac. I love Spotlight. I love OpenMeta tagging. I love Evernote. I love being able to collect information from any source, and find anything I've saved, anywhere, no matter what program I used to create it. I especially love programs that allow me to accomplish that.…