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
| # | |
| # NetHack 3.6 linux $NHDT-Date: 1432512814 2015/05/25 00:13:34 $ $NHDT-Branch: master $:$NHDT-Revision: 1.12 $ | |
| # Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007. | |
| # NetHack may be freely redistributed. See license for details. | |
| # | |
| #-PRE | |
| # Linux hints file | |
| # This hints file provides a single-user tty build for Linux, specifically | |
| # for Ubuntu dapper. |
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
| ;; hide pesky warnings (the lazy way of supressing the pop-up debugger on init ) | |
| ;; (setq warning-minimum-level :emergency) | |
| ;; the palette... | |
| (deftheme wizard-flat "A flat, dark theme that plays nice with ample.") | |
| (let ((wizard/green "#a9df90") |
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
| /* | |
| * /MathJax.js | |
| * | |
| * Copyright (c) 2009-2014 The MathJax Consortium | |
| * | |
| * 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 |
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
| from lxml import etree | |
| InXML = open('file.xml', 'r'); | |
| DefFile = open('def.dtd', 'r'); | |
| PostParse = etree.XML(InXML.read()) | |
| dtd = etree.DTD(DefFile) | |
| print(dtd.validate(PostParse)) |
NewerOlder