Skip to content

Instantly share code, notes, and snippets.

View antoniosanct's full-sized avatar

Antonio Santos antoniosanct

View GitHub Profile
@antoniosanct
antoniosanct / symbolic_link.sh
Created January 20, 2024 18:05
Epson XP-2100 Driver in RockyLinux 8+
@antoniosanct
antoniosanct / crypto.js
Last active April 25, 2022 19:54
Create Sequelize connection using an AES encrypted password
import Utf8 from 'crypto-js/enc-utf8.js';
import AES from 'crypto-js/aes.js';
const secretKey = 'gist-sequelize'
export function decrypt(ciphertext) {
return AES.decrypt(ciphertext, secretKey).toString(Utf8);
}