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 <iostream> | |
#include <cassert> | |
#include <gumbo.h> | |
int main() | |
{ | |
// Result is the same if there is no doctype, or if some of the nodes are missing | |
const char *data = "<!DOCTYPE html>\n<html>\n<head>\n</head>\n<body>\n</body>\n</html>"; | |
GumboOutput *output = gumbo_parse(data); |
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
2018-03-22 22:08:08,317 INFO Writing log to file "/home/user/.rednotebook/rednotebook.log" | |
2018-03-22 22:08:08,318 INFO System encoding: utf-8 | |
2018-03-22 22:08:08,318 INFO Language code: ru_RU | |
2018-03-22 22:08:08,509 INFO Running in portable mode: False | |
2018-03-22 22:08:08,509 INFO First Start: False | |
2018-03-22 22:08:08,510 INFO RedNotebook version: 2.4 | |
2018-03-22 22:08:08,515 INFO System info: machine: x86_64, platform: Linux-4.13.0-37-generic-x86_64-with-Ubuntu-16.04-xenial, processor: x86_64, python_version: 3.5.2, release: 4.13.0-37-generic, system: Linux, GTK: (3, 18, 9), Glib: (2, 47, 3), PyGObject: (3, 20, 0), YAML: 3.11 | |
2018-03-22 22:08:08,935 DEBUG Default font: Ubuntu 11 | |
2018-03-22 22:08:08,936 DEBUG Default size: 11.0 | |
2018-03-22 22:08:09,606 INFO Cloud ignore list: ['#tags', 'and', 'comma', 'filter', 'separated', 'these', 'words'] |
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
\usepackage[linesnumbered,boxed]{algorithm2e} | |
........ | |
........ | |
........ | |
\begin{algorithm}[H] | |
\SetAlgoLined %% Это соединяет линиями логические части | |
%% алгоритма типа if-then-else | |
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
% Меняем везде перечисления на цифра.цифра | |
\renewcommand{\theenumi}{\arabic{enumi}.} | |
\renewcommand{\labelenumi}{\arabic{enumi}.} | |
\renewcommand{\theenumii}{\arabic{enumii}.} | |
\renewcommand{\labelenumii}{\arabic{enumi}.\arabic{enumii}.} | |
\renewcommand{\theenumiii}{\arabic{enumiii}} | |
\renewcommand{\labelenumiii}{\arabic{enumi}.\arabic{enumii}.\arabic{enumiii}.} |
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
\usepackage{python} | |
%Добавляет на каждую страницу hash текущего git-коммита | |
\begin{python} | |
#! /usr/bin/python | |
import os, string | |
cmd = 'git rev-parse --verify HEAD' | |
fpipe = os.popen(cmd) | |
piperesult = fpipe.read() | |
fpipe.close() |
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
\documentclass{article} | |
\usepackage{fontspec} | |
\setmainfont{Linux Libertine} | |
\begin{document} | |
Hello! | |
\end{document} |
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
This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016/TeX Live for opensuse.org) (preloaded format=xelatex 2016.6.23) 29 JUN 2016 02:54 | |
entering extended mode | |
\write18 enabled. | |
%&-line parsing enabled. | |
**document.tex | |
(./document.tex | |
LaTeX2e <2016/03/31> | |
Babel <3.9r> and hyphenation patterns for 59 language(s) loaded. | |
(/usr/share/texmf/tex/latex/base/article.cls | |
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class |
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
\documentclass{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[T2A]{fontenc} | |
\usepackage[english,main=russian]{babel} | |
\usepackage{minted} | |
\begin{document} | |
\newminted{cpp}{ |