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
----------------------------------------- | |
Novos branches | |
----------------------------------------- | |
1 - Criar branch | |
1.1 - Atualizar repositório do trunk | |
svn up | |
1.2 - Fazer cópia do trunk para a pasta dos branches | |
svn cp http://svn.fcl.com.br/svn/<nome-do-projeto>/trunk http://svn.fcl.com.br/svn/<nome-do-projeto>/branches/<nome-do-branch> -m "Comentário..." |
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
/* A resposta para a vida o universo e tudo mais = 42. Douglas Adams (Guia do mochileiro das galáxias) | |
* | |
* Google: https://www.google.com/webhp?sourceid=chrome-instant&ie=UTF-8&ion=1#hl=pt-BR&safe=off&sclient=psy- ab&q=resposta%20para%20a%20vida%20o%20universo%20e%20tudo%20mais&oq=&gs_l=&pbx=1&fp=e8f2ebbc99d26e1a&ion=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&biw=1920&bih=915 | |
* | |
* What the fuck Javascript: http://wtfjs.com/2011/11/11/the-universe-answers-and-JavaScript-still-makes-us-wtf | |
*/ | |
var resposta = "3" -+-+-+ "1" + "1" / "3" * "6" + "2"; | |
alert(resposta); |
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
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
# export ZSH_THEME="random" | |
export ZSH_THEME="prose" |
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
# Theme based on: | |
# http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/ | |
# http://fendrich.se/blog/2012/09/28/no/ | |
function prompt_char { | |
git branch >/dev/null 2>/dev/null && echo '±' && return | |
hg root >/dev/null 2>/dev/null && echo '☿' && return | |
echo '%(!.!.➜)' | |
} |
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
# Removing a branch | |
Local : git branch -D <branch> | |
Remote : git push origin :<branch> | |
#--------------------------- | |
# Rename commit message | |
# ref: http://darrinholst.com/post/359817782 |
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
#===================================== | |
# locale | |
locale-gen pt_BR pt_BR.UTF-8 | |
dpkg-reconfigure locales | |
#===================================== | |
# timezone | |
# change non interactive |
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
# apache - mysql - mongo - redis - php5 - ruby + python + postgresql + gearman + memcache | |
# Refs: | |
# https://help.ubuntu.com/community/ApacheMySQLPHP | |
# https://docs.google.com/document/d/1m4xb0lmgxzmi4OnLPZp5A7Thab-xL-_SfZi1bq7c18Q/edit | |
# :: Apache :: | |
# :: PHP :: |
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
@echo off | |
cls | |
:: Especifica para o rails o ambiente da aplicação | |
set RAILS_ENV=production | |
:: Diretório corrente | |
set current_path=%CD% | |
:: Diretório da aplicação | |
set application_path=%CD%\application | |
:: Diretório dos binários do ruby |
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 | |
/** | |
* SplClassLoader implementation that implements the technical interoperability | |
* standards for PHP 5.3 namespaces and class names. | |
* | |
* http://groups.google.com/group/php-standards/web/final-proposal | |
* | |
* // Example which loads classes for the Doctrine Common package in the | |
* // Doctrine\Common namespace. |
OlderNewer