Skip to content

Instantly share code, notes, and snippets.

View eerohele's full-sized avatar
🐺

Eero Helenius eerohele

🐺
View GitHub Profile
@eerohele
eerohele / ditabase.dita
Created February 4, 2014 06:31
dita-ot/dita-ot #1089
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE dita PUBLIC "-//OASIS//DTD DITA 1.2 Composite//EN" "ditabase.dtd">
<dita>
<topic id="ditabase" xml:lang="en-us">
<title>DITA</title>
<body>
<fig>
@eerohele
eerohele / descendant.xml
Last active August 29, 2015 13:55
dita-ot/dita-ot #1086
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="descendant" xml:lang="en-us">
<title>Descendant</title>
<body>
<p>Hello, world!</p>
</body>
</topic>
@eerohele
eerohele / buttonDataSetup.ini
Last active April 2, 2018 16:07
Button data setup file for FIFA 13
AddController "Controller_025"
AddAlias "AUTO PAD"
AddAlias "Dual Trigger 3-in-1"
AddAlias "Dual Trigger 3-in-1 Rumble Force"
AddAlias "FireStorm Wireless Gamepad"
AddAlias "Firestorm Wireless Gamepad"
AddAlias "Logitech Cordless RumblePad 2"
AddAlias "Logitech Cordless RumblePad 2 USB"
AddAlias "Logitech Dual Action"
AddAlias "Logitech Dual Action (USB)"
@eerohele
eerohele / Eclipse.md
Last active December 31, 2015 17:49
Pre-indexing Eclipse Help documentation

Pre-indexing Eclipse Help documentation

Foreword

After hours of Googling and banging my head against a wall, I finally managed to pre-index an Eclipse Help documentation plugin using just Ant and a minimal Eclipse distribution.

A heads up: the information here is somewhat skewed towards DITA-OT users, but I'm sure it's mostly useful even if you don't use DITA-OT.

Prerequisites

@eerohele
eerohele / index.html
Last active December 24, 2015 06:59
FancyTree.setActive() bug
<!DOCTYPE html>
<html>
<head>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css" />
<link href="https://rawgithub.com/mar10/fancytree/master/src/skin-lion/ui.fancytree.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script src="http://rawgithub.com/mar10/fancytree/master/src/jquery.fancytree.js"></script>
<script src="init.js"></script>
<meta charset=utf-8 />
@eerohele
eerohele / 1462.ditamap
Created September 5, 2013 09:50
dita-ot/dita-ot #1462
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map title="1462" id="id1462">
<topicref href="table.dita" type="concept"/>
</map>
@eerohele
eerohele / concept.dita
Last active December 22, 2015 07:18
dita-ot/dita-ot #1407
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="concept">
<title>A concept</title>
<conbody>
<imagemap>
<image align="left" height="167px" href="images/chrysanthemum.jpg" placement="break" width="250px"/>
<area>
@eerohele
eerohele / ag.markdown
Last active December 22, 2015 00:49
Compile the Silver Searcher from source into $HOME/.local
  1. Install PCRE.

  2. Set the LD_LIBRARY_PATH variable:

     export LD_LIBRARY_PATH=$HOME/.local/lib
    
  3. Edit the_silver_searcher/build.sh and change the line with ./configure to this:

     ./configure --prefix=$HOME/.local $@ && \
    
  4. Run build.sh:

@eerohele
eerohele / cals.dita
Created August 28, 2013 16:52
Prevent PDF table rows from inheriting @rowsep from previous row #1486
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "../../dtd/technicalContent/dtd/concept.dtd">
<concept id="cals" xml:lang="en-us">
<title>CALS</title>
<conbody>
<table rowsep="0">
<tgroup cols="2" rowsep="0">
<tbody>
@eerohele
eerohele / saxon.sh
Last active December 16, 2015 09:18
Saxon
#!/bin/bash
if [ -z "$RESOLVER_HOME" ]; then
echo "ERR: \$RESOLVER_HOME not set."
echo "Set \$RESOLVER_HOME to point to Apache XML Commons Resolver JAR file."
echo "See http://xerces.apache.org/"
exit 1
fi
if [ -z "$SAXON_HOME" ]; then