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
import fitz # PyMuPDF | |
import asyncio | |
from googletrans import Translator | |
from tqdm.asyncio import tqdm # For async progress reporting | |
__author__ = "[email protected], 2025" | |
def normalize_color(color_int): | |
""" |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
TEXT;URL;LAT;LON | |
Stopper første dagen;http://nrksuper.no/tag/oppdragnansnen;89.11;60.0 | |
Stopper andre dagen;http://nrksuper.no/tag/oppdragnansnen;89.23;60.0 | |
Stopper tredje dagen;http://nrksuper.no/tag/oppdragnansnen;89.39;60.0 |
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
#!/bin/bash | |
# krymper en bildefil til noe som går an å sende i epost | |
# knytt dette til .jpg-filer i systemet ditt. | |
# 2010 [email protected] | |
TARGET=/tmp/bildekrymp | |
LOG=/tmp/bildekrymper.log; | |
DIMLIST="TRUE 1600x1200 FALSE 1280x960 FALSE 1024x960" |
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
# -*- encoding: utf8 -*- | |
# | |
# Simple WebSockets in Python | |
# By Håvard Gulldahl <[email protected]> | |
# | |
# Based on example by David Arthur (he did all the hard work :) | |
# https://gist.github.com/512987 | |
# | |
import struct |