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
{ buildPythonApplication, fetchFromGitHub, eventlet, flask, flask-socketio, flask_wtf }: | |
buildPythonApplication rec { | |
pname = "tinypilot"; | |
version = "2020-07-25"; | |
propagatedBuildInputs = [ eventlet flask flask-socketio flask_wtf ]; | |
# modified src with added setup.py | |
src = fetchFromGitHub { | |
owner = "elohmeier"; |
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
#!/bin/bash | |
img="$1" | |
src="$2" | |
dst="$3" | |
if [ -z "$img" ] || [ -z "$src" ] || [ -z "$dst" ] | |
then | |
echo "Usage: docker-cpimg IMAGE SRC DEST" | |
echo "e.g. docker-cpimg nginx /etc ./etc" |
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 aqbanking | |
def callback(domain, prio, msg): | |
print('[LOG]: %r' % (msg,)) | |
def password_cb(flags, token, title, text, minLen, maxLen): | |
# we'll get something like: |
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
>>> ret = acc.balance() | |
[LOG]: 'started' | |
[LOG]: 'started' | |
[LOG]: 'dialog.c: 75: Could not read dialog preferences (-67)' | |
4:2017/02/11 17-21-00:gwen(334):dialog.c: 75: Could not read dialog preferences (-67) | |
[LOG]: 'cppgui.cpp: 139: CppGuiLinker::OpenDialog' | |
3:2017/02/11 17-21-00:(null)(334):cppgui.cpp: 139: CppGuiLinker::OpenDialog | |
[LOG]: 'cppgui.cpp: 269: CppGui::OpenDialog' | |
3:2017/02/11 17-21-00:(null)(334):cppgui.cpp: 269: CppGui::OpenDialog | |
[LOG]: 'gui.c: 1380: Unable to openDialog: -68' |