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
03-27 20:26:38.632 6571 6612 I python : Traceback (most recent call last): | |
03-27 20:26:38.633 6571 6612 I python : File "/home/cruor/code/sadpandareader/app/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/plyer/utils.py", line 88, in _ensure_obj | |
03-27 20:26:38.633 6571 6612 I python : File "/home/cruor/code/sadpandareader/app/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/plyer/platforms/android/notification.py", line 8, in <module> | |
03-27 20:26:38.633 6571 6612 I python : File "/home/cruor/code/sadpandareader/app/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/jnius/reflect.py", line 154, in autoclass | |
03-27 20:26:38.634 6571 6612 I python : File "jnius/jnius_export_func.pxi", line 25, in jnius.jnius.find_javaclass (jnius/jnius.c:14415) | |
03-27 20:26:38.634 6571 6612 I python : JavaException: Class not found 'org/sadpanda/sadpandareader/R |
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
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
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
import jnius_config | |
jnius_config.expand_classpath() | |
jnius_config.add_classpath("libs/baxi/*") | |
from jnius import autoclass, PythonJavaClass, java_method, JavaClass, MetaJavaClass, JavaField | |
import time | |
BaxiCtrl = autoclass("eu.nets.baxi.client.BaxiCtrl") | |
AdministrationArgs = autoclass("eu.nets.baxi.client.AdministrationArgs") | |
TransferAmountArgs = autoclass("eu.nets.baxi.client.TransferAmountArgs") | |
TransferCardDataArgs = autoclass("eu.nets.baxi.client.TransferCardDataArgs") |
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
SELECT COUNT(votes.id) | |
FROM votes | |
WHERE votes.voterip = "::1" AND votes.polloptionid = (SELECT polloptions.id | |
FROM polloptions | |
WHERE polloptions.pollid = (SELECT polloptions.pollid | |
FROM polloptions | |
WHERE polloptions.id = 4)); |
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 sqlalchemy import create_engine, Column, Integer, String, ForeignKey | |
from sqlalchemy.orm import sessionmaker, relationship | |
from sqlalchemy.ext.declarative import declarative_base | |
Base = declarative_base() | |
engine = create_engine('sqlite:///./database.db') | |
Session = sessionmaker(bind=engine) | |
db = Session() | |
class Polls(Base): |
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
import jnius_config | |
jnius_config.expand_classpath() | |
jnius_config.add_classpath("libs/baxi/*") | |
from jnius import autoclass, PythonJavaClass, java_method, JavaClass, MetaJavaClass, JavaField | |
import time | |
BaxiCtrl = autoclass("eu.nets.baxi.client.BaxiCtrl") | |
AdministrationArgs = autoclass("eu.nets.baxi.client.AdministrationArgs") | |
TransferAmountArgs = autoclass("eu.nets.baxi.client.TransferAmountArgs") | |
TransferCardDataArgs = autoclass("eu.nets.baxi.client.TransferCardDataArgs") |
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 kivy.app import App | |
from kivy.uix.boxlayout import BoxLayout | |
from kivy.properties import ObjectProperty | |
from kivymd.theming import ThemeManager | |
from components import DriftNavdrawer | |
from screens import * |
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
#:import Toolbar kivymd.toolbar.Toolbar | |
#:import SingleLineTextField kivymd.textfields.SingleLineTextField | |
#:import TwoLineListItem kivymd.list.TwoLineListItem | |
<DriftsRoot>: | |
canvas.before: | |
Rectangle: | |
pos: self.pos | |
size: self.size |
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
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
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
import requests | |
import json | |
from xml.dom import minidom | |
class PresendAPI(): | |
# TESTURL requires its own certificates, located at certs/testcerts/ | |
TESTURL = "https://pilot.presend.com:4442/cc/servlet/CC_XML?ACTION=" | |
# LIVEURL requires its own certificates, located at certs/ | |
LIVEURL = "https://live.presend.com:4442/cc/servlet/CC_XML?ACTION=" |