Skip to content

Instantly share code, notes, and snippets.

View eserte's full-sized avatar

Slaven Rezić eserte

  • N 52.507377 E 13.460589
View GitHub Profile

i18n for Perl/Tk -*- mode: org; coding: utf-8; -*-

brainstorming

  • create a generic Tk::I18N module usable by all Tk widgets?
  • share localizations between widgets?
    • if translations are shared, then maybe there needs to be some overriding mechanism
  • which Tk widgets have localizable texts? found by Christoph:
    • Tk::ErrorDialog
    • Tk::ColorEditor
to come...
@eserte
eserte / tab.txt
Created September 19, 2013 19:43
Physical tab test. The following two lines should look the same.
Hello
Hello
@eserte
eserte / fail.IO-Socket-SSL-1.963.amd64-freebsd.9.2-release.1389743681.57681.rpt
Last active January 3, 2016 07:49
failures because of Acme-Override-INET (?)
From: srezic@cpan.org
X-Test-Reporter-Distfile: SULLR/IO-Socket-SSL-1.963.tar.gz
X-Test-Reporter-Perl: v5.18.2
Subject: FAIL IO-Socket-SSL-1.963 amd64-freebsd 9.2-release
Report: This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
@eserte
eserte / crossings.pl
Created January 25, 2014 12:03
Create list of crossing from a streets bbbike file
use strict;
use Strassen::Core;
use JSON::XS;
my $s = Strassen->new("data_berlin_osm/strassen");
#my $s = Strassen->new("data/strassen");
my $cr = $s->all_crossings;
print JSON::XS->new->pretty->encode($cr);
@eserte
eserte / org-sort-termine.el
Created March 15, 2014 20:57
org-sort-termine
(defun org-sort-termine ()
(interactive)
(goto-char (point-min))
(search-forward-regexp "^\* Termine$")
(save-excursion
(if (search-forward-regexp "^\* Termine$" nil t)
(error "Found two Termine sections in TODO file, don't know which one to sort")))
(org-sort-entries nil ?T)
(org-cycle)
(org-cycle)

Smoking 5.18.2 vs. 5.19.11, on FreeBSD 9.2 and Linux Debian squeeze

already reported in CPAN RT

need investigation

Config-Trivial-Storable-0.30

https://rt.cpan.org/Ticket/Display.html?id=95343 test tries to overwrite base.pm

-> bisect says: commit 892089cd68f447dda17eb023010cd1dfb14ea0a5