This file contains hidden or 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 python | |
# encoding: utf-8 | |
# Author: Aurélien Gâteau <[email protected]> | |
# License: GPLv3+ | |
import filecmp | |
import os | |
import shutil | |
import sqlite3 |
This file contains hidden or 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
import sys | |
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
from PyQt4.QtWebKit import * | |
class Foo(QObject): | |
@pyqtSlot(int, result=int) | |
def compute(self, value): | |
return value * 2 |
This file contains hidden or 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 python | |
# encoding: utf-8 | |
""" | |
pict-exif-rename: Rename pictures according to their exif information, taking | |
sequence number into account. | |
This relies on the presence of the Exif.Panasonic.SequenceNumber tag, so may | |
not work with all cameras. |
This file contains hidden or 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 pkgcgrep() { | |
pkg-config --list-all | grep "$1" | |
} |
This file contains hidden or 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
QString wide_prefix() | |
{ | |
return qgetenv("WIDE"); | |
} | |
inline QString wide_i18n(const char* txt) | |
{ | |
return wide_prefix() + i18n(txt); | |
} |
NewerOlder