Skip to content

Instantly share code, notes, and snippets.

View codigoinerte's full-sized avatar
馃彔
Working from home

Fredy Jhoel codigoinerte

馃彔
Working from home
View GitHub Profile
@codigoinerte
codigoinerte / testing-configuration.md
Created August 25, 2025 21:51 — forked from Klerith/testing-configuration.md
Configuraci贸n de Vitest + React Testing Library
@codigoinerte
codigoinerte / terminal-colors-branch.sh
Created January 19, 2023 23:17 — forked from danielalvarenga/terminal-colors-branch.sh
Show branch in terminal Ubuntu
# Add in ~/.bashrc or ~/.bash_profile
function parse_git_branch () {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
RED="\[\033[01;31m\]"
YELLOW="\[\033[01;33m\]"
GREEN="\[\033[01;32m\]"
BLUE="\[\033[01;34m\]"
NO_COLOR="\[\033[00m\]"
@codigoinerte
codigoinerte / templateSlice.js
Created September 27, 2022 00:15 — forked from Klerith/templateSlice.js
Cascaron para crear Redux Slices r谩pidamente
import { createSlice } from '@reduxjs/toolkit';
export const templateSlice = createSlice({
name: 'name',
initialState: {
counter: 10
},
reducers: {
increment: (state, /* action */ ) => {
//! https://react-redux.js.org/tutorials/quick-start
@codigoinerte
codigoinerte / init-rn.md
Created March 10, 2022 00:20 — forked from Klerith/init-rn.md
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