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
# Alternative shell for Oracle database. | |
# Alpha version, do not use for production purposes. | |
# | |
# Author: 2016 Dmitry Shachnev <[email protected]> | |
import readline | |
import shutil | |
import sys | |
import cx_Oracle |
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
#include <QtGui/QFont> | |
#include <QtWidgets/QApplication> | |
#include <QtWidgets/QTextEdit> | |
int main(int argc, char **argv) { | |
QApplication app(argc, argv); | |
QTextEdit edit; | |
edit.resize(640, 480); | |
edit.setHtml( |
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
====================================================================== | |
FAIL: test_build_html.test_html_output(<etree13.ElementTree.ElementTree object at 0x7f3e05b20110>, 'includes.html', ".//pre/span[@class='s2']", u'\xfc\xf6\xe4') | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/dmitry/python-modules/sphinx/tests/test_build_html.py", line 340, in check_xpath | |
'%r in file %s' % (path, fname)) | |
AssertionError: did not find any node matching xpath ".//pre/span[@class='s2']" in file includes.html |
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
#ifndef ONTXX_OBJECT_HPP | |
#define ONTXX_OBJECT_HPP | |
#include <cstdint> | |
#include <string> | |
#include <vector> | |
/** Base objects of the Meta-Ontology [MO]. | |
* | |
* Root Object |
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
# Get statistical information about PDFs | |
# Author: 2015 Dmitry Shachnev <[email protected]> | |
# Required packages (in Debian/Ubuntu): | |
# - gir1.2-poppler-0.18 | |
# - python3-gi or python-gi | |
import gi | |
gi.require_version('Poppler', '0.18') |
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
#!/usr/bin/env python3 | |
# Implementation of XSettings specification in Python 3 | |
# <http://standards.freedesktop.org/xsettings-spec/xsettings-spec-0.5.html> | |
# | |
# Copyright (C) 2015 Dmitry Shachnev <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or |
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
mkdir -p _build/latex _build/doctrees | |
PYTHONPATH=..: sphinx-build -b latex -d _build/doctrees-latex -D latex_paper_size= src _build/latex | |
Running Sphinx v1.3.1 | |
loading pickled environment... not yet created | |
building [mo]: targets for 0 po files that are out of date | |
building [latex]: all documents | |
updating environment: 172 added, 0 changed, 0 removed | |
reading sources... [ 0%] aboutus | |
reading sources... [ 1%] gotchas | |
reading sources... [ 1%] guide |
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
============================= test session starts ============================== | |
platform linux2 -- Python 2.7.10 -- py-1.4.27 -- pytest-2.7.0 | |
rootdir: /tmp/buildd/sphinxcontrib-programoutput-0.8, inifile: | |
collected 51 items | |
tests/test_cache.py .....E | |
tests/test_command.py ............ | |
tests/test_directive.py EEEEEEEEEEEEEEEEEEEEEE.. | |
tests/test_setup.py E | |
tests/test_util.py .... |
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
Checking dependencies... | |
Temporary files will be placed in /home/dmitry/python-modules/sphinx/Sphinx-1.3/tests/build. | |
Running Sphinx test suite (with Python 2.7.9)... | |
test_api_translator.test_html_translator ... ok | |
test_api_translator.test_html_with_html_translator_class ... ok | |
test_api_translator.test_html_with_set_translator_for_html_ ... ok | |
test_api_translator.test_html_with_set_translator_for_html_and_html_translator_class ... ok | |
test_api_translator.test_html_with_set_translator_for_latex ... ok | |
test_api_translator.test_html_with_set_translator_for_man ... ok | |
test_api_translator.test_html_with_set_translator_for_pseudoxml ... ok |
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
#include <cmath> | |
#include <cstdio> | |
#include <cstdlib> | |
#include <cstring> | |
#include "struct.h" | |
void DiagonalMatrix::solve(double *rightCol) { | |
unsigned s; | |
for (s = 0; s < size - 1; ++s) { | |
topDiag[s] /= midDiag[s]; |
NewerOlder