-
На 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 появляется синяя обводка вокруг ссылок с характерным звуком. Решение:
-
find . -name 'й' | while read f; do echo mv "$f" "${f//й/й}"; done
-
find . -name 'ё' | while read f; do echo mv "$f" "${f//ё/ё}"; done
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
input { | |
file { | |
path => "/var/logs/csv/*.csv" | |
type => "csvdb" | |
start_position => "beginning" | |
} | |
} | |
filter { | |
if [message] =~ /^oid/ { |
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
change package.json | |
{ | |
"name": "haroopad", | |
"version": "0.3.3", | |
"description": "Markdown Editor", | |
"main": "", | |
"homepage": "https://rhiokim.github.com/haroopad", | |
"repository": "git://github.com/rhiokim/haroopad.git", | |
"author": "[email protected]", |
mkdir -p config
touch config/postfix-accounts.cf
docker run --rm
-e MAIL_USER=[email protected]
-e MAIL_PASS=password1
-ti tvial/docker-mailserver:latest
/bin/sh -c 'echo "$MAIL_USER|$(doveadm pw -s SHA512-CRYPT -u $MAIL_USER -p $MAIL_PASS)"' >> config/postfix-accounts.cf
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
RegExpt for getting String before the first comma | |
^([^,])+ | |
... alternative approach (option with selecting all possible characters) | |
^[a-zA-Z0-9\s\-\(\)\_\<\>]+ | |
... and before the first space | |
^([^\s])+ | |
Regexp for removing blank lines |
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
var http = require('http'); | |
http.createServer(function (req, res) { | |
res.writeHead(200, {'Content-Type': 'application/json'}); | |
res.write('{"healthy":true}'); | |
res.end(); | |
}).listen(3000); |
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
uglifyjs --compress --mangle toplevel=true -- bin/index.js |
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
git archive --format zip --output /tmp/dev-project.zip main |
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
os.platform() !== "darwin" | |
// OR | |
process.platform !== 'darwin' |
OlderNewer