Skip to content

Instantly share code, notes, and snippets.

View valenso's full-sized avatar
👾
I may be slow to respond.

Valentin valenso

👾
I may be slow to respond.
View GitHub Profile
Request URL:http://www.alfastrah.ru/
Request Method:GET
Status Code:403 Forbidden
Remote Address:178.248.234.43:80
Response Headers
view source
Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection:keep-alive
Content-Length:118
Content-Type:text/html; charset=UTF-8
Request URL:http://helloblogger.ru/parse/?url=http%3A%2F%2Fvalenso.me
Request Method:GET
Status Code:200 OK
Remote Address:159.253.22.171:80
Response Headers
view source
Connection:keep-alive
Content-Encoding:gzip
Content-Type:application/json
Date:Tue, 05 Apr 2016 10:06:43 GMT
Request URL:http://helloblogger.ru/parse/?url=http%3A%2F%2Fvalenso.me%2Feyeem-office%2F
Request Method:GET
Status Code:500 INTERNAL SERVER ERROR
Remote Address:159.253.22.171:80
Response Headers
view source
Connection:keep-alive
Content-Type:text/html; charset=utf-8
Date:Tue, 05 Apr 2016 10:05:20 GMT
Server:nginx
2016-03-11T17:28:20.006310+00:00 heroku[web.1]: Restarting
2016-03-11T17:28:21.957210+00:00 heroku[web.1]: Starting process with command `bundle exec ruby telegram.rb -p 4567`
2016-03-11T17:28:24.158336+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2016-03-11T17:28:24.848390+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/api.rb:49:in `call': Telegram API has returned the error. (ok: "false", error_code: "409", description: "[Error]: Conflict: terminated by other long poll or webhook") (Telegram::Bot::Exceptions::ResponseError)
2016-03-11T17:28:24.848409+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/client.rb:34:in `fetch_updates'
2016-03-11T17:28:24.848406+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/telegram/bot/api.rb:40:in `method_missing'
2016-03-11T17:28:24.848410+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/telegram-bot-ruby-0.4.1/lib/tel
for i in *.yml; do mv $i `basename $i ru.yml`en.yml; done

#Getting Started

##Webpage:

<html>
<head>
    <title>Testing with Ruby and Selenium WebDriver</title>
</head>
 
<body bgcolor="antiquewhite">
<?
IncludeModuleLangFile(__FILE__);
class CSocServFacebook extends CSocServAuth
{
const ID = "Facebook";
const CONTROLLER_URL = "https://www.bitrix24.ru/controller";
protected $entityOAuth = null;
@valenso
valenso / Localization checklist.md
Last active August 29, 2015 14:04
Чек-лист менеджера по переводам (о чем не забыть, когда готовим новый язык)
  1. Лицензионное соглашение
  2. Описание в магазинах приложений
  3. Email уведомления
  4. Push уведомления
  5. Экран оплаты (Android, если у вас есть встроенные покупки)
  6. Переводы сообщений об ошибках
Оператор Баланс Свой номер
ТЕЛЕ2 *105# *201#
Мегафон *100# *205#
МТС *100# 1110887#
Билайн *102# 11010#
code = @wait.until {
element = @browser.find_element(:name, "secretcode")
element if (element.text.size == 4)?
}
next_step = @wait.until {
element = @browser.find_element(:id, "next")
element if element.displayed?
}
next_step.click