Skip to content

Instantly share code, notes, and snippets.

View AstroMike's full-sized avatar

Mike Hudson AstroMike

View GitHub Profile
@FedericoTartarini
FedericoTartarini / embed_video.tex
Created September 19, 2021 02:29
Embed a video into LaTeX wihout using Flash
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \embedvideo{<poster or text>}{<video file (MP4+H264)>}
% \embedvideo*{...}{...} % auto-play
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[bigfiles]{pdfbase}
\ExplSyntaxOn
\NewDocumentCommand\embedvideo{smm}{
\group_begin:
\leavevmode
@JMalysiak
JMalysiak / facetags.py
Last active March 8, 2024 09:12
Import Picasa face tags into Digikam database
# This is a script to import face tags from Picasa into Digikam's SQLite database.
# First you need to export Picasa database into XML using this tool:
# https://sourceforge.net/projects/exportpicasa/
# Later you need to adjust this script to fit your needs and then just run it.
import xml.etree.ElementTree as ET
import sqlite3
# Adjust the values below:
XML_FILE_PATH = '/path/to/file.xml'
@jpriebe
jpriebe / picasa_tags_to_exif.py
Created December 11, 2016 18:00
Move Picasa 3 tags into EXIF data for an entire library of photos
#!/usr/bin/python
from picasa3meta import pmpinfo
from picasa3meta import thumbindex
import fnmatch
import os
import sys
# python picasa_tags_to_exif.py db_dir root_dir search replace
@fbuchinger
fbuchinger / .picasa.ini
Created July 9, 2011 18:26
.picasa.ini decoded
#==============================================================
# .picasa.ini FILE STRUCTURE
#
# reverse-engineered by Franz Buchinger <fbuchinger@gmail.com>
# licensed to the public domain
#
# Picasa Version(s): 3.8.0
#
# Changelog:
# v0.1: initial release