This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. | |
Download the excel file with the current data for | |
= @table | |
= link_to 'here', '#' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pt-BR: | |
active_admin: | |
dashboard: "Painel Administrativo" | |
dashboard_welcome: | |
welcome: "Bem vindo ao Active Admin. Esta é a página de painéis padrão." | |
call_to_action: "Para adicionar seções ao painel, verifique 'app/admin/dashboard.rb'" | |
view: "Visualizar" | |
edit: "Editar" | |
delete: "Remover" | |
delete_confirmation: "Você tem certeza que deseja remover este item?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pt-BR: | |
errors: | |
messages: | |
carrierwave_processing_error: "Não foi possível redimensionar imagem." | |
carrierwave_integrity_error: "Não é uma imagem." | |
carrierwave_download_error: "Não foi possível fazer download da imagem." | |
extension_white_list_error: "O formato %{extension} não é permitido. Formatos suportados: %{allowed_types}" | |
extension_black_list_error: "O formato %{extension} não é permitido. Formatos proibidos: %{prohibited_types}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pt-BR: | |
simple_form: | |
"yes": 'Sim' | |
"no": 'Não' | |
required: | |
text: 'obrigatório' | |
mark: '*' | |
# You can uncomment the line below if you need to overwrite the whole required html. | |
# When using html, text and mark won't be used. | |
# html: '<abbr title="required">*</abbr>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var parseDate = function(date) { | |
var year = 2000 + parseInt($('.period .filter').text().match(/^.*(\d{2})$/)[1]) | |
date = date | |
.replace('Fev', 'Feb') | |
.replace('Abr', 'Apr') | |
.replace('Mai', 'May') | |
.replace('Ago', 'Aug') | |
.replace('Set', 'Sep') | |
.replace('Out', 'Oct') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: UTF-8 | |
# pt-BR translations for Ruby on Rails | |
"pt-BR": | |
date: | |
abbr_day_names: | |
- Dom | |
- Seg | |
- Ter | |
- Qua | |
- Qui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
# Be sure to restart your server when you modify this file. | |
# Add new inflection rules using the following format | |
# (all these examples are active by default): | |
# ActiveSupport::Inflector.inflections do |inflect| | |
# inflect.plural /^(ox)$/i, '\1en' | |
# inflect.singular /^(ox)en/i, '\1' | |
# inflect.irregular 'person', 'people' | |
# inflect.uncountable %w( fish sheep ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Disables a site, just like a2dissite command, from Apache2. | |
SITES_AVAILABLE_CONFIG_DIR="/opt/nginx/sites-available"; | |
SITES_ENABLED_CONFIG_DIR="/opt/nginx/sites-enabled"; | |
if [ $1 ]; then | |
if [ ! -f "${SITES_ENABLED_CONFIG_DIR}/${1}" ]; then | |
echo "Site ${1} was already disabled!" | |
elif [ ! -w $SITES_ENABLED_CONFIG_DIR ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! bin/bash | |
# Enables a site, just like a2ensite command, from Apache2. | |
SITES_AVAILABLE_CONFIG_DIR="/opt/nginx/sites-available"; | |
SITES_ENABLED_CONFIG_DIR="/opt/nginx/sites-enabled"; | |
if [ $1 ]; then | |
if [ -f "${SITES_ENABLED_CONFIG_DIR}/${1}" ]; then | |
echo "Site ${1} was already enabled!"; | |
elif [ ! -w $SITES_ENABLED_CONFIG_DIR ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
piper - to configure mouse/logitech | |
lutris - gaming services client (steam/gog/ubisoft/etc) | |
flameshot - to screenshot and annotate | |
handbrake | |
shotcut |