Skip to content

Instantly share code, notes, and snippets.

View hectoregm's full-sized avatar

Hector E. Gomez Morales hectoregm

View GitHub Profile
Imported new variant: The Walking Dad Trucker Hat, options: ["one size", "white/green"]
measure : percent% accuracy count user system total real
\blocks : 100.000% excellent 2 25.430000 2.320000 35.460000 (207.651266)
\import_products : 68.122% excellent 1 24.770000 1.810000 26.580000 (139.031196)
\import_product : 99.991% excellent 10 24.760000 1.810000 26.570000 (139.025663)
\import_variant : 73.917% excellent 586 22.750000 1.670000 24.420000 ( 97.983299)
\initialize : 31.878% excellent 1 0.660000 0.510000 8.880000 ( 68.620070)
\find_or_create_design : 99.995% excellent 1 0.660000 0.510000 8.880000 ( 68.616095)
\remove_garments : 0.001% poor 1 0.000000 0.000000 0.000000 ( 0.000787)
# Copy and paste this to the rails console to test your email settings
class MyMailer < ActionMailer::Base
def test_email
@recipients = "someone@somewhere.com"
@from = "must_be_same_as_smpt_account_login@gmail.com"
@subject = "test from the Rails Console"
@body = "This is a test email"
end
end
@hectoregm
hectoregm / bench.c
Created August 28, 2019 23:56 — forked from jedisct1/bench.c
#include <stddef.h>
#include <sys/time.h>
#include <stdio.h>
#include <string.h>
#define crypto_aead_aes256gcm_KEYBYTES 32U
#define crypto_aead_aes256gcm_NPUBBYTES 12U
#define crypto_aead_aes256gcm_ABYTES 16U