Skip to content

Instantly share code, notes, and snippets.

View mxvilchz's full-sized avatar
💻

Max Vilchez mxvilchz

💻
View GitHub Profile
@justinbiebur
justinbiebur / simple-echo-server.js
Created November 13, 2021 07:17
A very simple express server to log id provided as parameter in a get request.
// make sure to add express to package.json
var express = require('express');
var app = express();;
var PORT = 3000;
app.get('/:id', function (req, res) {
console.log(req.params['id']);
res.send();
});
@Klerith
Klerith / instalaciones.md
Last active August 26, 2024 17:24
Instalaciones recomendadas para el curso de React Pro
@Klerith
Klerith / instalaciones.md
Created August 25, 2021 21:31
Instalaciones necesarias para el curso de Git y GitHub
@Klerith
Klerith / instalaciones-ts.md
Last active May 15, 2024 03:14
Instalaciones del curso de TypeScript
@Klerith
Klerith / git-alias.md
Last active November 15, 2024 03:29
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

@Klerith
Klerith / ReactNative-instalaciones.md
Last active November 19, 2024 15:15
Instalaciones recomendadas para el curso de React Native

React Logo

Instalaciones - Curso de React Native

Esta es la lista de instalaciones recomendadas para el curso de React Native, si encuentran enlaces adicionales o cambios en esta hoja, pueden hacerlos.

@Klerith
Klerith / typescriptreact.json
Created March 4, 2021 15:03
StyleSheet snippet
{
// Place your snippets for typescriptreact here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
@Klerith
Klerith / init-rn.md
Created March 3, 2021 20:56
Comando para crear aplicación de React Native con TypeScript

Comando para crear un proyecto de RN con TS

npx react-native init AwesomeTSProject --template react-native-template-typescript