Skip to content

Instantly share code, notes, and snippets.

View gonter's full-sized avatar

Gerhard Gonter gonter

View GitHub Profile
@gonter
gonter / rpm-inv.sh
Created November 16, 2011 14:07
create a RPM inventory list in CSV format
#!/bin/sh
# prepare a CSV of currently installed RPM packages
echo "NAME;VERSION;RELEASE"
rpm -qa --queryformat "%{NAME};%{VERSION};%{RELEASE}\n" | sort -t\; -k 1
@gonter
gonter / gist:3715363
Created September 13, 2012 16:04
convert list of perl package declarations into wiki table
#!/usr/bin/perl
#
# convert list of perl package declarations into wiki table
# the input should be the result of a something like
# fgrep -n 'package' <my-large-list-of-perl-scripts-and-modules>
#
use strict;
print "| *package_name* | *usage* | *file_name* |\n";
@gonter
gonter / gist:dd842c99205d1c201393
Last active August 29, 2015 14:03
August mit 5 Freitagen
#!/usr/bin/perl
=head1 NOTE
Keine Ahnung, wer die Geschichte aufgebracht hat, dass nur alle 823 Jahre
ein August mit 5 Freitagen vorkommen soll, aber das ist freilich Unsinn.
Das kommt im Durchschnitt alle 7 Jahre vor, wenn wer nachrechnen mag...
=cut
@gonter
gonter / Formats.textile
Last active August 29, 2015 14:03
missing POD for PDA::Pilot
creator type application notes
npad DATA notepad raw contains structure with embedded PNG image
@gonter
gonter / p-m-a.user.js
Created December 10, 2014 18:16
greasemonkey script to replace bad css
// ==UserScript==
// @name p-m-a
// @namespace urxn.at
// @description Verunstaltungen auf p-m-a.at
// @include http://www.p-m-a.at/*
// @include http://imkontext.net/*
// @version 1
// ==/UserScript==
// <link rel="stylesheet" href="/templates/pma-template/css/template.css" type="text/css" />
@gonter
gonter / rdsiframe.user.js
Last active August 29, 2015 14:13
replace iframe link with https version
// ==UserScript==
// @name rdsiframe
// @namespace urxn.at
// @description force https iframe
// @include //www.research-data-survey.at/
// @version 1
// @grant none
// ==/UserScript==
var re_http= new RegExp("^http:");
@gonter
gonter / .bash_aliases
Last active June 1, 2023 16:05
dotfiles
alias ..="tcsh -l"
alias sux="sudo tcsh -l"
@gonter
gonter / gist:6de2dfe45ed1da8a4d6e
Created April 15, 2015 08:40
ubuntu-phone r22 missing icons
cat unity8-dash.log
Dispatching search: "clickscope" "" ""
Invalid size for QUrl( "image://theme/media-memory-sd" ) QSize(-1, -1)
file:///usr/share/unity8/Dash/CardTool.qml:179:38: Unable to assign [undefined] to bool
file:///usr/share/unity8/Dash/CardTool.qml:179:38: Unable to assign [undefined] to bool
file:///usr/share/unity8/Dash/CardTool.qml:179:38: Unable to assign [undefined] to bool
UbuntuWindow::handleSurfaceFocusChange(focused=false)
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
Dispatching search: "clickscope" "" ""
@gonter
gonter / .gitignore
Last active August 29, 2015 14:24
arclog
out-nagios.txt
out-data.csv
x
orko_arcconf_device_logs.*
@gonter
gonter / README.md
Last active December 3, 2015 13:13
sort test

test sort function