Skip to content

Instantly share code, notes, and snippets.

gedit
diff --git a/core/constants.py b/core/constants.py
index 6779fea..3c7f6f4 100644
--- a/core/constants.py
+++ b/core/constants.py
@@ -35,6 +35,7 @@ CONNECTIVITY_UNKNOWN = None
DEFAULT_TILE_STORAGE_TYPE = "files"
TILE_STORAGE_FILES = "files"
TILE_STORAGE_SQLITE = "sqlite"
+TILE_STORAGE_TYPES = [TILE_STORAGE_FILES, TILE_STORAGE_SQLITE]
@M4rtinK
M4rtinK / gist:b634432063f81beb034ae3c37d1a6e7b
Created May 16, 2016 21:45
modRana log from a PyOtherSide crash
DEBUG : argv from QML:
['-I', 'modules/gui_modules/gui_qt5/qml/universal_components/controls', '-u', 'qt5']
DEBUG : full argv:
['modrana.py', '-I', 'modules/gui_modules/gui_qt5/qml/universal_components/controls', '-u', 'qt5']
INFO : == modRana Starting ==
WARNING core.paths: local version file is missing
INFO : unknown version
INFO : Python 3.4.3
INFO core.platform_detection: ** detecting current device **
INFO core.platform_detection: * PC detected
DEBUG : argv from QML:
['-I', 'modules/gui_modules/gui_qt5/qml/universal_components/controls', '-u', 'qt5']
DEBUG : full argv:
['modrana.py', '-I', 'modules/gui_modules/gui_qt5/qml/universal_components/controls', '-u', 'qt5']
INFO : == modRana Starting ==
INFO : 0.53.2
INFO : Python 3.4.3
INFO core.platform_detection: ** detecting current device **
INFO core.platform_detection: * PC detected
INFO core.platform_detection: ** selected pc as device module ID **
Possible Anaconda Git branching model
=====================================
The idea is to have these four branches:
master
unstable
<next fedora number>-release
<next fedora number>-devel

Possible Anaconda Git branching model

The idea is to have these four branches:

  • master
  • unstable
  • <next fedora number>-release
  • <next fedora number>-devel
commit 5c7bc08b689807cd9a4269e8950ac89ade6567a2
Author: David Shea <[email protected]>
Date: Tue Jun 7 14:59:17 2016 -0400
Fix the name sensitivity in the custom spoke.
When switching from an existing device to a non-existing device of the
same type, the sensitivity of the "Name" field was not being updated.
Add an extra call to the combo box change signal handler to handle this
case.
commit c29354e8bf7e4579ac1c6865de1209e29db7309f
Author: Martin Kolman <[email protected]>
Date: Tue May 10 15:53:48 2016 +0200
Add support for alternative device specifications (#1200833)
Make it possible to have multiple devices delimited by | in the device
specification, for example:
"sd*|hd*|vda"
@M4rtinK
M4rtinK / gist:6b017ca56262ae6704d849da4de9e0a5
Created July 29, 2016 12:59
.gitconfig relevant parts @ 29.07.2016
[alias]
tree = log --oneline --decorate --graph
ff = !sh -c 'branch=$(git symbolic-ref HEAD | cut -d '/' -f 3) && git rebase origin/$branch' -
g = grep --break --heading --line-number
show-recent = for-each-ref --sort=-committerdate refs/heads/
ac = !sh -c 'git add -u && git commit --amend --no-edit'
ace = !sh -c 'git add -u && git commit --amend'
au = add -u
auc = !sh -c 'git add -u && git commit'
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
@M4rtinK
M4rtinK / gist:74736d1778e398725d58cbce532f087d
Created September 26, 2016 00:00
modRana from Git on Sailfish OS
pkcon install qtchooser
git clone https://github.com/M4rtinK/modrana/
cd modrana/run
./sailfish
#!/bin/python3
import os
from os.path import expanduser
import requests
import rpm
import shutil
SPEC_FILE_URL = "https://raw.githubusercontent.com/M4rtinK/modrana/master/packaging/modrana.spec"