Skip to content

Instantly share code, notes, and snippets.

View rjoffray's full-sized avatar

Richard Joffray rjoffray

  • Verifone
  • Seattle, Washington
View GitHub Profile
{
"main": {
"items": {
"Commerce": {
"title": "Commerce",
"description": "Optimize commerce operations with a comprehensive suite of payment tools, designed to streamline transactions and maximize revenue. Stay on top of financial performance with detailed reporting on sales and revenue, and never miss a payment with a reliable payment deliverables.",
"items": {
"Reporting": [
{
"title": "Payments Dashboard",
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.security.KeyStore;
import javax.net.ssl.KeyManagerFactory;
import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManagerFactory;
public class RMIClient {
public static void main(String[] args) throws Exception {
@rjoffray
rjoffray / chatGpt.md
Created February 15, 2023 21:42
Chat GPT code writing

Chat GPT

Question

write code using node.js that implements all of the esc/pos language to print a receipt including a logo, a list of items with prices, a tag line and a barcode

Chat GPT

Here's an example code using Node.js that implements ESC/POS language to print a receipt:

---
version: '3'
volumes:
app-persistent-storage:
services:
hd-sec-0:
image: index.docker.io/oaklabs/hd-sec:0.0.4
network_mode: host
ports:
- "9000-9999:9000-9999"