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
######################################### | |
# DO NOT REPORT ANY BUGS FROM DARKTABLE INSTALLED THIS WAY. | |
# | |
# This is an unofficial compilation & installation guide. | |
# Darktable developers explicitly say that they don't support Windows ANY way and won't fix ANY bugs on Windows. | |
# Please, respect their decision and do not bother them with Windows bugreports. | |
# | |
# If you find a bug, please verify it on a regular Linux/Mac system or inside a virtual machine. | |
# | |
# There is a chance an official Windows build will appear. Just subscribe to https://github.com/darktable-org/darktable/pull/1327 to be informed. |
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 python | |
#-*- coding: utf-8 -*- | |
import sys, os | |
import re | |
try: bibtexdb = open(sys.argv[1]).read() | |
except: print "Error: specify the file to be processed!" | |
if not os.path.isfile('journalList.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
// Author: Martin Pecka ( [email protected] ) | |
// License: BSD | |
#ifndef DEM_GENERATION_SLOW_TOPIC_DIAG_UPDATE_H | |
#define DEM_GENERATION_SLOW_TOPIC_DIAG_UPDATE_H | |
#define private public | |
#include <diagnostic_updater/update_functions.h> | |
#undef private |
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
def change_enum_items(type, parameter_name, new_items, default=None): | |
""" | |
Take an enum-typed parameter in the given autogenerated cfg type and reset its possible values to new_items. | |
You can then start a dynamic_reconfigure server which advertises the changed enum domain. | |
To achieve this, you need to call this function before creating the server. | |
:param type type: One of the autogenerated config types (package.cfg.*Config). | |
:param basestring parameter_name: Name of the enum parameter to change. | |
:param new_items: The items that will form the new domain of the enum. |
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
############################# | |
# START: THUMBNAIL HANDLING # | |
############################# | |
# Since handling thumbnails in Nette is painfully slow (loading the whole framework | |
# just to find out that the thumbnail has already existed), there is a workaround | |
# that finds all the generated thumbnails using mod_rewrite and only redirects to the | |
# script if generating a thumbnail is really needed. | |
# Even for generating thumbs the standard Nette usage is slow, so there is another workaround. |
NewerOlder