Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
"""
bfind.py - Search for references matching given text
in BibTeX files and on BibSonomy.
Author: Uldis Bojars
http://captsolo.net
"""
$ curl -v http://www.no673domain.com
* About to connect() to www.no673domain.com port 80 (#0)
* Trying 67.63.50.50... connected
* Connected to www.no673domain.com (67.63.50.50) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.19.6
> Host: www.no673domain.com
> Accept: */*
#!/usr/bin/env python
"""
get-sioc-apps-list.py
Extracts a list of SIOC applications and their creation dates,
based on data at: http://wiki.sioc-project.org/index.php/ApplicationTimeline
Print a TAB-delimited list of the number of applications created every month.
\documentclass{article}
% compile this file using:
% pdflatex --shell-escape py-latex.tex
\usepackage{python}
\usepackage{url}
\begin{document}
#!/usr/bin/env python
"""
Modified by Uldis Bojars:
- changed to only print the list of figures referenced in LaTeX files
ToDo:
- work around the limitation of only 2 levels of includes
- fix the problem that it does not work if start_file is not in the current
<rdf:RDF xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:dcterms="http://correct.url.here/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<sioc:Community rdf:about="http://url-of.the.community">
<dcterms:hasPart>
<sioc:Item rdf:about="http://southampton.rkbexplorer.com/id/eprints-12614"/>
</dcterms:hasPart>
</sioc:Community> </rdf:RDF>