Mercurial > hg > cc > cirrus_home
changeset 127:3bc1d24363a1
bits and pieces
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Tue, 29 Jun 2021 08:00:40 +0000 |
parents | 53006db54871 |
children | ababa631a10f |
files | .hgignore .lesshst .tmux.conf .wget-hsts 00README bin/plinks.py |
diffstat | 6 files changed, 128 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Tue Jun 29 07:53:47 2021 +0000 +++ b/.hgignore Tue Jun 29 08:00:40 2021 +0000 @@ -70,3 +70,9 @@ nohup.out p3working.tar.gz .Xauthority +data +.ant +.local +.spack +atest +bin/__pycache__
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.lesshst Tue Jun 29 08:00:40 2021 +0000 @@ -0,0 +1,103 @@ +.less-history-file: +.search +"buffer +"^> +"get_ref +"json +"xml +"backends.py +"extractor +"config +"user +"rb +"avail +"krb +"ker +"Ker +"rb +"gssapi +"GSSAPI +"provider +"gssapi +"GSSPAI +"GSSAPI +"kerb +"Kerb +"KERB +"458_5730 +"resolve +"plumpton +"to-command +"650 +"650 +"plumpton +"995 650 +"995 65 +"fno +"plumpton +"news +"\\\\ +" +"_176 +"17:44 +"Feb +"Redo +"\(S\) +"permission +"rwx +"x +"S +"\bS\b +"setuid +"com, +"application/pdf +""application.pdf" +""application.pdf".*\.20 +"length": +"104800 +"application/pdf.*languages +"post +"x +"hao +"-S +"robots +"ac,e +"uk,ac,ed,i +"acc,ed,inf +",ac,ed,inf +"output +"process +"output +"--to-command +"--check +"stdin +"pipe +"input +"argv +"arg +"shift +"$# +"\$# +"shift +"quiet +"output +"--no-warn +"--no- +"warning +"no-warn +"warn +"sql +"db +"-k +"user +"man: +"robotstxt +"diagnostic +""status" +"Last-Modified +"Modified +"> +"dc007 +""length": "0" +.search +""offset": "0"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.tmux.conf Tue Jun 29 08:00:40 2021 +0000 @@ -0,0 +1,5 @@ +# scroll-bar? see https://superuser.com/questions/310251/use-terminal-scrollbar-with-tmux +set -ga terminal-overrides ',xterm*:smcup@:rmcup@' + +# mousewheel scrolling +set -g mouse on
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.wget-hsts Tue Jun 29 08:00:40 2021 +0000 @@ -0,0 +1,4 @@ +# HSTS 1.0 Known Hosts database for GNU Wget. +# Edit at your own risk. +# <hostname> <port> <incl. subdomains> <created> <max-age> +qa-reports.gentoo.org 0 0 1619019555 300
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/00README Tue Jun 29 08:00:40 2021 +0000 @@ -0,0 +1,5 @@ +gentoo/startprefix +Use emerge, e.g. +USE="xft mult gdbm berkdb debug alsa athena xim png xpm jpeg X" emerge --ask =app-editors/xemacs-21.5.34-r5 +emerge --ask =app-misc/tmux +in order to install new packages
--- a/bin/plinks.py Tue Jun 29 07:53:47 2021 +0000 +++ b/bin/plinks.py Tue Jun 29 08:00:40 2021 +0000 @@ -1,12 +1,14 @@ -#!/lustre/sw/miniconda3/bin/python3 +#!/usr/bin/env python3 import sys,pdfx,traceback,os from datetime import datetime from os import path def run(file): global pdf - pdf=pdfx.PDFx(file,limit=60) - return (pdf.get_references_as_dict(),pdf.limited) + pdf=pdfx.PDFx(file#,limit=60 + ) + return (pdf.get_references_as_dict(),False#pdf.limited + ) tarnum=sys.argv[1] print(tarnum, sys.argv, os.getcwd(),file=sys.stderr)