Skip to content

Instantly share code, notes, and snippets.

\documentclass[12pt]{scrartcl}
\usepackage{letltxmacro}
%\usepackage{quoting}
%\usepackage{tikz}
\usepackage[most]{tcolorbox}
\begin{document}
% Create new version of boxed quoting environment called
% 'bquoting'. Leave the original modified version of 'quoting' for
% backwards compatibility purposes. First, make a copy of the quoting
top - 17:14:05 up 1:27, 18 users, load average: 0.19, 0.40, 0.54
Tasks: 398 total, 1 running, 396 sleeping, 0 stopped, 1 zombie
%Cpu(s): 2.9 us, 4.8 sy, 0.0 ni, 91.3 id, 0.0 wa, 0.0 hi, 1.0 si, 0.0 st
MiB Mem : 15941.0 total, 2340.1 free, 6277.3 used, 7323.7 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 8894.3 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14939 faheem 20 0 3758856 599044 212572 S 0.0 3.7 2:15.76 chromium
7662 faheem 20 0 3072612 505784 159672 S 0.0 3.1 6:23.77 Web Content
5874 faheem 20 0 3298304 341292 150520 S 0.0 2.1 6:35.68 firefox-esr
@fmitha
fmitha / lt3.tex
Last active August 1, 2021 10:00
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Execute with `pdflatex lt3.tex`
% Please check whether the following LaTeX warning appears with the
% most recent version of Pandas, currently 1.3.0. This appears to be a
% bug in the Python library Pandas.
% LaTeX Warning: Label `table' multiply defined.
% [...]
\documentclass{scrartcl}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{xparse}
%From https://tex.stackexchange.com/a/457124/3406
\ExplSyntaxOn
\NewDocumentCommand{\makerows}{m}
{
\int_step_function:nN { #1 } \__foo:n
The following recipe shows an error with the LuaSQL library for
SQLite3.
Tested with Debian 10.10 (buster), SQLite3 3.35.5, LuaSQL 2.6.0.
Note that the second row of the table Cursor doesn't print, and there
is a "there are open cursors" error message.
Is this a bug, or am I missing something? I don't think it's necessary
This file has been truncated, but you can view the full file.
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package scipy
dpkg-buildpackage: info: source version 1.6.0-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Drew Parsons <[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --with python3 --buildsystem=pybuild
\documentclass{article}
\usepackage{caption}
\usepackage{longtable}
\usepackage{booktabs}
\begin{document}
\captionof{table}{First table}\label{first}
\begin{longtable}{cc}
x&y\\
\end{longtable}
\documentclass{article}
\usepackage{caption}
\usepackage{longtable}
\usepackage{booktabs}
\begin{document}
%\begingroup
\begin{table}
\captionof{table}{First table}\label{first}
\begin{longtable}{cc}
x&y\\
# https://stackoverflow.com/q/20510301/350713
#!/usr/bin/expect -f
exp_internal 1
set backupdir "/mnt/db-backups/"
set now [clock seconds]
set date [clock format $now -format {%Y-%m-%d}]
set filename $date
append filename "_dbbackups.sql"
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-16-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Elements / My Passport (USB, AF)
Device Model: WDC WD10JMVW-11AJGS2
Serial Number: WD-WX51AC3W9747
LU WWN Device Id: 5 0014ee 60445ba31
Firmware Version: 01.01A01
User Capacity: 1,000,171,332,096 bytes [1.00 TB]