This file contains 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
import xml.etree.ElementTree as etree | |
data = '''<?xml version="1.0" encoding="UTF-8" ?> | |
<rdf:RDF xmlns:entsoe="http://entsoe.eu/Secretariat/2013/ProfileExtension/3" | |
xmlns:cim="http://iec.ch/TC57/2013/CIM-schema-cim16#" | |
xmlns:md="http://iec.ch/TC57/61970-552/ModelDescription/1#" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> | |
<md:FullModel rdf:about="urn:uuid:6fdb7290-de0d-11e2-8f45-b8f6b1180b6d"> | |
<md:Model.created>2013-06-26T00:00:00</md:Model.created> | |
<md:Model.DependentOn rdf:resource="urn:uuid:2399cbd2-9a39-11e0-aa80-0800200c9a66_EU"/> |
This file contains 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
// Copyright 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania | |
// State University. | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software |
This file contains 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
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y gcc openssh-client wget openmpi-bin openmpi-common libopenmpi1.3 libopenmpi-dev | |
RUN wget --no-check-certificate https://gist.githubusercontent.com/rwl/b1ae2fd3908901b367b7/raw/5218b661332b4a41c752807a2258c8fdfa856a21/testprog.c | |
RUN mpicc testprog.c | |
RUN mpirun -np 10 ./a.out |
This file contains 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
// Generated by dart2js, the Dart to JavaScript compiler version: 1.1.1. | |
(function($){function dart() {}var A=new dart | |
delete A.x | |
var B=new dart | |
delete B.x | |
var C=new dart | |
delete C.x | |
var D=new dart | |
delete D.x | |
var E=new dart |
This file contains 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
__author__ = 'Richard Lincoln, r.w.lincoln@gmail.com' | |
import sys | |
from optparse import OptionParser | |
from xml.etree.ElementTree import \ | |
parse, Element, SubElement, ElementTree, register_namespace | |