This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'slim' | |
Slim::Engine.set_default_options :pretty => true | |
desc "Parse .slim layouts, ignoring any YAML front matter." | |
task :parse_slim do | |
print "Parsing Slim layouts..." | |
Find.find('_layouts/slim/') do |filename| | |
if filename.match(/\.slim\Z/) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jekyll | |
require 'slim' | |
Slim::Engine.set_default_options :pretty => true | |
class SlimConverter < Converter | |
safe true | |
priority :low | |
def matches(ext) | |
ext =~ /slim/i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jekyll | |
class TagIndex < Page | |
def initialize(site, base, dir, tag) | |
@site = site | |
@base = base | |
@dir = dir | |
@name = 'index.html' | |
self.process(@name) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Generate a tree representation | |
# from SPARQL result listing ?subject and ?parent. | |
# The CSV representation is for IEDB Finder TREE tables. | |
# The JSON representation works with inspire-tree. | |
import argparse, csv, re, sys | |
from collections import defaultdict | |
from io import StringIO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t.prefs_.set('color-palette-overrides',["#002831", "#d11c24", "#738a05", "#a57706", "#2176c7", "#c61c6f", "#259286", "#eae3cb", "#001e27", "#bd3613", "#475b62", "#536870", "#708284", "#5956ba", "#819090", "#ffffff"]); | |
t.prefs_.set('foreground-color', "#333333"); | |
t.prefs_.set('background-color', "#ffffff"); | |
t.prefs_.set('cursor-color', 'rgba(83,104,112,0.2)'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ivy-module version="2.0"> | |
<info organisation="org.obi-ontology" module="build"/> | |
<dependencies> | |
<dependency org="commons-cli" name="commons-cli" rev="1.2" /> | |
<dependency org="net.sourceforge.owlapi" name="owlapi-apibinding" rev="3.4.5" /> | |
<dependency org="com.hermit-reasoner" name="org.semanticweb.hermit" rev="1.3.8.1" /> | |
<dependency org="au.com.bytecode" name="opencsv" rev="2.4" /> | |
<dependency org="org.apache.jena" name="jena-arq" rev="2.12.0" /> | |
<dependency org="org.apache.jena" name="jena-tdb" rev="1.1.0" /> | |
</dependencies> |