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
| А | |
| Битцевский лес, Москва, Россия | |
| прямо | |
| 21 м, Балаклавский проспект | |
| налево | |
| 380 м, Керченская улица | |
| налево | |
| 830 м, Херсонская улица | |
| налево | |
| 300 м, Севастопольский проспект |
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
| <label class="checkbox <?php if ($question['hide_inputs'] == 1) { | |
| echo 'hidden'; | |
| } ?> <?php if ($count_of_headers < 1) { ?> line<?= ($column_build_mode == 'vertical') ? $answer_in_column_in_arr_num_without_headers : $line_num_without_headers; ?> column<?= ($column_build_mode == 'vertical') ? $column_in_arr_num_without_headers + 1 : $column_num_without_headers; ?> <?php } ?>" | |
| for="label_num_<?= ++$label_num . '_' . $question['code']; ?>"><input | |
| id="label_num_<?= $label_num . '_' . $question['code']; ?>" | |
| name="form[<?= $question['id']; ?>][values][]" | |
| data-id="<?= $question['id']; ?>" | |
| <?php | |
| if ($question['min_select'] != 0) echo "min_select='" . $question['min_select'] . "'"; | |
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
| $this->assertEquals( | |
| $criteria->toDialectString(DBTestPool::me()->getDb('\Onphp\PgSQL')->getDialect()), | |
| 'SELECT "test_user"."id" FROM "test_user" WHERE "test_user"."ip" <<= \'192.168.1.1-192.168.1.255\'::ip4r' | |
| ); |
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
| <img src="http://rustoria.ru/user/account/update/?name=hui&lastName=pizda&birthDate=&sex=1&country=&city=&email=ya@ya.ru&about=&imageName=&password=test&personalSite=&socialNetworks[]=" |
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
| <img src="http://habrastorage.org/storage2/af2/2ce/a48/af22cea48ee03714dc205fc3e7c8072a.png" align="right" /> | |
| Если правильно собирать и интерпретировать заголовки, то можно сказать очень многое о устройстве, а возможно и о самом пользователе. В этой статье я расскажу как мы в Wapstart используем сведения, передаваемые в http-заголовках. | |
| Дисклаймер - статья носит обзорный характер. Некоторые вещи могут показаться сообществу слишком "<a href="http://lurkmore.to/Капитан_Очевидность">капитанистыми</a>". | |
| Начну с основ: | |
| Как правило, внутри веба взаимодействие производит по <a href="http://tools.ietf.org/html/rfc2616">протоколу http</a>. | |
| <habracut /> | |
| Минимальный валидный http запрос методом GET выглядит так: | |
| <source> | |
| GET / HTTP/1.0\r\n |
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
| Как сказано на <a href="http://pinba.org/wiki/Main_Page">официальном сайте</a> - | |
| <pre> | |
| Pinba is a realtime monitoring/statistics server for PHP using MySQL as a read-only interface. | |
| </pre> | |
| И это действительно так. Она позволит вам в реальном времени получать статистику по работающему приложению, при этом не замедляя само приложение. | |
| Что делать со статистикой - это уже ваше дело, например мы выводим ее в <a href="http://www.zabbix.com/">заббикс</a> и используем как для мониторинга стабильности (нет ошибок, мало число длинных запросов), так и для аналитики. | |
| Удивительно что про это действительно замечательное изобретение не было еще ни одной статьи на хабре. | |
| <img src="http://pinba.org/img/top-cnt-1d.png" /> | |
| <habracut text="Прочитать еще" /> |