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 config --global user.name "Alex-Space" | |
git config --global user.email "[email protected]" | |
git init - новый репозиторий | |
git status - состояние: что было редактировано, что добавлено в индекс для коммита | |
git add . - добавить в индекс все изменения | |
git add file.txt - добавить содержимое файла в индекс | |
git add -i - интерактивное добавление позволяет выбирать файлы, которые надо добавить. Для каждого файоа можно добавить некоторые изменения, другие оставить для следующего коммита. | |
git add -p - про каждое изменение в файле спрашивает, добавить его в индекс или нет -p==patch |
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
http://gnome-look.org/ - куча курсоров и многое другое для стилизации | |
http://softhelp.org.ua/?p=5323 - действия после установки убунты | |
http://dumpz.org/11182/ - коды городов для апплета погода (RSXX0080 - Омск) | |
http://softhelp.org.ua/?p=5653 -- Photoshop на Ubuntu 14.04 (получилось!) | |
http://www.weals.ru/article/read/terminal_ubuntu.html - Команды для консоли в терминале | |
http://windowstheme.ru/paket-oformleniya-ubuntu-skin-pack-dlya-windows-7/ - передел Виндоус в Убунту | |
https://extensions.gnome.org/ - сайт расширений для gnome shell (открывать в firefox) | |
https://github.com/horst3180/Ceti-theme - крутая тема которая у меня встала без проблем( только иконки к ней в встали ) | |
http://gnome-look.org/content/download.php?content=111574&id=1&tan=49359185 - хорошая тема метасити-1 мне нра встала без проблем | |
http://www.webupd8.org/2014/04/install-nemo-220-with-unity-patches-in.htmlhttp://gnome-look.org/content/show.php/Faenza?content=128143 - иконки красивые |
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
/******** Plugin creation ********/ | |
# Первые шаги в WP: | |
1) plugins(wp_content/plugins) | |
2) Там создаем папку с названием плагина в ней одноименный файлик .php | |
3) В него добавляем информацию о плагине, чтобы WP определил его в админке | |
4) Создаем файлик readme.txt, в котором пишем описание плагина (пример - https://wordpress.org/plugins/about/readme.txt) | |
5) Домашнаяя страница для плагина, в ней рассказывается о том как его установить, какие версии WP совместимы с плагином, что менялось от версии к версии вашего плагина, и как его использовать. | |
# В главный файл плагина в самое начало: |
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 make_the_higher() { | |
var elementHeights = $('.main-posts .post-box').map(function() { | |
return $(this).height(); | |
}).get(); | |
// Math.max takes a variable number of arguments | |
// `apply` is equivalent to passing each height as an argument | |
var maxHeight = Math.max.apply(null, elementHeights); |
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
<?php | |
/** | |
* Template name: Контакты | |
*/ | |
get_header(); ?> | |
<!-- SECTION map begin --> | |
<section> | |
<div class="container section-container map-section-container"> | |
<div class="map-section-area"> |
OlderNewer