Skip to content

Instantly share code, notes, and snippets.

Friedrich Mäckle pfried

Block or report user

Report or block pfried

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
pfried /
Created Jun 13, 2019 — forked from bryan-hunt/
Example Certificate Provisioning

Microchip Secure Element Tools

These tools are used to set up an example chain of trust ecosystem for use with Microchip ATECC508A and ATECC608A parts. Included are utilities to create the ecosystem keys and certificates.


Python scripts will require python 3 to be installed. Once python is installed install the requirements (from the path of this file):

pfried / gist:5876966
Last active Dec 19, 2015
polyglot.js example
View gist:5876966
$(document).ready(function() {
var phrases = {
"car" : "%{smart_count} Auto |||| %{smart_count} Autos"
var polyglot = new Polyglot({phrases : phrases, locale : "de"});
// Zero form
console.log(polyglot.t("car",{ "smart_count" : 0}));
View accounts
module.exports = function(mongoose) {
var hasher = require('pbkdf2-hasher');
var toLowerCase = function(string) {
return string.toLowerCase();
// Generate a new password hash
var hashPassword = function(password, callback) {
You can’t perform that action at this time.