This README demonstrates how to communicate with a Videojet printer using the Zipher Text Communications Protocol, as detailed in the official documentation:
📄 Protocol PDF: Zipher Text Coms Protocol v1.21
This README demonstrates how to communicate with a Videojet printer using the Zipher Text Communications Protocol, as detailed in the official documentation:
📄 Protocol PDF: Zipher Text Coms Protocol v1.21
You need to provide some classes and decorators yourself to maintain the same style as [email protected].
@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}↓
| package main | |
| import ( | |
| "fmt" | |
| "github.com/aws/aws-sdk-go/aws" | |
| "github.com/aws/aws-sdk-go/aws/session" | |
| "github.com/aws/aws-sdk-go/service/ssm" | |
| ) |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
| import ( | |
| "crypto/md5" | |
| "encoding/hex" | |
| ) | |
| func GetMD5Hash(text string) string { | |
| hasher := md5.New() | |
| hasher.Write([]byte(text)) | |
| return hex.EncodeToString(hasher.Sum(nil)) | |
| } |
| @Entity | |
| public class TreeCategory extends IdentifiableEntity { | |
| .... | |
| @ManyToOne(optional = true) | |
| @JoinColumn(name = "parent_id", referencedColumnName = "id") | |
| public TreeCategory getParent() { | |
| return parent; | |
| } |
| ########################################################## | |
| # django postgres polling - LISTEN | |
| import psycopg2.extensions | |
| import select | |
| from django.db import connection | |
| crs = connection.cursor() # get the cursor and establish the connection.connection | |
| pg_con = connection.connection |
| package main | |
| import ( | |
| "crypto/tls" | |
| "crypto/x509" | |
| "fmt" | |
| "io" | |
| "log" | |
| ) |