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
#Crie um arquivo na raiz do repositório chamado .svnignore | |
#Adicione nesse arquivo os patterns de arquivos a serem ignorados. Ex.: *.class | |
#Execute o comando abaixo: | |
$svn propset svn:ignore -RF .svnignore . | |
#PS1 Não esqueça de commitar o arquivo .svnignore :) | |
#PS2 Um arquivo/diretório uma vez adicionado, não poderá mais ser ignorado | |
# a não ser que seja removido. |
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
# Esse exemplo foi testado com o exercicio do capitulo 20 | |
# do curso da Caelum (fj31) | |
# | |
# Para instalar a lib do suds faca como root: | |
# $sudo easy_install suds | |
# digite python no terminal para invocar o interpretador do python. | |
# Em seguida digite as seguintes linhas: | |
>>>from suds.client import Client |
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
<property name="connection.datasource">jdbc/MeuDataSource</property> |
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://wiki.locaweb.com.br/pt-br/Usando_GIT_na_Hospedagem_Linux |
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 cgi | |
from google.appengine.ext import db | |
from google.appengine.api import users | |
from google.appengine.ext import webapp | |
from google.appengine.ext.webapp.util import run_wsgi_app | |
class Greeting(db.Model): | |
author = db.UserProperty() | |
content = db.StringProperty(multiline=True) |
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
find . -type d -name .svn -exec rm -rf {} \; |
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
find . -not \( -name *.svn -prune \) -type f -exec grep -ril HelloWorld {} \; |
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
expand -t 4 "$1" > /tmp/expand.tmp | |
mv /tmp/expand.tmp "$1" |
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
$catalogVersion=catalogVersion(catalog(id[default='electronicsProductCatalog']),version[default='Online'])[unique=true,default='electronicsProductCatalog:Online'] | |
INSERT_UPDATE PriceRow;$catalogVersion;unit(code);price;currency(isocode)[unique=true];channel(code)[unique=true];product(code,$catalogVersion)[unique=true] | |
;;pieces;20.00;USD;;107701 | |
;;pieces;12.34;USD;"mobile";107701 | |
;;pieces;15.00;USD;"desktop";107701 |
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 find libdir/ -name "*.jar" -exec zipgrep -n "Your String Here" '{}' \; |
OlderNewer