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
[ | |
{ "keys": ["ctrl+shift+o"], "command": "prompt_add_folder" }, | |
] |
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
ForegroundColour=248,248,242 | |
BackgroundColour=39,40,34 | |
CursorColour=253,157,79 | |
Black=39,40,34 | |
BoldBlack=117,113,94 | |
Red=249,38,114 | |
BoldRed=204,6,78 | |
Green=166,226,46 | |
BoldGreen=122,172,24 | |
Yellow=244,191,117 |
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
{ | |
"default_autolink": true, | |
"default_bracket": "round", | |
"default_depth": 3, | |
"id_replacements": { | |
"-": " ", | |
"" : ["!","#","$","&","'","(",")","*","+",",","/",":",";","=","?","@","[","]","`","\"", ".","<",">","{","}","™","®","©"], | |
"a": "ä", | |
"u": "ü", | |
"o": "ö" |
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
Show hidden characters
{ | |
"parser": "default", | |
"enable_mathjax": true, | |
"enable_highlight": true, | |
"github_mode": "markdown", | |
"enabled_extensions": "default", | |
"github_inject_header_ids": true | |
} |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>WorkingDirectory</key> | |
<!-- CHANGE THIS TO YOUR HOME DIRECTORY --> | |
<string>/Users/stefanlehmann</string> | |
<key>Label</key> |
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
""" | |
Setup for Sensordb. | |
:author: Stefan Lehmann <[email protected]> | |
:license: MIT, see license file or https://opensource.org/licenses/MIT | |
:created on 2018-06-14 13:15:51 | |
:last modified by: lehmann | |
:last modified time: 2018-06-14 13:21:47 |
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 PyQt5.QtWidgets import QWidget | |
import matplotlib | |
matplotlib.use("Qt5agg") | |
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas | |
import pylab | |
class MathTextLabel(QWidget): | |
def __init__(self, mathText, parent=None, **kwargs): | |
super().__init__(parent, **kwargs) |
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
P=mycprogram | |
OBJECTS=mycprogram.c | |
CFLAGS=$(shell python3.4-config --cflags) | |
LDFLAGS=$(shell python3.4-config --ldflags) | |
LDLIBS=$(shell python3.4-config --libs) | |
CC=C99 | |
$(P): $(OBJECTS) | |
clean: |
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 add_rm_rows(old, new): | |
""" | |
Get row, count pairs where new items have been added / removed to the ordered list. | |
:old_list: list of items | |
:new_list: list of items | |
:return: list of [row, count] pairs where items have been added, | |
list of [row, count] pairs where items have been deleted | |
""" |
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 | |
import os | |
import cv2 | |
from PyQt5.QtWidgets import * | |
CASCADE_PATH = "/usr/local/share/OpenCV/haarcascades" | |
CASCADE_FILENAME = "haarcascade_frontalface_default.xml" |