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
&subset=latin,cyrillic |
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
<meta name="HandheldFriendly" content="True"/> | |
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1, maximum-scale=1,user-scalable=0" /> |
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
// Определяем устройство | |
// Создаем ссылку на CSS | |
var cssLink = document.createElement("link"); | |
cssLink.setAttribute("type", "text/css"); | |
cssLink.setAttribute("rel", "stylesheet"); | |
cssLink.setAttribute("href", "css/mobile.css"); | |
document.head.appendChild(cssLink); |
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
// Определяем устройство | |
var mobile = (/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase())); | |
if(mobile){ | |
// Создаем ссылку на CSS | |
var cssLink = document.createElement("link"); | |
cssLink.setAttribute("type", "text/css"); | |
cssLink.setAttribute("rel", "stylesheet"); | |
cssLink.setAttribute("href", "css/mobile.css"); | |
document.head.appendChild(cssLink); | |
} |
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
// ОБРАБОТКА КОНТЕНТА | |
// автоматически присваиваем ID кнопкам для скрытого текста и самому тексту | |
var id_hide_button=0, id_hide_text=0; | |
$(".hide-text").attr("id", function () { | |
var id="id_hide_text-" + id_hide_text; | |
id_hide_text++; | |
// console.log(id); | |
return id; | |
}); |
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
window.addEventListener("orientationchange", function() { | |
parallax_size(); | |
}, false); |
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
browser-sync | |
browser-sync start --server --files "**/*" // синхронизирует все файлы, | |
// только перед этим нужно войси в директорию с ними с помощью cd |
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
Show hidden characters
/* | |
ASCII-Decorator default settings | |
*/ | |
{ | |
/* Default name of the font file to use. */ | |
// "univers" слишком крупный | |
// "slant" ничего не видно | |
// "standard" тоже слабенько | |
// подбирать можно здесь: http://www.network-science.de/ascii/ но не все шрифты поддерживаются | |
// Ещё дополню, там в выборе, четвёртым сверху пунктом идёт "_all fonts with your text_", |
This file has been truncated, but you can view the full file.
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
{"packages_cache": {"https://raw.githubusercontent.com/cryz/sublime-i18n-and-l10n-helper/master/packages.json": [{"releases": [{"sublime_text": "*", "date": "2013-08-29 04:55:08", "platforms": ["*"], "version": "0.0.3", "url": "https://codeload.github.com/cryz/sublime-i18n-and-l10n-helper/zip/0.0.3"}], "buy": null, "authors": ["z <[email protected]>"], "readme": "https://raw.githubusercontent.com/cryz/sublime-i18n-and-l10n-helper/master/README.md", "labels": [], "homepage": "https://github.com/z---/sublime-i18n-and-l10n-helper", "description": "This is a sublime i18n/l10n plugin.", "previous_names": [], "donate": null, "name": "i18n and l10n Helper", "issues": "https://github.com/z---/sublime-i18n-and-l10n-helper/issues"}], "https://raw.githubusercontent.com/merlinthered/sublime-rainmeter/master/packages.json": [{"releases": [{"sublime_text": "<3000", "date": "2014-01-17 20:25:00", "platforms": ["windows"], "version": "1.0.7", "url": "https://codeload.github.com/merlinthered/sublime-rainmeter/zip/1.0.7"}], "buy": nu |
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
# Сначала оказалось, что лежал сайт (в конце ответа лежит решение позволяющее обойти и эту проблему), | |
# проверяем https://packagecontrol.io/channel_v3.json, но и после возобновления проблема не ушла. | |
# Добавляем в настройки плагинов для пользователя (Preferences > Package Settings > Package Control > Settings - User) каналы: | |
"channels": | |
[ | |
"https://packagecontrol.io/channel_v3.json", | |
"https://web.archive.org/web/20160103232808/https://packagecontrol.io/channel_v3.json", | |
"https://gist.githubusercontent.com/nick1m/660ed046a096dae0b0ab/raw/e6e9e23a0bb48b44537f61025fbc359f8d586eb4/channel_v3.json" |
NewerOlder