This file contains hidden or 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
| """ | |
| ################################################################################################### | |
| # A DIRECTORY CLEANER FOR AUTOMATING DELETION OF FILES AND/OR SUBDIRECTORIES # | |
| # ----------------------------------------------------------------------------------------------- # | |
| # Liquan Yang # | |
| # liquan.yang@bcbsfl.com # | |
| ################################################################################################### | |
| """ | |
| from datetime import datetime |
This file contains hidden or 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 io import BytesIO | |
| from PIL import Image | |
| from barcode.writer import ImageWriter | |
| from barcode import generate | |
| from brother_ql import BrotherQLRaster, create_label | |
| from brother_ql.backends.helpers import send | |
| def print_barcode(data, printer, backend=None, model='QL-700', code='code128', | |
| label='29x90'): |
This file contains hidden or 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 os | |
| import zipfile | |
| import tempfile | |
| from flask import Flask, render_template, request, Response | |
| from datetime import datetime | |
| from string import Template | |
| FILEPATH = os.path.dirname(os.path.realpath(__file__)) | |
| TEMPLATE_FOLDER = os.path.join(FILEPATH, "templates") | |
| TEMP_FOLDER = os.path.join(FILEPATH, "temp") |
This file contains hidden or 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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| case $- in | |
| *i*) ;; | |
| *) return;; | |
| esac |
This file contains hidden or 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
| # ~/.profile: executed by the command interpreter for login shells. | |
| # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
| # exists. | |
| # see /usr/share/doc/bash/examples/startup-files for examples. | |
| # the files are located in the bash-doc package. | |
| # the default umask is set in /etc/profile; for setting the umask | |
| # for ssh logins, install and configure the libpam-umask package. | |
| #umask 022 |