Sam's notebook

Embedding Wikimedia URLs in WordPress August 26th, 2018, 10AM

Programming

I’ve had a stab at a WordPress plugin for embedding Wikimedia URLs: https://github.com/samwilson/embed-wikimedia It’s of course just a draft and proof-of-concept and beta and rough at the moment. It only supports Wikipedia and Wikimedia Commons; I’m going to add Wikidata next, I think, and then Wikisource (although that will mostly be a reformatted version of […]

[No comments] [Keywords: , , , ] [Permanent link]

On not hosting everything August 23rd, 2017, 10AM

Open content

I’ve been moving all my photos to Flickr lately. It’s been a long process, one complicated by the fact that it seems silly to run my own WordPress installation (and things like ArchivesWiki) if I’m not going to bother hosting everything myself. Of course, that’s not really very logical, and so I’ve decided that it’s […]

[No comments] [Keywords: , , , , , , , , , , ] [Permanent link]

Composer repository URLs can't use UNC paths? April 8th, 2014, 7PM

Programming

It would seem that when using Composer on Windows, one cannot use UNC paths as repository URLs. That is to say, the following doesn’t work: { “repositories”: [ { “type”: “vcs”, “url”: “//SERVER/Share/project.git” }, ] } Instead, the share must be mapped and the mapped drive letter used: “url”: “G:/project.git” This does, of course, have […]

[One comment] [Keywords: , , , , , , , , , ] [Permanent link]