Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<printerCommands>
<directIO command="4001" data="1008201744" comment="Set printer date and time"></directIO>
<directIO command="4015" data="22001" comment="Center header and footer"></directIO>
<directIO command="4014" data="041" comment="Activate operators"></directIO>
<directIO command="4014" data="030" comment="Receipts Open Drawer"></directIO>
<directIO command="4014" data="260" comment="Auto Open Drawer"></directIO>
<directIO command="4014" data="500" comment="Subtotal Open Drawer"></directIO>
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <printerFiscalReceipt>
            <beginFiscalReceipt operator="2"></beginFiscalReceipt>
            <setLogo index="" operator="2" location=""></setLogo>
            <printRecMessage font="1" operator="2" messageType="4" message=" "></printRecMessage>
            <printRecItem quantity="1" unitPrice="12.00" operator="52" justification="1" description="pizza" department="1"></printRecItem>
            <printRecItemAdjustment adjustmentType="0" operator="2" amount="12.00" description="Discount" department="1"></printRecItemAdjustment>
            <printRecMessage font="1" operator="2" messageType="4" message=" "></printRecMessage>
@Geoffrey-T
Geoffrey-T / gitCheatSheet.sh
Created December 4, 2020 14:07
Git help kit
# Reset last commit (hard reset, without save changes)
git reset --head HEAD^
# Reset last commit and keep changes in unstages files
git reset --soft HEAD^
# Change original branch -> when you start your dev from the wront branch
git rebase --onto goodBranch wrongBranch # wrongBranch is your wrong started branch
# When you commit unneeded files and forgot to change your giignore file: