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 clone repo_main | |
git clone repo_sub | |
cd repo_main | |
git remote add repo_sub ../repo_sub | |
git fetch repo_sub | |
git checkout -b repo_sub repo_sub/master | |
mkdir dir_repo_sub |
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
# verifica encoding do arquivo | |
$ file -I script_perebento.sql | |
$ file -bI script_perebento.sql | |
# converte arquivo de ISO-8859-1 para UTF-8 | |
$ iconv -f ISO-8859-1 -t UTF-8 script_perebento.sql > script_bonitao.sql |
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
package org.scribe.builder.api; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
import org.scribe.exceptions.OAuthException; | |
import org.scribe.extractors.AccessTokenExtractor; | |
import org.scribe.model.OAuthConfig; | |
import org.scribe.model.OAuthConstants; | |
import org.scribe.model.OAuthRequest; |
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
import java.io.Serializable; | |
import java.util.List; | |
/** | |
* Interface filha de java.util.List que contém dados usados para paginação de resultados. | |
* | |
* @author Otávio Scherer Garcia | |
* @param <E> Tipo da classe interna armazenada na lista. | |
*/ | |
public interface PaginatedList<E> |