Skip to content

Instantly share code, notes, and snippets.

View irradev's full-sized avatar
🎯
Focusing

Israel Vazquez irradev

🎯
Focusing
View GitHub Profile
@Klerith
Klerith / configurar-node-ts.md
Last active March 3, 2025 00:08
Node con TypeScript - TS-Node-dev simplificado

Node con TypeScript - TS-Node-dev (preferido)

  1. Instalar TypeScript y demás dependencias
npm i -D typescript @types/node ts-node-dev rimraf
  1. Inicializar el archivo de configuración de TypeScript ( Se puede configurar al gusto)
npx tsc --init --outDir dist/ --rootDir src
@irradev
irradev / reset.css
Created September 7, 2022 14:11 — forked from DavidWells/reset.css
CSS reset. Follow me on the twitters for more tips: https://twitter.com/davidwells
/* http://meyerweb.com/eric/tools/css/reset/
v2.0-modified | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
@Klerith
Klerith / git-alias.md
Last active February 28, 2025 01:08
Useful Git Alias

Log

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"

Status

git config --global alias.s status --short

Alternativa útil de status

git config --global alias.s status -sb

@azamatsmith
azamatsmith / Title.js
Last active September 7, 2022 17:07
Reusable media queries with Styled Components
import styled from 'styled-components';
import { media } from 'utils/mediaQuery';
const Title = styled.h1`
font-size: 24px;
${media.medium`
font-size: 30px;
`}
${media.large`
font-size: 36px;
@DavidWells
DavidWells / reset.css
Last active February 16, 2025 19:57 — forked from karbassi/reset.css
CSS reset. Follow me on the twitters for more tips: https://twitter.com/davidwells
/* http://meyerweb.com/eric/tools/css/reset/
v2.0-modified | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,