brew update
brew install pyenv
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
{% if form.non_field_errors %} | |
<div class="alert alert-error"> | |
{% for error in form.non_field_errors %} | |
{{error}} | |
{% endfor %} | |
</div> | |
{% endif %} | |
<form class="form-horizontal" action="{{ form_action }}" method="post" | |
enctype="multipart/form-data" id="form-novo-movimento" name="form-novo-movimento"> |
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
//@author @tiagoamx | |
// Clear the contents of the iframe after being loaded | |
$("#iframeid").contents().find("body").html(""); |
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
import string | |
def remove_accents(data): | |
return ''.join(x for x in unicodedata.normalize('NFKD', data) if x in string.ascii_letters).lower() |