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
| from docling.document_converter import DocumentConverter | |
| import os | |
| from pathlib import Path | |
| ''' | |
| This script uses the docling library to convert all the .pdf documents in the 'input' folder to .md documents in a 'output' folder | |
| ''' | |
| def process_document_folder(input_folder, output_folder): | |
| """Process all PDFs in a folder and convert them to markdown""" |
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
| #!/usr/bin/env python | |
| #4chan image downloader | |
| import urllib | |
| import re | |
| import sys | |
| import os | |
| usage = """ |
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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| #Copyleft 2013 Diego Pignattini <El3k0n> | |
| import os, sys | |
| from shutil import copyfileobj | |
| from urllib import urlopen | |
| from xml.etree import ElementTree as ET | |
| if len(sys.argv) < 2 or len(sys.argv) > 3: |
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
| <script type="text/javascript" src="https://files.coinmarketcap.com/static/widget/coinPriceBlock.js"></script><div id="coinmarketcap-widget-coin-price-block" coins="1,1027,8187,2010" currency="EUR" theme="light" transparent="false" show-symbol-logo="true"></div> |