Skip to content

Instantly share code, notes, and snippets.

View dmrqx's full-sized avatar
🇧🇷
Todo meu canto / Sai do meu coração

J. Demarque dmrqx

🇧🇷
Todo meu canto / Sai do meu coração
View GitHub Profile
@dmrqx
dmrqx / main.js
Created May 12, 2021 02:12
Storybook main.js - Documentation hell
const customWebpackConfig = require('../config/webpack.config.js')
module.exports = {
stories: [
'../src/components/**/*.stories.mdx',
'../src/components/**/*.stories.@(js|jsx|ts|tsx)'
],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials'
@dmrqx
dmrqx / .editorconfig
Created April 23, 2021 01:33
Editor configuration file
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@dmrqx
dmrqx / html-email.txt
Last active December 22, 2022 10:04
HTML e-mail - coding resources
# Reading material, articles, guides
https://www.freecodecamp.org/news/the-fab-four-technique-to-create-responsive-emails-without-media-queries-baf11fdfa848/
https://www.smashingmagazine.com/2017/01/introduction-building-sending-html-email-for-web-developers/
https://webdesign.tutsplus.com/articles/everything-developers-need-to-know-about-sending-transactional-email--cms-31759
https://email.uplers.com/infographics/ultimate-guide-email-client-hacks/
https://www.leemunroe.com/sending-email-designers-developers/
https://www.leemunroe.com/building-html-email/
https://www.leemunroe.com/responsive-email-design/
@dmrqx
dmrqx / .gitconfig
Last active April 23, 2021 01:24
Git configuration file
; core variables
[core]
; Prenvent LF to CRLF eol conversion
eol = lf
autocrlf = input
editor = code
; user variables
[user]
@dmrqx
dmrqx / photos.py
Created September 6, 2017 19:20
Understanding Python's @Property decorator usage
import os
import hashlib
import time
import urllib.request
import numpy as np
class Photo(object):
sources = None