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 Passo: | |
1- Acesse a pasta do jogo e clique com o botão direito sobre o arquivo 3Dconfig.exe" e selecione propriedades. | |
2- Após, selecione a aba Compatibilidade e marque a caixa "executar este programa em modo de compatibilidade" e selecione "Windows XP SP2" | |
e marque a caixa "Executar este programa como administrador". | |
3 - Execute o arquivo 3DConfig e faça a configuração da sua placa. | |
4 - Se houverem outros executaveis, altere a execucao para todos. | |
Para resolver o bug da imagem 3d do carro: | |
1 - Abra o arquivo "Config.ini" na pasta principal do jogo(onde fica o executável) | |
procure essas linhas e deixe assim: |
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
Este guia tem por objetivo facilitar a minha vida para ter o meu ambiente restaurado ou construído do zero, mas pode ser utilizado por qualquer outra pessoa que goste de um ubuntu ainda mais fácil para utilizar no desenvolvimento de aplicações PHP com repositórios Git. Não estão colocados aqui detalhes sobre instalação de banco de dados, e o hardwar alvo é um macbook pro 17" i7 com HD SSD. | |
COLOCANDO UM SAY COMO DO MAC NO LINUX | |
sudo apt-get install gnustep-gui-runtime | |
say "hello" | |
1 - Install Ubuntu Unity LTS - Update and upgrade | |
2 - Install Nvidia driver and reboot | |
3 - Install Gnome Desktop over Ubuntu |
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
Use Imagick to manipulate PSD file instances in PHP | |
Time: Jan 15, 2017 From Machine Translation. | |
php | |
References: | |
Http://www.php.net/manual/en/book.imagick.php | |
premise | |
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 f -name "*.php" -exec php -l '{}' \; |
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' `pwd` > file_with_boms.txt | |
while read l; do sed -i '1 s/^\xef\xbb\xbf//' $l; done < file_with_boms.txt |
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
#!/bin/sh | |
alias errcho='>&2 echo' | |
if [ ! $REPO ]; then | |
errcho "No \$REPO to clone from; | |
exit 1; | |
fi | |
if [ ! $BRANCH ]; then |
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
#!/bin/bash | |
# expected to be defined in the environment | |
# - AZURE_STORAGE_ACCOUNT | |
# - AZURE_CONTAINER_NAME | |
# - AZURE_ACCESS_KEY | |
# - CURRDATE | |
# - FILE_EXTENSION | |
# - APP_ENV |
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
0 - Install supported version of docker and docker compose (in docker hosts too) | |
apt-get remove docker* | |
curl https://releases.rancher.com/install-docker/17.03.sh | sh | |
sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
1 - Start your Rancher instance, locked for the outside world: | |
docker run -d --restart=unless-stopped --name rancher-server -p 0.0.0.0:8080:8080 rancher/server:stable |
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
Requirements: | |
apt-get install pv original-awk | |
Creating: | |
tar cf - folder_you_will_compress -P | pv -s $(du -sb folder_you_will_compress | awk '{print $1}') | gzip > compressed_folder.tgz | |
Unpacking: | |
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
You will need: | |
1 - ViewController | |
2 - Scroll View | |
3 - Scroll content view | |
4 - Button (with text and image that will be replaced when you click) | |
5 - WebView | |
6 - Greyline at the bottom | |
In your layout, the Webview stays between the button and the grey line, with 0 height |