This script loads an addressbook from a Baikal SQLite database file using SQLAlchemy,
and writes the contacts to a single baikal.vcf
file.
Install dependencies:
pip3 install SQLAlchemy vobject
""" | |
Parse fullOrders.csv downloaded from Bittrex account. | |
Requirements:: | |
pip install dateparser | |
""" | |
import csv |
runtime/cgo: pthread_create failed: Resource temporarily unavailable | |
SIGABRT: abort | |
PC=0x76dedf70 m=2 sigcode=4294967290 | |
goroutine 0 [idle]: | |
goroutine 1 [chan receive, 437 minutes]: | |
main.btcdMain(0x0, 0x0, 0x0) | |
/home/rpitest/go/src/github.com/roasbeef/btcd/btcd.go:170 +0x6dc | |
main.main() |
# Playback on USB audio device (the second soundcard's first device), | |
# with omxplayer: | |
# | |
# $ ./play.sh myfile.mp4 | |
# | |
# Use 'aplay -l' to list available devices, e.g: | |
# | |
# $ aplay -l | |
# card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio] | |
# Subdevices: 1/1 |
import os | |
from flask import Flask, flash, request, redirect, url_for, render_template, send_from_directory | |
from werkzeug import secure_filename | |
UPLOAD_FOLDER = 'uploads' | |
ALLOWED_EXTENSIONS = set(['webm', 'mp4', 'mp3', 'wav', 'jpeg', 'gif', 'png']) | |
static_folder = os.path.abspath(os.path.dirname(__file__)) | |
template_dir = os.path.join(static_folder, 'examples') |
This script loads an addressbook from a Baikal SQLite database file using SQLAlchemy,
and writes the contacts to a single baikal.vcf
file.
Install dependencies:
pip3 install SQLAlchemy vobject