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
class CardinalityView(FormView): | |
template_name = 'ratings/cardinality.html' | |
form_class = CardinalityForm | |
success_url = '/thanks/' |
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
[ 2.302448] scsi 0:0:0:0: Direct-Access ATA Crucial_CT525MX3 R031 PQ: 0 ANSI: 5 | |
[ 2.302679] ata1.00: Enabling discard_zeroes_data | |
[ 2.302701] sd 0:0:0:0: [sda] 1025610768 512-byte logical blocks: (525 GB/489 GiB) | |
[ 2.302709] sd 0:0:0:0: Attached scsi generic sg0 type 0 | |
[ 2.302725] sd 0:0:0:0: [sda] Write Protect is off | |
[ 2.302727] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 | |
[ 2.302805] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA | |
[ 2.302972] ata1.00: Enabling discard_zeroes_data | |
[ 2.306931] ata2: SATA link down (SStatus 4 SControl 300) | |
[ 2.309198] sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 |
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
$ latexindent wip.tex > indented.tex | |
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\s*\\begin{ <-- HERE document}/ at /usr/bin/latexindent line 677. | |
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\s*%\*\s*\\begin{ <-- HERE (.*?)}/ at /usr/bin/latexindent line 1047. | |
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\s*%\*\s*\\end{ <-- HERE (.*?)}/ at /usr/bin/latexindent line 1073. | |
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^%\s*\\end{ <-- HERE (.*?)}/ at /usr/bin/latexindent line 1199. | |
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^%\s*\\begin{ <-- HERE (.*?)}/ at /usr/bin/latexindent line 1220. | |
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\s*(\$)?\\begin{ <-- HERE \\?(.*?)}/ at /usr/bin/latexindent line 1621. | |
Unescaped lef |
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
~ $ ${'PATH'} | |
.................... | |
tako: To log full traceback to a file, set: $TAKO_SETTINGS.traceback_logfile = <filename> | |
Traceback (most recent call last): | |
File "/home/anddam/.local/lib/python3.5/site-packages/takoshell/base_shell.py", line 118, in push | |
locs=None) | |
File "/home/anddam/.local/lib/python3.5/site-packages/takoshell/execer.py", line 118, in compile | |
tree = self.parse(input, ctx, mode=mode, transform=transform) | |
File "/home/anddam/.local/lib/python3.5/site-packages/takoshell/execer.py", line 89, in parse | |
tree, input = self._parse_ctx_free(input, mode=mode) |
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
\documentclass{extreport} | |
\usepackage{pdfpages} | |
\makeatletter | |
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} | |
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} | |
\makeatother | |
% Scale images if necessary, so that they will not overflow the page | |
% margins by default, and it is still possible to overwrite the defaults |
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
$ # COMMAND EXECUTED | |
$ # pdflatex natbib.tex && bibtex natbib && pdflatex natbib.tex && pdflatex natbib.tex | |
$ pdflatex natbib.tex | |
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdflatex) | |
restricted \write18 enabled. | |
entering extended mode | |
(./natbib.tex | |
LaTeX2e <2016/02/01> | |
Babel <3.9q> and hyphenation patterns for 3 language(s) loaded. | |
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls |
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
pandoc \ | |
--read=markdown+simple_tables+table_captions+yaml_metadata_block+citations+link_attributes \ | |
--smart \ | |
--standalone \ | |
-V fontsize=12pt \ | |
-V papersize=a4 \ | |
-V classoption=oneside \ | |
-V documentclass=extreport \ | |
-V geometry=a4paper \ | |
-V listings \ |
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
$ xdg-open . | |
(nautilus:13822): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed | |
(nautilus:13822): GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed | |
(nautilus:13822): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed | |
(nautilus:13822): GLib-GObject-WARNING **: invalid (NULL) pointer instance |
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
def halver(value): | |
"""Iterate over an integer number halving it each time""" | |
while value > 1: | |
yield value | |
value = value // 2 | |
yield value |
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
! I can't find file `output/'. | |
<*> output/ | |
'-output-directory output' /tmp/tex2pdf.17655/input.tex | |
(Press Enter to retry, or Control-D to exit) | |
Please type another input file name | |
! Emergency stop. | |
<*> output/ | |
'-output-directory output' /tmp/tex2pdf.17655/input.tex | |
! ==> Fatal error occurred, no output PDF file produced! | |
Transcript written on /tmp/tex2pdf.17655/texput.log. |