View snippy.sh
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 bash | |
# originally written by "mhwombat": https://bbs.archlinux.org/viewtopic.php?id=71938&p=2 | |
# Based on "snippy" by "sessy" | |
# (https://bbs.archlinux.org/viewtopic.php?id=71938) | |
# and the modified version by "coderofsalvation" | |
# (https://gist.github.com/coderofsalvation/46549e3788ade2f3a938) | |
# | |
# You will also need "dmenu", "xsel" and "xdotool". Get them from your linux | |
# distro in the usual way. |
View LayerManagementService.js
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
(function () { | |
/** | |
* @class pyriand3r.service.LayerManagementService | |
* Handles the arranging of the mapObjects on the canvas. | |
* Needed reimplementation because the method provided by draw2d is faulty (only toBack, toFront works, if you move | |
* an object between other objects labeltext will vanish). | |
* Reimplements the faulty behaviour by arranging the items only with toBack and toFront. | |
* All children of a figure are supposed to be placed in front of the parent figure. | |
* |
View Ext5Container.js
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
/** | |
* @class pyriand3r.util.Ext5Container | |
* This class provides a panel for an Ext5 application inside an Ext3.4 environment. | |
* | |
* @extends Ext.Panel | |
*/ | |
pyriand3r.util.Ext5Container = Ext.extend(Ext.Panel, { | |
/** | |
* @constructor |
View mp3join.py
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 python2.7 | |
# -*- coding: iso-8859-1 -*- | |
''' Concatinate all mp3-files of a folder in right order | |
and repair header afterwords. | |
Usage: -s / --source <folderpath> = Folder with mp3s to concatinate. | |
-d / --destination <filepath> = Destination for concatinated files | |
ATTENTION: This script is written for use under linux (Ubuntu) | |
''' | |
import os |
View mp3headrep.py
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 python2.7 | |
# -*- coding: iso-8859-1 -*- | |
''' Search a folder recursively for mp3-files and repair | |
the header for every file. A backup of the original file | |
is made. If you don't want this, decomment line 38. | |
Usage: -r <Rootpath> = Path to start the incremential search. | |
ATTENTION: This script is written for use under linux | |
''' |