this is what i use so far, its obviously not a 100% replica of the typography plugin but looks good enough on my site
/* replace typography plugin */
.prose {
@apply text-gray-700 dark:text-gray-300
}
.prose {
& p {
// usage | |
function Comp() { | |
const [language, setLanguage] = useLocalStorage('mykey', 'typescript') | |
} | |
// definition | |
function useLocalStorage(key, initialValue) { | |
const [storedValue, setStoredValue] = React.useState(initialValue); | |
React.useEffect(() => { | |
// Get from local storage by key |
this is what i use so far, its obviously not a 100% replica of the typography plugin but looks good enough on my site
/* replace typography plugin */
.prose {
@apply text-gray-700 dark:text-gray-300
}
.prose {
& p {
Aprendiendo en público La forma más rápida de aprender
Si existiera una regla de oro sería esta, todas las demás reglas se derivan en mayor o menor medida de esta regla principal.
Está establecido que alguien nunca termina de aprender, sin embargo, la mayor parte de las personas “aprenden en privado” convirtiéndose en observadores pasivos. Consumen información sin generar ninguna. Mientras que este comportamiento no tiene nada de malo, aquí queremos llegar a estar entre el top de nuestra profesión y para conseguirlo es necesario tener el hábito de establecer sistemas para compartir nuestro aprendizaje:
• Crea blogs, tutoriales y cheat sheets.
• Realiza conferencias y meetups.
• Participa en foros como Stackoverflow o Reddit. Evita sitios privados como Slack o Discord.
You'll find the talks here
Approaching frontend as a backend developer, Svelte feels surprisingly pythonic. Let's take a quick look at what's familiar, what's foreign, and how to explore the gap.
{{foo bar="true"/}}
. Note the /
at the end is for Elder.js to parse both self closing and content wrapping shortcodes.{% youtube abc123 %}
{%foo bar="true"/%}
/
there is non negotiable.the strategy is, if you use remark
to process the text, to write a custom remark plugin to replace specifically this %}
ending code of the dev.to shortcode to what Elder.js expects
To the Gatsby Community,
We want to start by specifically thanking Nat Alison. We support her and commend her bravery in speaking out. It is not easy to stand alone. What she experienced at Gatsby was unacceptable and speaks to wider issues. We thank her for putting pressure on the company to fix them. We vow to double down on those efforts.
While we have worked hard to give feedback and help create a healthy work environment over the past few years, change has been far too slow and the consequences have been real. The previous weeks have intensified the need for rapid change by increasing employee communication and allowing us to collectively connect some dots. We are just as outraged. As a result, we have posed a series of hard questions to management as well as a list of concrete actions they need to take.
Kyle Mathews' public apologies to both Nat Alison and Kim Crayton are small actions swiftly taken that signal the possibility for change but don't speak to the systemic issues that must be addressed.
interface Location { | |
start: number; | |
end: number; | |
}; | |
interface JSXOpeningElement extends Location { | |
type: 'JSXOpeningElement', | |
attributes: JSXAttribute[], | |
name: JSXIdentifier, | |
selfClosing: boolean |
ConcurrentExecutions
graph is useful as well - to understand if we're not approaching a limit(see YouTube channel for individual videos)