-
На iOS устройствах числовые значения подчёркиваются синим. Эта проблема возникает из-за того, что iOS устройства по умолчанию считают все числа похожие на телефонные номера - телефонными номерами. Решается добавлением
<meta name="format-detection" content="telephone=no" />Тоже самое касается адреса:<meta name="format-detection" content="address=no" /> -
Пользователь может уменьшать и увеличивать приложение. Решается добавляением тега
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> -
Ссылки нажимаются с задержкой (примерно 300ms). Решается подпиской на событие touchstart и принудительной инициализацией события click после него. Если проблема всё равно возникает - ничего не поделать, надо облегчать dom.
-
В android появляется синяя обводка вокруг ссылок с характерным звуком. Решение:
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
| The default certbot cron hooks have been disabled! │ | |
| │ │ | |
| │ The global cron hooks as provided by Ubuntu PPA packages would disrupt any custom setup for renewals possibly causing the renewals of the certificates to fail. │ | |
| │ │ | |
| │ As of 0.12.0 version of the packages, the default cron hooks have been removed. You have two options if you want to keep the existing functionality: │ | |
| │ |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html charset=UTF-8" /> | |
| <style type="text/css"> | |
| table {border-collapse:separate;} | |
| a, a:link, a:visited {text-decoration: none; color: #00788a;} | |
| a:hover {text-decoration: underline;} | |
| h2,h2 a,h2 a:visited,h3,h3 a,h3 a:visited,h4,h5,h6,.t_cht {color:#000 !important;} | |
| .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td {line-height: 100%;} |
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 script will boot app.js with the number of workers | |
| // specified in WORKER_COUNT. | |
| // | |
| // The master will respond to SIGHUP, which will trigger | |
| // restarting all the workers and reloading the app. | |
| var cluster = require('cluster'); | |
| var workerCount = process.env.WORKER_COUNT || 2; | |
| // Defines what each worker needs to run |
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
| <div ng-app="ExampleAutocomplete"> | |
| <div ng-controller="ExampleCtrl"> | |
| <my-autocomplete on-find="find(substr)" users="users"> | |
| </my-autocomplete> | |
| </div> | |
| </div> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| </head> | |
| <body> | |
| <div id="output"></div> | |
| </body> | |
| <script type="text/javascript"> | |
| var TreeNode = function(data) { |
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
| color = { | |
| toHex: function(num){ | |
| var str = num.toString(16); | |
| return (str.length<6?'#00'+str:'#'+str); | |
| }, | |
| toNum: function(hex){ | |
| return parseInt(hex.replace('#',''), 16); | |
| }, | |
| rgbToHex: function(color) | |
| { |
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
| (function(d){ | |
| // table tr td td td | |
| var turnLeft = d.querySelector('#turnLeft'), | |
| turnRight = d.querySelector('#turnRight'), | |
| monthDate = d.querySelector('#monthDate'); | |
| function displayDate(d, s) { | |
| var | |
| monthNames = ['Январь','Февраль','Март','Апрель','Май','Июнь','Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], | |
| currentDate = new Date(); | |
| d = d || new Date(); |
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
| /* Copyright (C) Hola 2012, 2013 | |
| * | |
| * Добро пожаловать на олимпиаду программистов Hola! | |
| * | |
| * ПРАВИЛА: | |
| * - Идеальное решение до 28-May-13 принесет вам 500 долларов США! | |
| * - В случае хорошего (но не идеального) решения, мы вышлем замечания, чтобы | |
| * помочь вам доработать код. | |
| * - Идеальный ответ со второй попытки принесет вам 250 долларов США. | |
| * |
NewerOlder