Skip to content

Instantly share code, notes, and snippets.

View seansch's full-sized avatar

Sean Schoonover seansch

View GitHub Profile
@seratne
seratne / imb.php
Last active March 29, 2024 17:38 — forked from IanSimpson/imb.php
PHP IMB Barcode Converter
<?php
/**
* IMB Converter
* =============
* This class takes a numeric code (in the valid format) and returns a string in ATDF format, ready to be printed
* with the USPS IMB font
*
* Code extracted from TCPDF and modified to operate standalone. See http://www.tcpdf.org
*
* Usage:
#!/bin/bash
PATH="$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/phil/.bin"
RSYNC_ROOT_EXCLUDES="
--exclude /cdrom/
--exclude /dev/
--exclude /exports/
--exclude /proc/
--exclude /run/
--exclude /sys/