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
; Released under the GNU GPL 3.0 or later | |
(define (resize-match-dpi image drawable newwidth newheight) | |
(let* ( | |
(oldwidth (car (gimp-image-width image))) | |
(oldheight (car (gimp-image-height image))) | |
(newdpi 0) | |
) | |
(if (= newheight 0) | |
(set! newheight (round (* (/ oldheight oldwidth) newwidth))) | |
() |
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
use strict; | |
use Irssi; | |
use POSIX; | |
sub async_curl ($$$) { | |
my ($geturl, $callback, $argref) = @_; | |
my ($reader, $writer); | |
pipe($reader, $writer); | |
my $pid = fork(); | |
if ($pid > 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
""" | |
GrooveGrab - Automatically saves songs when listening in Grooveshark | |
Copyright (C) 2010 odie5533 | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, |