Juro por mês = valor inicial * taxa (mês) Parcela = juro por mês + (valor inicial/quantidade de parcelas - meses)
Juro por ano = valor inicial * taxa (ano) Parcela = juro por ano + (valor inicial/quantidade de parcelas - anos)
#! /bin/bash | |
# Author: Gustavo Moraes <gustavosotnas1@gmail.com> | |
# | |
# This file is subject to the terms and conditions of the GNU General Public | |
# License. See the file COPYING in the main directory of this archive | |
# for more details. | |
# Script para obter o número da versão do AVD Launcher. | |
# |
#language: pt | |
# Template de especificação executável em linguagem Gherkin/Cucumber | |
# Author: Gustavo Moraes <gustavosotnas1@gmail.com> | |
# | |
# Artigos sobre a linguagem Gherkin/Cucumber: | |
# http://elemarjr.net/2012/04/12/bdd-na-prtica-parte-3-gherkin | |
# http://pt.slideshare.net/edumendes/bdd-com-cucumber-14910137 | |
# | |
# A ferramenta Cucumber é originalmente feita para Ruby, mas pode usada |
# Built application files | |
*.apk | |
*.ap_ | |
# Files for the Dalvik VM | |
*.dex | |
# Java class files | |
*.class |
<activity | |
android:configChanges="keyboardHidden|orientation|screenSize" | |
android:name=".testActivity" | |
android:label="@string/app_name"> | |
</activity> |
#! /bin/bash | |
APP_NAME="Restore GitLab Backup Files by gustavosotnas" | |
# Author: Gustavo Moraes <gustavosotnas@gmail.com> | |
# | |
# Solution based in GitLab's official tutorial to restore backups: | |
# http://doc.gitlab.com/ce/raketasks/backup_restore.html#omnibus-installations | |
# (This script applies to GitLab installations from official .deb package!) | |
# | |
# To backup a GitLab repository server, simply run this command: |
private static String readFile(String filename) throws FileNotFoundException { | |
return new Scanner(new File(filename)).useDelimiter("\\Z").next(); | |
} |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import sys | |
if sys.version_info[0] < 3: | |
print ("Está usando Python 2 né? Atualiza logo!") | |
else: | |
print ("Está usando Python 3, bom...") |
<project name="MyJavaProject" default="dist" basedir="."> | |
<description> | |
simple example build file | |
</description> | |
<!-- set global properties for this build --> | |
<property name="src" location="src"/> | |
<property name="build" location="build/classes"/> | |
<property name="dist" location="dist"/> | |
<target name="init"> |