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
from __future__ import print_function | |
import itertools | |
import logging | |
import re | |
import traceback | |
from redash import models | |
from redash.query_runner import BaseQueryRunner | |
from redash.query_runner import register |
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
local({ | |
# Source any possible project-specific .init.R first | |
# as it might set .libPaths for custom dependencies. | |
# https://gist.github.com/otsaloma/f3b8f61a39bf81df0bcc0e5fd80e9ad1 | |
components = unlist(strsplit(getwd(), "/")) | |
for (i in length(components):1) { | |
args = as.list(c(components[1:i], ".init.R")) | |
path = do.call(file.path, args) | |
if (file.exists(path)) { | |
source(path) |
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/qml/Map.qml b/qml/Map.qml | |
index edb95f3..8c74c35 100644 | |
--- a/qml/Map.qml | |
+++ b/qml/Map.qml | |
@@ -138,7 +138,7 @@ MapboxMap { | |
} | |
onPositionChanged: { | |
- map.autoCenter && map.centerOnPosition(); | |
+ // map.autoCenter && map.centerOnPosition(); |
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
# -*- coding: utf-8 -*- | |
# Copyright (c) 2017 Osmo Salomaa | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
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 python3 | |
import aeidon, sys, time | |
if len(sys.argv) < 2: | |
print("Usage: {} SUBTITLE_FILE...".format(__file__)) | |
raise SystemExit(1) | |
for fname in sys.argv[1:]: | |
print("{}:".format(fname)) | |
project = aeidon.Project() | |
project.open_main(fname, "utf_8") | |
before = len(project.subtitles) |
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 -rub gnome-do-0.95.3.orig/Do.Interface.Linux.AnimationBase/src/Do.Interface/Do.Interface.AnimationBase/BezelDrawingArea.cs gnome-do-0.95.3/Do.Interface.Linux.AnimationBase/src/Do.Interface/Do.Interface.AnimationBase/BezelDrawingArea.cs | |
--- gnome-do-0.95.3.orig/Do.Interface.Linux.AnimationBase/src/Do.Interface/Do.Interface.AnimationBase/BezelDrawingArea.cs 2013-12-28 05:51:22.827272000 +0200 | |
+++ gnome-do-0.95.3/Do.Interface.Linux.AnimationBase/src/Do.Interface/Do.Interface.AnimationBase/BezelDrawingArea.cs 2017-01-07 06:25:03.992928851 +0200 | |
@@ -182,7 +182,7 @@ | |
Gdk.Rectangle drawing_area; | |
Surface surface; | |
- double text_box_scale, window_fade = 1, window_scale=1; | |
+ double text_box_scale, window_fade = 1, window_scale=2; | |
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
Rectangle { | |
id: circle | |
color: "red" | |
opacity: 0.2 | |
radius: width/2 | |
z: 10000 | |
} | |
// onPositionChanged: |
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
// -*- coding: utf-8-unix -*- | |
import QtQuick 2.0 | |
import QtPositioning 5.2 | |
// A drop-in replacement for PositionSource.qml for testing. | |
Item { | |
id: gps | |
property var direction: 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
{ | |
"attribution": "© OpenStreetMap contributors", | |
"extension": ".png", | |
"format": "slippy", | |
"name": "OpenPTMap", | |
"source": "openptmap.org", | |
"type": "overlay", | |
"url": "http://openptmap.org/tiles/{z}/{x}/{y}.png", | |
"z": 20 | |
} |
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
{ | |
"attribution": "© OpenStreetMap contributors\nhttp://www.openstreetmap.org/copyright", | |
"extension": ".png", | |
"format": "slippy", | |
"name": "Kelkkapisteet", | |
"source": "kelkkareitit.fi", | |
"type": "overlay", | |
"url": "http://tiles.kelkkareitit.fi/kelkkapoi/{z}/{x}/{y}.png", | |
"z": 30 | |
} |
NewerOlder