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
| __author__ = 'Kaue Maia' | |
| import turtle | |
| def coracao(): | |
| t1= turtle.Pen() | |
| t1.color('red') | |
| turtle.bgcolor('black') | |
| t1.speed(0) | |
| for ang in range(360): | |
| t1.left(90-ang) |
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
| __author__ = 'kaue' | |
| import turtle,time | |
| colors = ['red', 'purple', 'blue', 'green', 'yellow', 'orange', 'pink'] | |
| t1=turtle.Pen() | |
| turtle.bgcolor('black') | |
| t1.speed(0) | |
| for x in range(1000): | |
| t1.pencolor(colors[x%7]) | |
| if x%2==0: | |
| t1.forward(x) |
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
| wget https://aur.archlinux.org/packages/sp/spotify/spotify.tar.gz && tar -zxvf spotify.tar.gz && cd spotify && makepkg -s | |
| pacman -U spotify<TAB><ENTER> |
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
| #Sorry, in April 30, 2015, with Facebook 2.0 API update only friends that use the app will be show | |
| import urllib.request | |
| import json | |
| def save_image(friend): | |
| size = '/picture?width=200&height=200' | |
| url = 'https://graph.facebook.com/'+ friend['id'] + size | |
| image = urllib.request.urlopen(url).read() | |
| f = open(friend['name'] + '.jpg', 'wb') | |
| f.write(image) |
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
| Sete Atitudes para Hackear a Indústria de Software | |
| 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 |