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 json | |
import os | |
import time | |
import requests | |
from PIL import Image | |
from StringIO import StringIO | |
from requests.exceptions import ConnectionError | |
def go(query, path): | |
"""Download full size images from Google image search. |
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
/* Общая базовая линия */ | |
body{background: #fefefe; min-height: 100%; font: 14px/130% Helvetica, Arial, sans-serif; margin: 2em 3em;} | |
p {width: 16em;} | |
.bigger {font-size: 18px; line-height: 100%;} |
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
/* Быстрый тест состояния кнопок */ | |
body {background: #ffffff; min-height: 100%;} | |
#button {width: 120px; height: 56px;} | |
#button {background-image: url(https://dl.dropbox.com/u/2323744/i/1.png); } | |
#button:hover {background-image: url(https://dl.dropbox.com/u/2323744/i/2.png);} | |
#button:active {background-image: url(https://dl.dropbox.com/u/2323744/i/3.png);} | |
#button:active {transition: none;} | |
* {transition: background 0.3s linear;}; /* Анимируй всё! */ |
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
/* Тест кнопок, спрайты в одном файле */ | |
body {background: #ffffff; min-height: 100%;} | |
#button {width: 120px; height: 56px;} | |
#button {background-image: url(https://dl.dropbox.com/u/2323744/i/3states.png); } | |
#button:hover {background-position-x: 240px;} | |
#button:active {background-position-x: 120px;} | |
#button:active {transition: none;} | |
* {transition: background-image 0.3s linear;}; /* Анимируй всё! */ |
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
/* Zona tray icon animation test */ | |
body {background: #ffffff; min-height: 100%; font-family: Helvetica, sans-serif;} | |
#holder {text-align: center;} | |
#icon, #icon2 { | |
-webkit-animation-play-state: running; | |
-o-animation-play-state: running; | |
animation-play-state: running; | |
-webkit-animation-iteration-count: infinite; | |
-o-animation-iteration-count: infinite; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
input { | |
height: 34px; | |
pagging: 2em 2em; | |
margin: 2em; | |
} |
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
/** | |
* Weather Block | |
*/ | |
body { | |
font-size: 11px; | |
font-family: Arial, sans-serif; | |
} | |
.ts { | |
font-size: 50%; |
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
/** | |
* Тестер фона | |
*/ | |
background: #EBEFF0 url('http://ashapiro.ru/reps/test/mediahit-background.png'); | |
min-height: 100%; |
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
/** | |
* Тестер фона | |
*/ | |
/* background: #EBEFF0 url('http://ashapiro.ru/reps/test/mediahit-background.png'); */ | |
background: #D8D5D0 url('http://d.pr/i/6cTr+'); | |
min-height: 100%; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: #fff; | |
/*background: linear-gradient(45deg, #f06, yellow); */ | |
min-height: 100%; | |
} | |
.head { |
OlderNewer