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
Utils.waitElement(new String[]{"firstElementId", "secondElemntId"}); | |
public class Utils { | |
public static WebDriver driver; | |
public static WebElement waitElement(final String[] elementIds, int timeout) { | |
return (new WebDriverWait(driver, timeout)) | |
.until(new ExpectedCondition<WebElement>() { | |
@Override |
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
«Фразы-поздравления» Ведущий напоминает, что Новогодняя ночь в самом разгаре, а кое-кто уже с трудом может вспомнить последнюю букву алфавита. Гостям предлагается наполнить бокалы и произнести новогодний тост, но с одним условием. Каждый присутствующий начинает фразу-поздравление с буквы А, и далее по алфавиту. Например: А — Абсолютно счастлив выпить за Новый год! Б — Будьте бдительны, скоро Новый год! В — Выпьем за дам! Особенно весело, когда игра доходит до Г, Ж, П, Ы, Ь, Ъ. Приз получает тот, кто придумал самую смешную фразу.... | |
Все гости на маленьких листочках пишут предложение | |
«А я в следующем году…» и дописывают, то, | |
что он хочет иметь или сделать в следующем году. | |
Все бумажки кладут в шапку Деда Мороза, перемешивают. | |
После этого каждый участник вынимает бумажку и читает вслух. | |
Получается очень смешно. |
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
Илья Муромец скакал три дня и три ночи, пока у него не отобрали скакалку. | |
Налоговая полиция всегда приходит на выручку. | |
Возле пивзавода была задержана банда ракоторговцев. | |
Только 5% белорусов правильно ответили на вопрос социологов «Нравится ли Вам наш Президент?» | |
Колобок долго ворочался, перед тем, как заснуть. |
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
location.href="http://www.appannie.com/apps/google-play/app/" + new RegExp("[\\?&]id=([^&#]*)").exec(location.search)[1] + "/app-ranking/"; |
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
package utils; | |
import com.google.android.gms.ads.AdRequest; | |
import com.google.android.gms.ads.AdSize; | |
import com.google.android.gms.ads.AdView; | |
import utils.Utils; | |
import android.content.Context; | |
import android.preference.Preference; |
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
1-04 14:40:06.811: WARN/GraphicBufferExtra_hal(144): gralloc extra device setBufInfo(...) is not supported | |
01-04 14:40:07.038: WARN/GooglePlayServicesUtil(6385): Google Play services out of date. Requires 6587000 but found 4325034 | |
01-04 14:40:07.072: WARN/GooglePlayServicesUtil(6385): Google Play services out of date. Requires 6587000 but found 4325034 | |
01-04 14:40:07.106: WARN/chromium(6385): [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation | |
01-04 14:40:07.148: WARN/GooglePlayServicesUtil(6385): Google Play services out of date. Requires 6587000 but found 4325034 | |
01-04 14:40:07.249: WARN/GraphicBufferExtra_hal(144): gralloc extra device setBufInfo(...) is not supported | |
01-04 14:40:07.256: WARN/GraphicBufferExtra_hal(144): gralloc extra device setBufInfo(...) is not supported | |
01-04 14:40:07.346: WARN/GooglePlayServicesUtil(6385): Google Play services out of date. Requires 6587000 but found 4325034 | |
01-04 14:40:07.347: ERROR/GooglePlayServicesUtil(6385): GooglePla |
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
01-04 14:52:36.678: WARN/System.err(9136): android.os.DeadObjectException | |
01-04 14:52:36.678: WARN/System.err(9136): at android.os.BinderProxy.transact(Native Method) | |
01-04 14:52:36.678: WARN/System.err(9136): at com.total_book.harry_potter.libraryService.LibraryInterface$Stub$Proxy.getRecentBook(LibraryInterface.java:546) | |
01-04 14:52:36.678: WARN/System.err(9136): at com.total_book.harry_potter.libraryService.BookCollectionShadow.getRecentBook(BookCollectionShadow.java:182) | |
01-04 14:52:36.679: WARN/System.err(9136): at org.geometerplus.fbreader.fbreader.FBReaderApp.openBookInternal(FBReaderApp.java:297) | |
01-04 14:52:36.679: WARN/System.err(9136): at org.geometerplus.fbreader.fbreader.FBReaderApp$2.run(FBReaderApp.java:174) | |
01-04 14:52:36.679: WARN/System.err(9136): at org.geometerplus.android.util.UIUtil$3$1.run(UIUtil.java:120) | |
01-04 14:52:36.694: WARN/System.err(6385): at com.books.harry_potter_stone.libraryService.LibraryInterface$Stub$Proxy.getRecentBook(LibraryInterface.java:546) | |
01-04 14:52:36.699: WARN |
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
06-02 16:33:25.632: WARN/ResourceType(943): No package identifier when getting name for resource number 0x00000025 | |
06-02 16:33:25.634: WARN/ResourceType(943): No package identifier when getting name for resource number 0x00000026 | |
06-02 16:33:25.635: WARN/ResourceType(943): No package identifier when getting name for resource number 0x00000027 | |
06-02 16:33:25.829: WARN/InputReader(708): inCount:16, pointer count:1 | |
06-02 16:33:25.840: WARN/InputReader(708): inCount:16, pointer count:1 | |
06-02 16:33:25.852: WARN/InputReader(708): inCount:16, pointer count:1 | |
06-02 16:33:25.864: WARN/InputReader(708): inCount:16, pointer count:1 | |
06-02 16:33:25.876: WARN/InputReader(708): inCount:16, pointer count:1 | |
06-02 16:33:25.888: WARN/InputReader(708): inCount:16, pointer count:1 | |
06-02 16:33:25.900: WARN/InputReader(708): inCount:16, pointer count:1 |
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 | |
$google_reader = new GoogleReaderAPI( 'gmail@gmail.com', 'password' ); | |
$unread_items = $google_reader ->get_unread(50); | |
foreach( $unread_items -> items as $val ){ | |
//print_r( $val ); | |
$ar_news = array( | |
'title' => $val -> title, |
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 | |
function url_exists($url) { | |
$headers = @get_headers($url); | |
return ($headers[0] == 'HTTP/1.1 200 OK' || $headers[0] == 'HTTP/1.0 200 OK'); | |
} |
OlderNewer