Skip to content

Instantly share code, notes, and snippets.

@mystix
mystix / install-elasticsearch-debian
Last active March 19, 2023 15:14 — forked from karussell/install-elasticsearch-debian
Install ElasticSearch on Debian
VERSION=0.20.6
sudo apt-get update
sudo apt-get install openjdk-6-jdk
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$VERSION.deb
sudo dpkg -i elasticsearch-$VERSION.deb
# be sure you add "action.disable_delete_all_indices" : true to the config!!
@crh
crh / should-transformed-xml.html
Created April 11, 2012 15:14
SHOULD Outcome
<!DOCTYPE html><html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>eSciDoc Metadata Editor</title>
<meta content="eSciDoc Metadata Editor" name="description">
<meta content="escidoc, metadata editor" name="keywords">
<link href="/rest/static/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="/rest/static/css/override-bootstrap.css" rel="stylesheet" type="text/css">
</head>
<body>
@crh
crh / example-organization-metadata.xml
Created April 11, 2012 15:10
An example of Organization Metadata
<organizational-unit>
<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">FIZ abc</dc:title>
<dc:description xmlns:dc="http://purl.org/dc/elements/1.1/">Very good desc</dc:description>
</organizational-unit>