Skip to content

Instantly share code, notes, and snippets.

View rsullivan00's full-sized avatar

Rick Sullivan rsullivan00

View GitHub Profile
@rsullivan00
rsullivan00 / write_cards_xml.py
Created October 18, 2022 01:36
Import a directory of images into mpcfill
import os
import xml.etree.ElementTree as ET
# This script generates an [MPC Fill](https://github.com/chilli-axe/mpc-autofill) order
# file from directories of PNGs and prints the order XML to stdout.
#
# Usage:
# 1. Edit my paths/directory names
# 2. Edit the contents of order below, especially `quantity` (must match front image count) and `cardback`.
dashboard
click video -> view or edit video
click project -> project list
logout -> login page
view or edit video
click x -> dashboard
import Ember from 'ember'
const {
A,
computed
} = Ember
export default Ember.Component.extend({
/*
* A hand of cards is an Ember.Array of 5 strings with values