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
sudo smbmount //[REMOTE IP]/[REMOTE FOLDER] /path/to/existing/local/folder -o username=[username],password=[password] |
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
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $commit_id | xargs tar -rf mytarfile.tar |
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
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 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 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 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
for file in `find . -name "*.xml"`; do xmllint --noout $file; done | |
fará uma busca por todos os arquivos xml recursivamente e mostrará se houver algum com erro de sintaxe, tags nao fechadas, etc |
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
http://www.prowebdev.us/2012/05/amazon-ec2-linux-micro-swap-space.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
iP(hone|od)|(a|A)ndroid.*(m|M)(obile|ini)|(a|A)ndroid 3|BlackBerry|IEMobile|Windows Mobile|Windows Phone|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune|Googlebot-Mobile |
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
<?php | |
/** | |
* PagSeguro Transparente Magento | |
* Helper Class - responsible for helping on gathering config information | |
* | |
* @category RicardoMartins | |
* @package RicardoMartins_PagSeguro | |
* @author Ricardo Martins | |
* @copyright Copyright (c) 2015 Ricardo Martins (http://r-martins.github.io/PagSeguro-Magento-Transparente/) | |
* @license https://opensource.org/licenses/MIT MIT License |
OlderNewer