Skip to content

Instantly share code, notes, and snippets.

View lauhub's full-sized avatar

lauhub

View GitHub Profile
@lauhub
lauhub / Font_statistics_from_PDF_document.md
Last active June 8, 2021 22:19
Generate statistics about font size of text from PDF document

README

Use this script to extract statistics from a PDF file.

My goal was to check if font size 12 was mainly used inside some documents.

Dependency:

@lauhub
lauhub / timemachine-install.sh
Created May 1, 2020 18:14 — forked from elomagic/timemachine-install.sh
Script for installing a Time Machine server
#!/bin/bash
#title : timemachine-install.sh
#description : Script for installing a Time Machine server.
#more : http://www.elomagic.de
#author : Carsten Rambow
#date : 2016-12-02
#usage : /bin/bash timemachine-install.sh
#tested-distros : Ubuntu Server 16.10, Raspbian (Based on Debian)
TIMEMACHINE_USER="timemachine"
./mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar
./net/minidev/json-smart/2.2/json-smart-2.2.jar
./net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar
./com/h2database/h2/1.4.191/h2-1.4.191.jar
./com/jayway/jsonpath/json-path/2.1.0/json-path-2.1.0.jar
./org/xerial/sqlite-jdbc/3.16.1/sqlite-jdbc-3.16.1.jar
./org/postgresql/postgresql/9.4.1212/postgresql-9.4.1212.jar
./org/mariadb/jdbc/mariadb-java-client/1.3.5/mariadb-java-client-1.3.5.jar
./org/hsqldb/hsqldb/2.3.3/hsqldb-2.3.3.jar
./org/apache/derby/derbyclient/10.12.1.1/derbyclient-10.12.1.1.jar
@lauhub
lauhub / msoffice_ooffice_pdf_diffs_with_git.md
Created March 20, 2017 22:33 — forked from mbrehin/msoffice_ooffice_pdf_diffs_with_git.md
Microsoft Office, Open Office, PDF diffs with Git

Sometimes when working with Git you'd like to commit binary files.
But those files won't have clean comparisons with Git standard diff command.
Fortunately Git is a great tool that comes with a lot of possibilities…

MS Office

If, as a developer, you are under company constraints and must use MS Office,
you'll encounter some issues when trying to diff MS Office files.

Maybe you're asking yourself: what's the problem with that?

2014-10-14 10:29:28 +0200
make
prefix=/usr/local/Cellar/meld/1.8.6
install
python tools/install_paths \
libdir=/usr/local/Cellar/meld/1.8.6/lib/meld \
localedir=/usr/local/Cellar/meld/1.8.6/share/locale \
helpdir=/usr/local/Cellar/meld/1.8.6/share/gnome/help/meld \
@lauhub
lauhub / a10lime-defconfig
Created September 4, 2014 22:13
a10lime_defconfig example
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.4.67 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
# CONFIG_ARCH_USES_GETTIMEOFFSET is not set
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_KTIME_SCALAR=y