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
(defun vulpea-project-p () | |
"Return non-nil if current buffer has any todo entry. | |
TODO entries marked as done are ignored, meaning the this | |
function returns nil if current buffer contains only completed | |
tasks." | |
(seq-find ; (3) | |
(lambda (type) | |
(eq type 'todo)) | |
(org-element-map ; (2) |
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
version: '3' | |
services: | |
neo4j: | |
image: neo4j:3.5 | |
container_name: neo4j | |
ports: | |
- 7474:7474 | |
- 7687:7687 | |
environment: |
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
from glob2 import glob | |
from bs4 import BeautifulSoup | |
from os.path import basename | |
import codecs, os | |
target = 'www.thelatinlibrary.com' | |
os.system('wget -r -l 4 {0}'.format(target)) | |
os.system('cd {0} && mkdir plaintext && find . -name "*.html" -size -3k -delete'.format(target)) | |
for i in glob('*.html') + glob('*/**.html') + glob('*.shtml') + glob('**/*.shtml'): |
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[a4paper,12pt]{article} | |
\usepackage{fullpage} | |
\usepackage[latin1]{inputenc} | |
\usepackage{graphicx} | |
\usepackage{xspace} | |
% PDF stuff | |
\ifx\pdfoutput\undefined | |
\else | |
\pdfpagewidth=210mm |