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
** unknown exception encountered, please report by visiting | |
** https://mercurial-scm.org/wiki/BugTracker | |
** Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] | |
** Mercurial Distributed SCM (version 6.1.1) | |
** Extensions loaded: churn, convert, extdiff, graphlog, hgext3rd.evolve 10.5.1, hgext3rd.topic 0.24.1.dev, hgk, histedit, journal, keyword, mq, narrow, pager, patchbomb, purge, rebase, record, schemes, share, show, strip | |
Traceback (most recent call last): | |
File "/usr/bin/hg", line 61, in <module> | |
dispatch.run() | |
File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 144, in run | |
status = dispatch(req) |
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
** unknown exception encountered, please report by visiting | |
** https://mercurial-scm.org/wiki/BugTracker | |
** Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] | |
** Mercurial Distributed SCM (version 6.1.1) | |
** Extensions loaded: churn, convert, extdiff, graphlog, hgext3rd.evolve 10.5.1, hgext3rd.topic 0.24.1.dev, hgk, histedit, journal, keyword, mq, narrow, pager, patchbomb, purge, rebase, record, schemes, share, show, strip | |
Traceback (most recent call last): | |
File "/usr/bin/hg", line 61, in <module> | |
dispatch.run() | |
File "/usr/lib/python3/dist-packages/mercurial/dispatch.py", line 144, in run | |
status = dispatch(req) |
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[ | |
12pt, | |
sections, | |
headheight=30pt, | |
headinclude, | |
firstfoot=false, | |
enlargefirstpage=true, | |
foldmarks=false, | |
backaddress=false, | |
subject=titled, |
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[12pt,sections,headheight=30pt,headinclude,firsthead=false,firstfoot=false,foldmarks=false,foldmarks=blmtP,fromalign=center,fromphone,fromemail,version=last, backaddress=false, subject=titled, twoside, cleardoublepage=current, pagenumber=headright, topright]{scrlttr2} | |
\renewcommand\pagemark{{\usekomafont{pagenumber}This is page number \thepage\ }} | |
\usepackage{lipsum} | |
\usepackage{lastpage} | |
\RequirePackage[T1]{fontenc} | |
\usepackage{scrlayer-scrpage} | |
%\ohead*{\jobname.tex\hspace{0.5cm}\today} | |
\renewcommand*{\pagestyle}{scrheadings} | |
%\renewcommand*{\letterpagestyle}{empty} | |
\begin{document} |
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[12pt,sections,headheight=30pt,headinclude,firsthead=false,firstfoot=false,foldmarks=false,foldmarks=blmtP,fromalign=center,fromphone,fromemail,version=last, backaddress=false, subject=titled, twoside=semi, cleardoublepage=current, pagenumber=headright, topright]{scrlttr2} | |
\renewcommand\pagemark{{\usekomafont{pagenumber}This is page number \thepage\ }} | |
\usepackage{scrlayer-scrpage} | |
\ohead*{\jobname.tex\hspace{0.5cm}\today} | |
\renewcommand*{\letterpagestyle}{scrheadings} | |
\usepackage{lipsum} | |
\usepackage{lastpage} | |
\RequirePackage[T1]{fontenc} | |
\begin{document} | |
\def\today{19th February, 2022} |
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
# see "man logrotate" for details | |
# global options do not affect preceding include directives | |
# rotate log files weekly | |
weekly | |
# keep 4 weeks worth of backlogs | |
rotate 4 |
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
Title: Attempting to use interact produces TypeError: write() argument must be str, not bytes | |
The following Python script using `pexpect` connects to the POP3 | |
server `pop3.mailbox.org`. It does not download any email. It will | |
most likely work on any server. | |
```python3 | |
#!/usr/bin/python3 |
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
/. | |
/bin | |
/bin/dmesg | |
/bin/findmnt | |
/bin/lsblk | |
/bin/more | |
/bin/mountpoint | |
/bin/su | |
/bin/wdctl | |
/etc |
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
diff --git a/debian/control b/debian/control | |
--- a/debian/control | |
+++ b/debian/control | |
@@ -8,11 +8,10 @@ Uploaders: | |
Standards-Version: 4.3.0 | |
Build-Depends: | |
mercurial (>= 4.7), | |
- python, | |
python3, | |
debhelper (>= 10), |
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
/* | |
Example from | |
https://chat.stackexchange.com/transcript/message/59383566#59383566 | |
You may use tput. Examples: tput >/dev/null (status == 2, usage | |
error), TERM=foo tput >/dev/null (status == 3, no information for | |
the terminal type), tput foo >/dev/null (status == 4, unknown | |
capability). It can also return 1, which POSIX says is | |
"unspecified" and historically used to tell the terminal doesn't | |
have the specified capability (e.g. TERM=vt100 tput setaf |