This file contains hidden or 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
speaker-test -c 2 -r 48000 -D hw:0,3 | |
- pausar o teste com ctrl+c | |
- e depois o hdmi aparecera no treco de som |
This file contains hidden or 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
grep -rl $'\xEF\xBB\xBF' . | |
Mais info em | |
http://stackoverflow.com/questions/204765/elegant-way-to-search-for-utf-8-files-with-bom |
This file contains hidden or 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
Alguns programas (que usam GTK) no Ubuntu nao funcionam a Ç cedilha com ' + c. | |
Pra resolver: | |
Problem with cedilla: | |
After many versions of Ubuntu assigning accented c (“ć”) instead of c with a cedilla (“ç”) when typing ‘ + c in deadkeys keyboard layouts, since Ubuntu 11.10 GTK changed the default in an U.S. English locale back to the cedilla. However, non-GTK applications (e.g., Skype) still have the old behavior. To fix them, edit as root the file /usr/share/X11/locale/en_US.UTF-8/Compose and change all instances of ć with ç, and all instances of Ć with Ç. | |
You might need to repeat this operation from time to time, when you upgrade your system and it takes the configuration files back to their original contents. |
This file contains hidden or 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
Primeiro devemos ter o text_list inserido em algum ponto-chave da pagina com o $this->getChildHtml().. | |
No XML ficaria assim: | |
<block type="core/text_list" name="before_main_div_end" as="before_main_div_end" translate="label"> | |
<label>Fim do conteudo principal da pagina</label> | |
</block> | |
Depois é só inserir os phtml qdo necessário... Ex: |
This file contains hidden or 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
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $commit_id | xargs tar -rf mytarfile.tar |
This file contains hidden or 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
sudo smbmount //[REMOTE IP]/[REMOTE FOLDER] /path/to/existing/local/folder -o username=[username],password=[password] |
NewerOlder