Paste #hvZkA2IVS

import os.path
import time
from tkinter import *
import sqlite3
import sys
sys.path.append('..')

Paste #5DiLcb3NQ

from tkinter import *
import sqlite3, sys
sys.path.append('..')
import time, os.path

class TextFormat(object):

Paste #9OJWhX_oQ

[ 98%] Building C object mc-plugin/CMakeFiles/mcp-account-manager-ofono.dir/mcp-account-manager-ofono.c.o
cd /home/jbb/kde/src/build/telepathy-ofono/mc-plugin && /usr/bin/cc -DQT_NO_KEYWORDS -DUSE_PULSEAUDIO -Dmcp_account_manager_ofono_EXPORTS -I/home/jbb/kde/src/build/telepathy-ofono/mc-plugin -I/home/jbb/kde/src/telepathy-ofono/mc-plugin -I/home/jbb/kde/src/build/telepathy-ofono/mc-plugin/mcp-account-manager-ofono_autogen/include -I/home/jbb/kde/install/include/telepathy-qt5 -I/home/qt/work/install/include/QtDBus -I/home/qt/work/install/include -I/home/qt/work/install/include/QtNetwork -I/home/qt/work/install/include/QtXml -I/home/qt/work/install/include/QtCore -I/home/jbb/.local/Qt/5.15.0/gcc_64/include -I/home/jbb/.local/Qt/5.15.0/gcc_64/include/QtCore -I/home/jbb/.local/Qt/5.15.0/gcc_64/./mkspecs/linux-g++ -I/home/jbb/.local/Qt/5.15.0/gcc_64/include/QtDBus -I/usr/include/phonenumbers -I/usr/include/telepathy-qt5 -I/usr/include/ofono-qt -I/home/jbb/kde/install/include/mission-control-5.18 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -fPIC   -o CMakeFiles/mcp-account-manager-ofono.dir/mcp-account-manager-ofono.c.o   -c /home/jbb/kde/src/telepathy-ofono/mc-plugin/mcp-account-manager-ofono.c
In file included from /usr/include/telepathy-1.0/telepathy-glib/telepathy-glib.h:83,
                 from /home/jbb/kde/install/include/mission-control-5.18/mission-control-plugins/mission-control-plugins.h:26,
                 from /home/jbb/kde/src/telepathy-ofono/mc-plugin/mcp-account-manager-ofono.h:4,
                 from /home/jbb/kde/src/telepathy-ofono/mc-plugin/mcp-account-manager-ofono.c:30:

scrolling bug test case

import org.kde.kirigami 2.2 as Kirigami
import QtQuick 2.7
import QtQuick.Controls 2.2 as Controls

Kirigami.ApplicationWindow {
        pageStack.initialPage: Kirigami.ScrollablePage {

distccd backed by an icecream cluster (yes, this is probably stupid)

#!/usr/bin/env bash

function kill_daemons() {
        echo "## Shutting down"
        sudo killall -SIGKILL icecc-scheduler
        sudo killall -SIGKILL distccd

encrypted notes for bash

NOTES_PATH="$HOME/notes/"
GPG_KEY_ID="C3D7CAFBF442353F95F69F4AA81E075ABEC80A7E"

function take_note() {
        name="${1}"
        if [ -z "${name}" ]; then

Paste #Rt4wgU6FS

/usr/lib/mxe/usr/x86_64-w64-mingw32.static/qt5/qml/QtMultimedia/libdeclarative_multimedia.a(multimedia.o):multimedia.cpp:(.text$_ZN11QQmlPrivate10createIntoI23QDeclarativeVideoOutputEEvPv[_ZN11QQmlPrivate10createIntoI23QDeclarativeVideoOutputEEvPv]+0x10): undefined reference to `QDeclarativeVideoOutput::QDeclarativeVideoOutput(QQuickItem*)'
/usr/lib/mxe/usr/x86_64-w64-mingw32.static/qt5/qml/QtMultimedia/libdeclarative_multimedia.a(multimedia.o):multimedia.cpp:(.text$_ZN11QQmlPrivate11QQmlElementI23QDeclarativeVideoOutputED1Ev[_ZN11QQmlPrivate11QQmlElementI23QDeclarativeVideoOutputED1Ev]+0x2b): undefined reference to `QDeclarativeVideoOutput::~QDeclarativeVideoOutput()'
/usr/lib/mxe/usr/x86_64-w64-mingw32.static/qt5/qml/QtMultimedia/libdeclarative_multimedia.a(multimedia.o):multimedia.cpp:(.text$_ZN11QQmlPrivate11QQmlElementI23QDeclarativeVideoOutputED0Ev[_ZN11QQmlPrivate11QQmlElementI23QDeclarativeVideoOutputED0Ev]+0x26): undefined reference to `QDeclarativeVideoOutput::~QDeclarativeVideoOutput()'
/usr/lib/mxe/usr/x86_64-w64-mingw32.static/qt5/qml/QtMultimedia/libdeclarative_multimedia.a(multimedia.o):multimedia.cpp:(.text$_ZN11QQmlPrivate10createIntoI12QSoundEffectEEvPv[_ZN11QQmlPrivate10createIntoI12QSoundEffectEEvPv]+0x10): undefined reference to `QSoundEffect::QSoundEffect(QObject*)'
/usr/lib/mxe/usr/x86_64-w64-mingw32.static/qt5/qml/QtMultimedia/libdeclarative_multimedia.a(multimedia.o):multimedia.cpp:(.text$_ZN11QQmlPrivate11QQmlElementI12QSoundEffectED1Ev[_ZN11QQmlPrivate11QQmlElementI12QSoundEffectED1Ev]+0x20): undefined reference to `QSoundEffect::~QSoundEffect()'
/usr/lib/mxe/usr/x86_64-w64-mingw32.static/qt5/qml/QtMultimedia/libdeclarative_multimedia.a(multimedia.o):multimedia.cpp:(.text$_ZN11QQmlPrivate11QQmlElementI12QSoundEffectED0Ev[_ZN11QQmlPrivate11QQmlElementI12QSoundEffectED0Ev]+0x1b): undefined reference to `QSoundEffect::~QSoundEffect()'

Binding

import QtQuick 2.12
import QtQuick.Window 2.12
import QtQuick.Layouts 1.12
import QtQuick.Controls 2.12

Window {

Paste #YCptu2WmR

# before optimization:

counter: int = 0

for i in range(0, 9):
    counter += 1

get IP

#!/usr/bin/env python2
from __future__ import print_function
"""

use as