Skip to content

Instantly share code, notes, and snippets.

View danieldenis01's full-sized avatar

Daniel Moreira danieldenis01

View GitHub Profile
@danieldenis01
danieldenis01 / models.pt-BR.yml
Last active June 6, 2024 22:30
Rails I18n Defaults
pt-BR:
models:
models: &model_names
user: Usuário
attributes: &model_attributes
user:
name: Nome
activerecord:
models:
@danieldenis01
danieldenis01 / daily-ui-012-e-commerce-shop-single-item.markdown
Created April 5, 2019 03:59
Daily UI #012: E-Commerce Shop (Single Item)
@danieldenis01
danieldenis01 / autoupdate-repo.sh
Last active January 18, 2017 19:34
Auto Update Repositories
#!/bin/bash
CUR_DIR=$(pwd)
DIRECTORY="$1"
cd ${DIRECTORY};
git checkout -f
git pull
cd $CUR_DIR