Skip to content

Instantly share code, notes, and snippets.

View cruor99's full-sized avatar

Kjetil Andre Liknes cruor99

View GitHub Profile
@cruor99
cruor99 / gist:787b99b858c5b28845ecaa93d1ff771f
Created September 26, 2023 20:32
Post invasion musings
Post Invasion Musings v1 (1975 Points)
Astra Militarum
Combined Regiment
Strike Force (2000 Points)
CHARACTERS
Gaunt’s Ghosts (100 Points)
• 1x Ibram Gaunt
#:import MDDropdownMenu kivymd.menu.MDDropdownMenu
<LogScreen>:
BoxLayout:
orientation: "vertical"
Toolbar:
id: toolbar
title: "Logs for {}".format(root.machine_name)
left_action_items: [["chevron-left", lambda x: app.root.onBackBtn(), False]]
md_bg_color: app.theme_cls.primary_color
# -*- mode: python -*-
from kivy.deps import sdl2, glew
block_cipher = None
a = Analysis(['main.py'],
pathex=['C:\\Users\\Kjetil\\code\\msale-driftsapp'],
binaries=[],
datas=[],
INFO ] Building with 4 processes, where supported
[INFO ] Want to build ['kivy==master']
[INFO ] Loaded recipe kivy==master (depends of ['sdl2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'ios', 'pyobjus', 'python'], optional are [])
[INFO ] Loaded recipe sdl2 (depends of [], optional are [])
[INFO ] Loaded recipe sdl2_image (depends of ['sdl2'], optional are [])
[INFO ] Loaded recipe sdl2_mixer (depends of ['sdl2'], optional are [])
[INFO ] Loaded recipe sdl2_ttf (depends of ['sdl2', 'freetype'], optional are [])
[INFO ] Loaded recipe ios (depends of ['python'], optional are [])
[INFO ] Loaded recipe pyobjus (depends of ['python'], optional are [])
[INFO ] Loaded recipe python (depends of [u'python3'], optional are [])
from kivy.uix.boxlayout import BoxLayout
from kivy.properties import ObjectProperty, BooleanProperty, DictProperty, StringProperty
from kivy.clock import Clock
from kivy.utils import platform
from kivy.logger import Logger
# KivyMD stuff
from kivymd.snackbar import Snackbar
<span id="cc-login" style="background-color:#4CAF50;border:none;color:white;padding:20px;text-align:center;text-decoration:none;display:inline-block;font-size:16px;margin:4px 2px;border-radius: 4px;"><a class="cc-login">Client Login</a></span>
<span id="cc-login" ><a class="cc-login" style="background-color:#4CAF50;border:none;color:white;padding:20px;text-align:center;text-decoration:none;display:inline-block;font-size:16px;margin:4px 2px;border-radius: 4px;" >Client Login</a></span>
<ActionScreen>:
BoxLayout:
orientation: "vertical"
Toolbar:
id: toolbar
title: "mSale Drift"
left_action_items: [["chevron-left", lambda x: app.root.onBackBtn(), False]]
right_action_items: [["menu", lambda x: app.root.ids.nav_layout.toggle_nav_drawer(), False]]
background_color: app.theme_cls.primary_color
__author__ = 'cruor'
import subprocess
import paramiko
from decorators import async
import threading
import os
import time
basedir = os.path.abspath(os.path.dirname(__file__))
upload_dir = os.path.join(basedir, 'tmp')
#Handles everything to do with remote server access, such as deploying servers to remote locations,
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'organize' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
use_frameworks!
# Pods for organize
# use_frameworks!
pod 'Fabric'
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.properties import ObjectProperty, BooleanProperty
from kivy.logger import Logger
from kivy.clock import Clock
from kivy.utils import platform
from kivy.logger import Logger
# KivyMD stuff
from kivymd.theming import ThemeManager