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
diff --git a/layouts/vastone_glc.layout b/layouts/vastone_glc.layout | |
index bf1fc4f..527bc7b 100644 | |
--- a/layouts/vastone_glc.layout | |
+++ b/layouts/vastone_glc.layout | |
@@ -1,7 +1,7 @@ | |
[VastOne GLC] | |
Type=G+ | |
Title = Gmusicbrowser playing %S by %a | |
-= Window(size=1120x820) FilterPane0(page=genre) FilterPane1(page=artist) FilterPane2(page=album,albumpsize=32,albuminfo=1) QueueList(cols=titleaa length) VPRight(size=230-353) | |
+= Window(size=1120x820) FilterPane0(page=genre) FilterPane1(page=artist) FilterPane2(page=album,albumpsize=32,albuminfo=1) QueueList(cols=titleaa length) VPRight(size=230-353) |
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
# Copyright (C) 2005-2008 Quentin Sculo <[email protected]> | |
# | |
# This file is part of Gmusicbrowser. | |
# Gmusicbrowser is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License version 3, as | |
# published by the Free Software Foundation | |
=gmbplugin FETCHCOVER | |
name Picture finder | |
title Picture finder plugin |
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
pdftk Modelleisenbahner\ -\ Autorengruppe\ -\ Modelleisenbahner\ \(Kopie\).pdf dump_data | awk '/InfoKey: Title/{getline; print}' |
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
exiftool -overwrite_original -Author="Autorengruppe – Modelleisenbahner" Modelleisenbahner\ -\ Autorengruppe\ -\ Modelleisenbahner\ \(Kopie\).pdf |
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
pdftotext test.pdf test.txt; sed -i 's/\xA0/ /g' test.txt |
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
pdftotext "input.pdf" - | sed -e "s/\x{00A0}/ /g" | tr '\n' ' ' | sed -e "s/[[:space:]]\{2,\}/ /g" | grep -oaP "(die|Baureihe|VT|VB|E|V|BR|DB)[[:space:]]*[0-9]{2,3}[[:space:]]*[0-9]*" | sed -e "s/^ *//" | sed -e "s/ *$//" | sed -e "s/^Baureihe/BR/" | sed -e "s/^die/BR/" | sort -b | uniq | tr '\n' ',' |
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
find . -newermt "2015-01-08 17:00:00" ! -newermt "2015-01-08 19:00:00" |
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 | |
IFS='x' read screenWidth screenHeight < <(xdpyinfo | grep dimensions | grep -o '[0-9x]*' | head -n1) | |
width=$(xdotool getactivewindow getwindowgeometry --shell | head -4 | tail -1 | sed 's/[^0-9]*//') | |
height=$(xdotool getactivewindow getwindowgeometry --shell | head -5 | tail -1 | sed 's/[^0-9]*//') | |
newPosX=$((screenWidth/2-width/2)) | |
newPosY=$((screenHeight/2-height/2)) | |
xdotool getactivewindow windowmove "$newPosX" "$newPosY" |
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 | |
#screenWidth=$(xdpyinfo | grep dimensions | grep -o '[0-9]*' | head -n1) | |
#width=$(xdotool getactivewindow getwindowgeometry --shell | head -4 | tail -1 | sed 's/[^0-9]*//') | |
height=$(xdotool getactivewindow getwindowgeometry --shell | head -5 | tail -1 | sed 's/[^0-9]*//') | |
xdotool getactivewindow windowsize 75% "$height" | |
exit 0 |
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
LC_ALL=C dpkg-query --showformat='${Package}:${Status}\n' -W '*' \ | |
| fgrep ':install ok installed' \ | |
| cut -d: -f1 \ | |
| (while read pkg; do | |
inst_version=$(apt-cache policy $pkg \ | |
| fgrep Installed: \ | |
| awk '{ print $2 }'); | |
origin=$(apt-cache policy "$pkg" \ | |
| fgrep " *** ${inst_version}" -C1 \ | |
| tail -n 1 \ |
OlderNewer