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
\version "2.18.0" | |
%#(ly:set-option (quote no-point-and-click)) | |
#(ly:set-option 'midi-extension "mid") % default is "midi" | |
\header{ | |
title = "" | |
poet = "" | |
composer = "" | |
instrument = "" | |
source = "" |
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
%{ | |
LilyPond-Musterdokument für ein Liederblatt | |
diverse Anpassungen sind auskommentiert | |
%} | |
\version "2.12.0" | |
#(ly:set-option (quote no-point-and-click)) | |
%#(set-global-staff-size 18) | |
\header{ |
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
# -*- coding: utf-8 -*- | |
""" | |
Extension for FeinCMS Page | |
""" | |
from django.conf import settings | |
from django.db import models | |
from django.contrib.sites.models import Site | |
from django.contrib.sites.managers import CurrentSiteManager | |
from django.utils.translation import ugettext_lazy as _ | |
from feincms.module.page.models import Page, PageManager |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Replace common (G)OCR errors (in German) | |
Usage: python ocerrors.py inputfile [outputfile] | |
""" | |
import locale | |
import os, sys |
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/env python | |
# -*- coding: utf-8 -*- | |
""" | |
:Author: Henning Hraban Ramm | |
:Organization: fiëé virtuëlle, www.fiee.net | |
:Contact: mailto:hraban@fiee.net | |
:Version: 0.3.6 | |
:Date: 2006-01-24 | |
:Status: beta | |
:License: same as Python |
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
# -*- coding: utf-8 -*- | |
import datetime | |
from django.contrib import admin | |
from django.contrib.sites.models import Site | |
class BaseAdmin(admin.ModelAdmin): | |
def save_model(self, request, obj, form, change): | |
if not change: | |
obj.createdby = request.user | |
obj.createdon = datetime.datetime.now() |
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
% see the docs for Gerd Neugebauer’s cwpuzzle.sty at http://ctan.org/tex-archive/macros/latex/contrib/gene/crossword | |
\documentclass[a4paper]{article} | |
\usepackage{cwpuzzle} | |
\usepackage[utf8]{inputenc} | |
\usepackage{german} | |
\begin{document} | |
\PuzzleUnsolved |
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 | |
# ~/croptest is our work dir, ~/croptest/img contains test images | |
cd ~/croptest | |
EXT="_resized" | |
SIZES="88x88 88x50 300x172 300x233 300x111" | |
# delete all remains of previous runs and copy test pics over | |
rm *.jpg | |
cp img/*.jpg ./ |
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
# for ANSI color codes see e.g. http://bitmote.com/index.php?post/2012/11/19/Using-ANSI-Color-Codes-to-Colorize-Your-Bash-Prompt-on-Linux | |
parse_exit_code() { | |
# check exit code and display a green checkmark on "0" or a red cross with exit code on error | |
if [ "$?" == "0" ]; then | |
echo -e "\033[32m✓\033[00m" | |
else | |
echo -e "\033[1;31m❌ $?\033[00m" | |
fi | |
} |
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
%\version "2.18.0" | |
\include "../global.ly" | |
\include "articulate.ly" % for better MIDI | |
\header{ | |
title = "" | |
poet = "" | |
%composer = "M: " | |
%arranger = "arr." | |
%instrument = "2 voc + git" |
OlderNewer