Skip to content

Instantly share code, notes, and snippets.

@kenda
kenda / gist:3029008
Created July 1, 2012 17:19
Example Hyde blog post with Orgmode
#+BEGIN_HTML
---
---
title: Basic Emacs-keybindings for LibreOffice Writer
created: !!timestamp '2012-06-08 12:00:00'
tags:
- Emacs
- LibreOffice
image: ../../media/images/libre_emacs.png
---
@kenda
kenda / gist:2409479
Created April 17, 2012 22:27
modified index.php of candy webchat
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Candy - Chats are not dead yet</title>
<link rel="shortcut icon" href="/candy/res/img/favicon.png" type="image/gif" />
<link rel="stylesheet" type="text/css" href="/candy/res/default.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script type="text/javascript" src="/candy/libs/libs.min.js"></script>
@kenda
kenda / gist:1324351
Created October 29, 2011 11:31
Definition of beamer class for orgmode export
("beamer" "\\documentclass[xcolor=dvipsnames]{beamer}
\\usepackage[utf8]{inputenc}
\\usepackage{graphicx}
\\setbeamertemplate{navigation symbols}{}
\\usetheme{Ilmenau}
\\usecolortheme[named\=MidnightBlue]{structure}
\\beamersetuncovermixins{\\opaqueness<1>{25}}{\\opaqueness<2->{15}}
\\setbeamertemplate{footline}[frame number]"
("\\section{%s}" . "\\section{%s}")
("\\begin{frame}\\frametitle{%s}"
@kenda
kenda / gist:1309886
Created October 24, 2011 19:18
current output of nlp2rdf.MontyLingua for "My favorite actress is Natalie Portman!"
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:sso="http://nlp2rdf.lod2.eu/schema/sso/"
xmlns:string="http://nlp2rdf.lod2.eu/schema/string/"
>
<rdf:Description rdf:about="http://example.com#hash_4_8_7049dd7875989b97e8568f5c0fd1f12b_favorite">
<sso:oliaLink rdf:resource="http://purl.org/olia/penn.owl#JJ"/>
<rdf:type rdf:resource="http://purl.org/olia/olia-top.owl#SyntacticCategory"/>