David Sanson
Textmate Bundle for Pandoc
I’ve thrown together a Textmate bundle for Pandoc. From the README:
This bundle is a work in progress. It has many warts, and it is far from complete. It is idiosyncratic in ways that it shouldn’t be. Some commands are probably broken.
I suspect anyone who uses Pandoc with Textmate will want a bundle tweaked to suit their own needs, and that many of us have already rolled our own sets of simple commands. I have two goals for this bundle, which aren’t entirely compatible:
- To provide a reasonable set of commands and options to help get new users started.
- To provide a way for users to share commands and options that they’ve come up with.
This probably means that the bundle should eventually be organized into “basic” and “advanced” sections.
Fixes, forks, improvements, ideas, complete overhauls, all welcome.
Unofficial OSU Philosophy Department Colloquia Calendar (View Comments)
This is not the official calendar for our department colloquia. This is an unofficial google calendar which I maintain for my own use. It differs from the official calendar in a few important ways:
- I (try to) include all philosophy-related talks at OSU, not just official colloquia.
- I (try to) include talks as soon as they’ve been scheduled.
Let me know if there is a talk that I should add or if you notice any mistakes.
- Use this link to view the calendar as a webpage: html
- Use this link to subscribe to the calendar in your feed reader: xml
- Use this link to subscribe to the calendar in your calendar software: ical
If the above ical link didn’t work, copy this URL
http://www.google.com/calendar/ical/pgpbqbvg98d0a0opno8n688tsc%40group.calendar.google.com/public/basic.ics
then open your calendar software and tell it to subscribe to the calendar by URL.
OSU EZProxy Bookmarklet (View Comments)
This “bookmarklet” allows for easy access to OSU-restricted resources from off-campus, via the OSU EZProxy service. To use, drag this link — OSU Proxify — to your browser’s bookmark toolbar. When you arrive at a site that requires the proxy, like this article on jstor, click on the bookmarklet, and you will be redirected to the proxified version of the site’s url (you will be asked to login first).
Using OSU EZProxy For Your Files (View Comments)
Want part of your OSU webpage to be protected behind OSU’s EZProxy server? Create a subfolder (e.g., sanson7/local/), create a text file named “.htaccess” in that folder, containing the following lines:
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^164\.107
RewriteCond %{REMOTE_ADDR} !^140\.254
RewriteCond %{REMOTE_ADDR} !^128\.146
RewriteCond %{REMOTE_ADDR} !^192\.68\.143
RewriteCond %{REMOTE_ADDR} !^192\.12\.205
RewriteCond %{REMOTE_ADDR} !^67\.39\.90
RewriteCond %{REMOTE_ADDR} !^75\.12\.69
RewriteRule (.*) http://proxy.lib.ohio-state.edu/login?url=http://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Now anyone who attempts to open something within that folder from off-campus will be automatically redirected through OSU’s EZProxy service.
Too complicated? Download this file, upload it to the appropriate folder on the webserver, and rename it to “.htaccess” (best to rename it after it is on the server; file names that begin with periods get special treatment on many operating systems).
I suspect this use of OSU’s EZProxy service is unsupported, perhaps even frowned upon. I’ve tested it on my OSU humanities web folder and it worked. It hasn’t worked for me on externally hosted web sites. YMMV.
iPhonlets Bookmarklet (View Comments)
This is a meta-bookmarklet: it is a bookmarklet that makes it possible to bookmark bookmarklets in browsers that only allow you to bookmark the page you are on. This includes Mobile Safari, the browser on the iPhone and iPod Touch. It also includes Opera Mini, I am told.
It is not the only bookmarklet that does this. The “Grady Morgan Bookmarklet” did something similar but has gone missing; the CSS Ninja wrote a bookmarklet that does the same thing.
A bookmarklet is a link of the form href="javascript:blah". Rather than taking you to a new webpage, it executes a bit of javascript on the page that you have already loaded. The iPhonlets bookmarklet changes all href="javascript:blah" links on a page to href="http://example.com/#javascript:blah" links. (As a visual cue, it surrounds converted links in a yellow box.) Once this has been done, you can follow the link to http://example.com#javascript:blah and bookmark the page. You can then edit the bookmark, deleting the http://example.com/# bit from the URL, leaving just the javascript:blah bit.
The process is a pain, but it is less of a pain than any other option, and it works.
I realize that my instructions are hard to follow. The CSS Ninja provides screen shots detailing how it is done. So does the site for the iTransmogrify bookmarklet.
To install the iPhonlets bookmarklet, drag this link — iPhonlets — to the toolbar on your desktop computer and sync your bookmarks with your iPhone.
Just kidding. You can do that, but you can also use the bookmarklet to install itself: click once on the bookmarklet above, right now, on your iPhone. It should turn yellow. Now click on it again, bookmark the resulting page, and edit out the http://example.com/# bit. Isn’t it fabulous that you can use it to install itself?
For those interested in tweaking the bookmarklet, here is the human readable source:
function F() {
var i,L;
L=document.links;
for (i=0;i<L.length;i++) {
if (L[i].protocol=="javascript:") {
L[i].href="http://example.com/#"+L[i].href;
L[i].style.padding="5px";
L[i].style.border="thin solid #ccc";
L[i].style.background="#ff3";
L[i].style.color="#000";
}
}
};
F();
Wondering why you’d want bookmarklets on your iPhone? Take a look at