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 | |
// this script requires the instalation of the Oauth library | |
// http://br.php.net/manual/en/book.oauth.php | |
$api_url = 'http://www.redu.com.br/api'; | |
$authorize_url = 'http://www.redu.com.br/oauth/authorize'; | |
$request_token_url = 'http://www.redu.com.br/oauth/request_token'; | |
$access_token_url = 'http://www.redu.com.br/oauth/access_token'; | |
$consumer_key = 'PUT_YOUR_CONSUMER_KEY_HERE'; |
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 urlparse | |
import oauth2 as oauth | |
import requests | |
# First of all fill in your consumer key and secret you get when | |
# you create your application at Redu | |
consumer_key = 'YOUR_CONSUMER_KEY_HERE' | |
consumer_secret = 'YOUR_CONSUMER_SECRET_HERE' |
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
Section "Monitor" | |
Identifier "Configured Monitor" | |
EndSection | |
Section "Screen" | |
Identifier "Default Screen" | |
Monitor "Configured Monitor" | |
Device "Configured Video Device" | |
EndSection |
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
Instalação do Ruby 1.8/Rails 3 usando o RVM no Ubuntu | |
1) Colar essa linha no terminal (bash) | |
$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)l libssl-dev libreadline5-dev zlib1g-dev | |
2) Instalar a versão 1.8.7 do ruby com | |
$ rvm install 1.8.7 |
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
By Klaus Wuestefeld | |
1) Torne-se excelente. | |
Seja realmente bom em alguma coisa. Não fique só choramingando ou | |
querendo progredir às custas dos outros. Não pense q pq vc sentou 4 | |
anos numa faculdade ouvindo um professor falar sobre software q vc | |
sabe alguma coisa. Jogador de futebol não aprende a jogar bola tendo | |
aula. Ele pratica. Instrumentistas geniais nao aprendem a tocar tendo | |
aula. Eles praticam. Pratique. Chegue em casa depois do trabalho e da |
NewerOlder