(Russian) Как Передать Домен и Базу Данных с Hestia
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Without further ado, as usual. add a line updateSegment=36 in the section [General] on file /Users/UserName/Library/Preferences/Nextcloud/nextcloud.cfg restart nextcloud and enable
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
curl -v -L http://www.leomed.com.ua/agreement 2>&1 | grep "Moved"
https://www.drupal.org/project/commerce_checkout_order_fields. Just enable it, go to /admin/commerce/config/order-types/default/edit/form-display, scroll down, enable 'Checkout' view, drag/drop fields on the Checkout view, and then go to /admin/commerce/config/checkout-flows/manage/default and add 'Order Fields: Checkout' pane to a step you want. Enjoy
Выполнять от юзера www-data docker exec -it -u 82 dockername /bin/sh ./occ upgrade - обновляет базу ./occ files:scan --all ./occ files:scan grenuy./occ files:scan --path "grenuy/files/Share uWorld" sudo -u www-data php occ files:scan --help Usage: files:scan [-p|--path="..."] [-q|--quiet] [-v|vv|vvv --verbose] [--all] [user_id1] ... [user_idN] Arguments: user_id will rescan all files of the given user(s) Options: --path … Continue reading Некие команды для ./occ
dstat -tdD total,sda,sdb,sdc 60
Для загрузки без docker-compose файл compose.yml можно создать стек такой командой docker stack deploy --compose-file docker-composer-portainer.yml portainer
Проблема много где описана, но решается на уровне рута и настройки базы данных mysql set global innodb_file_format = BARRACUDA; set global innodb_large_prefix = ON; SET GLOBAL innodb_default_row_format = DYNAMIC;
dstat -tdD total,sda,sdb,sdc 60
$node = \Drupal\node\Entity\Node::load($nid); $node->field_kharakteristiki[0]->entity->field_title->value;
<?php kint_require(); Kint::$maxLevels = 4; kint($node);
Good news, it is now possible to mount USB media (including FAT formated) and network shares with drvfs on Windows 10: Mount removable media: (e.g. D:) To safely unmount You can also mount network shares without smbfs: You need at least Build 16176 so you might have to opt-in to the Windows Insider programm and … Continue reading mount USB media in wls(windows linux)
Компания ISPsystem в панелях ISPmanager начиная с версии 5.51 выпустила новую версию бэкапов.Называются ISPtar.Сюда буду писать интересные фичи и ошибки. Бэкап обного пользователя ISPmanager 5 Litesbin/backup2 имя_пользователя ISPmanager 5 Businesssbin/backup2_pro имя_пользователя Если бэкап за сегодня есть а потестить надо, то указываем фэйковую дату:bin/backup2_pro user --date 2016-04-01 Ошибка:backup ERROR isptar finished with error 1. Output: No … Continue reading Новые бэкапы ISPtar в ISPmanager
Обычно предлагается удалять через find и рабочий вариант, но в моем случаи 1.5млн удаляло часов 10 что недопустимо долго так перебирать пошел другим путем через цыклы и маски Удаление заняло несколько минут времени.
varnishlog nginx -s reload && service varnish restart
composer global require drush/drush:8 nano .profile add PATH="$HOME/.config/composer/vendor/bin:$PATH" source ~/.profile
sudo su apt update apt install apache2 mysql nano /etc/apache2/sites-available/sites.loc.conf add in nano /etc/apache2/apache2.conf a2ensite sites.loc service apache2 restart add in c:\Windows\System32\drivers\etc\hosts 127.0.0.1 cprice.loc a2enmod rewrite service apache2 restart Find the php.ini on your server. In wamp you click on the toolbar icon -> select PHP -> select php.ini Push ctrl+ f and find "realpath_cache_size" . … Continue reading Windows 10 subsystem ubuntu apache2 + mysql
sudo mkdir /media/exfat sudo mount -t exfat /dev/sdc1 /media/exfat sudo umount /dev/sdc1
Нужно отредактировать файл /vendor/commerceguys/addressing/resources/subdivision/UA.json { "country_code": "UA", "locale": "ru",
{{ content.field_ssylka|render|striptags|trim }} example: <a href="{{ content.field_ssylka|render|striptags|trim }}"> {{ content.field_ikonka_sverkhu }} {{ content.field_jgb }}</a>
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O- | sed -rn 's/.confirm=([0-9A-Za-z_]+)./\1\n/p')&id=FILEID" -O FILENAME && rm -rf /tmp/cookies.txt
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
На одном из проектов нужно было давать архив всех измененых файлов с каталогами. Причем именно архив. Первая мысль git но блин на сервере у клиента нельзя установить гит, а его админ доступов не дает, и только архив с изменениями хочет. Нашел выход достаточно простой который решил мои проблемы git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT idCommit … Continue reading Commit in arhive
Установить друпал можно через командную строку в одну строку!!!! Ну если быть точнее через две. #Первая строка скачивает drupal drush dl drupal #установка друпалла drush site-install standard --account-name=LoginAdmin --account-pass=passwordAdmin --db-url=mysql://UserDB:PasswordDB@localhost/NameDB Больше команд можно почитать здесь
cmd от админа 1. ipconfig /release 2. ipconfig /renew (может долговато выполняться) 3. ipconfig /flushdns Все, вот так просто три команды и проблем нет 🙂
Первый шаг, попытаюсь зарегаться на сайте dir.ikernel.org, они очень просили опубликовать обратную ссылку, вот и опубликую здесь 🙂 Глобальный каталог сайтов
1. Установка друпал #скачать ядро drush dl drupal-7 #перенести файлы в корень mv drupal-7.x-dev/{.,*}* . #удалить пустую папку rm -r drupal-7.x-dev/ #фикс прав find * -type d -exec chmod 755 {} \; find * -type f -exec chmod 644 {} \; #установка друпалла drush site-install standard --account-name=LoginAdmin --account-pass=passwordAdmin --db-url=mysql://UserDB:PasswordDB@localhost/NameDB #отключаем 2 лишние модули drush dis … Continue reading Drush worck shop
git rm -r --cached . git add . git commit -m "fixed untracked files"
drush up — обновление ядра и модулей Drupal. drush cc all — очистка всего кеша сайта. drush pm-list — список всех модулей и тем установленных на сайте, а также их версии и статус активности. drush dl module — загружает модуль или тему. Несколько значений пишится через пробел. drush en module — включает указанный модуль или … Continue reading DRUSH
«Люди не змінюються міняються умов, змінюється світ», «умови змінюють людей», «люди пристосовуються до постійно змінного світу» . Напевно кожен з мас не раз чув подібні вислови і з деякими погоджувались з іншими ні, залежно від того що було вигідніше в цій чи іншій ситуації. Але в чому ж істина, чи змінюється людини, чи і через … Continue reading рівень особистого розвитку
Буває в житті перехідний момент коли вже всі таракани в голові не такі ж і великі і з ними можна змиритись, коли набридає боротись з собою і іншими, коли хай їдуть колесом думки інших які не погоджуються з тобою. І в такі моменти вже стає зрозуміло що ти хоч, що ти від себе приховував. Можна … Continue reading Початок чогось нового
Сначала нужно выполнить в cmd cinst imagemagick а далее просто mogrify -quality 60 -format jpg *.png И все чудно перегониться с jpg в png и сохранить 60% качества
Не так давно открыл для себя прелестную возможность у Windows того что очень не хватало, и одно из того чем очень сильно привлекает linux, это установка приложений из командной строки а так же обновления всех приложений одной командой Очень клево будте для различных админов или "настройщиков" Windows можно установить 90% всех необходимых программ(а то и … Continue reading cinst chocolatey.org apt-get для Windows
Для того что применить к всем пользователям патч нужно создать файл на сервере (к примеру в корне) с именем к примеру pathc.patch. Текст в файле, в нашем случаи можно взять, здесь https://www.drupal.org/files/issues/SA-CORE-2014-005-D7.patch И зайдя через SSH выполнить команду for i in /home/www/*/data/www/* ; do cd "$i"; echo "$i"; patch -p1 < /patch.patch; done Путь конечно … Continue reading Массовое применение patch drupal 7.32
Пример анимации на CSS очень прикольно! 🙂 .uwloader{ background: url(http://my-opinions.info/wp-content/uploads/2014/09/preloader.png) no-repeat; background-size: 80px 80px; position: fixed; top: 50%; left: 50%; margin-left: -30px; margin-top: -30px; width: 80px; height: 80px; -webkit-animation: rotateplane 2s infinite ease-in-out; animation: rotateplane 2s infinite ease-in-out; } @-webkit-keyframes rotateplane { 0% { -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg) } 25% { -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg) … Continue reading Анимация css
ubercard 3.5 нашел решения с некоторыми коректировками // making the product quantities FLOAT instead INTEGER Drupal 7, Ubercart 3.1 //// DATABASE CHANGES Four ubercart tables alterations are made from sql terminal (mysql -u ADMIN_USER -p , use DATABASE_NAME ) 1) The UC_CART_PRODUCTS table intersect the UC_CARTS table and the UC_PRODUCTS table. The column ц╒Б┌╛е⌠qtyц╒Б┌╛б² is … Continue reading Дробное количество ubercart 3
Как всегда не буду тянуть заходим в SSH и вводим такую вот строчку for i in /home/www/grenuy/data/www/*/sites/.. ; do cd "$i"; drush updb; drush en update; yes | drush pm-update ; drush up drupal ; drush updb ; done grenuy это имя пользователя путь может быть немного видоизмененным в зависимости от сервера. Скрипт может … Continue reading Drush update all module and drupal automatic more site
Sorry, this entry is only available in Russian.
Багато кому не один раз говорили, що йому пора вирости, або стать дорослим, але ніхто навіть не задумувався, що це означає чи, що це може змінити... Я пам'ятаю як ще рік назад я спокійно перебуваючи в своїй кімнаті міг мріяти: я міг відчути невагомість, а через мить летіти з парашутом на спині і дивитись як … Continue reading Що означає стати дорослим?
Кожен з нас хоч рас в житті робив щось спонтанно. З цими діями пов'язані най божевільніші вчинки нашого життя і яскраві спогади, які залишаються з нами на довгі роки. На мою думку: Спонтанні дії - це дії які людина робить коли відкидає всі за і проти, всі страхи і переживання, всі думки, всі зовнішні і … Continue reading Спонтанні рішення і їх важливість..
песиміст / оптиміст MAKE YOUR CHOICE... Задатки характеру чи власний вибір бути песимістом чи оптимістом..) Закономірність, Факт, Абсурд - називай як хочеш, але думки матеріалізуються, відчуття притягують ситуації в яких ти себе будеш відчувати так-само. То чи не краще бути оптимістом і радіти життю, ніж бути песимістом? Науковці вияснили, що оптимісти і песимісти під час … Continue reading песиміст / оптиміст MAKE YOUR CHOICE…
Как всегда мало водного текста, сразу код, ниже немного разъяснения по нему $this->db->select("*") ->from("schedule") ->order_by("schedule.dayofweek", "asc") ->order_by("schedule.lesson_number", "asc") ->order_by("date_approve", "desc"); $s = $this->db->_compile_select(); $this->db->_reset_select(); $dbprefix = $this->db->dbprefix; $this->db->set_dbprefix(''); $this->db->select("*") ->from('(' . $s . ') as ' . $this->db->dbprefix . 'schedule_tmp'); $this->db->set_dbprefix($dbprefix); $this->db->join("lessons", "lessons.lesson_id = schedule_tmp.lesson_id", "left") ->join("students", "schedule_tmp.class_id = students.class_id") ->where("schedule_tmp.class_id", $class_id) ->where("schedule_tmp.date_approve
I had a task to be empathetic and active today. To start today was the day Badi, and naturally thought as the Badi to please, and it turned out, now I will take her agruz, plum, cherry, with its own garden. Next, the team has helped with the designer, but I realized that the initiative … Continue reading What I was now # 1
That was not long ago I was drawn into the agency "Development" on-course. First, in the first stage, then decided to go to LP. This level courses I do not know the first step even so-so, of course cool but still it is not as much as you expected, there were some exercises that will … Continue reading LP program in the agency “Development”
It's no longer the post as well primetka for myself that would not have forgotten At output you get an object with a pre-packaged xml. That's super easy and super convenient. The only thing that should probably be noted that this method requires php5 and I understand some module, well, I have gone without a … Continue reading XML -> PHP
Since the beginning of this article you can find by clicking on the link In this part, would like to talk, why, still, as promoted by alcohol, and other degraded product in Ukraine. In fact, all very trite, prosaic and transparent. I will bring a simple example of how to think, easier to convince someone … Continue reading Alcoholism part 2
How do you want to sleep in the morning, as I do not want to get up. But if you wake up, you need to learn is to get up, except perhaps in those cases, if awakened by the noise / poor sleep, because the time to fill up that still does not add power, … Continue reading Better than waking up to sleep
Began studying CodeIgniter, very Kulnev ferymvork, according to the author of the fastest of the existing framework. So wait for new articles on the CodeIgniter. What good is a very good documentation, and start simply enough ... By the way Russian docks on CodeIgniter version 2.0.0 can be found here http://whitepiano.ru/user_guide/ so happy to delve … Continue reading Began studying CodeIgniter
Все очень просто заходим в раздел настройки bueditor-a http://*****/admin/settings/bueditor Возле желаймого редактора тыкаем изменить, получаем следующее Вставив код в ячейку кода [PHP]js: E.tagChooser([ ['code', 'Bash', {'class': 'bash'}], ['code', 'C', {'class': 'c'}], ['code', 'C++', {'class': 'cpp'}], ['code', 'C#', {'class': 'csharp'}], ['code', 'Pascal', {'class': 'pascal'}], ['code', 'Php', {'class': 'php'}], ['code', 'Css', {'class': 'css'}], ['code', 'html', {'class': 'html4strict'}], … Continue reading Drupal BuEditor разметка php css html c++ и т.д.
Can anyone come in handy, did a little bit perverted, but it works, sort, and finally finished the pattern the essence of all that the name node, which is sorted, renamed when visiting the home page. Accordingly, when sorting each time a new order will
page.tpl.php Basic template for a page.Accessible variables: $head_title is a header of page $head is all information in head $styles are styles $scripts are scripts $classes are classes for body $header is a cap which we took away in a separate template $REGION_NAME are variables with the names of regions $messages are system reports $tabs … Continue reading Variables in the subject Drupal
I'm shocked how much solder is now the people in Ukraine and Russia. brazenly promotes "normal" use, while still splurge supposedly struggling against it all! In addition to already people there is a perception about what 1 glass of wine a day is helpful , so that there people, half if not more, attendants say! … Continue reading Alcoholism Part 1
That is needed to rebuild the $ content variable in taksomanii, Link taksomanii was such a taxonomy/term/1 the output was supposed to get here this html one record
Sorry, this entry is only available in Russian.
In order that would make the home page you can create a unique file in the template with the name of page-front.tpl.php, but if you create a template and you simply need to determine a home page or not, you can use drupal_is_front_page. If the current home page - TRUE, otherwise - FALSE. So we … Continue reading Home in Drupal (home page of drupal)
Вот как то долго не настраивал PhpMyAdmin, а потом взял и настроил! ) создаем в корне папки PhpMyAdmin файл config.inc.php и вставляем туда вот такое
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Sorry, this entry is only available in Russian.
Zadachka needed in the template display the latest news of a certain category on the home. Well established in the template file home.php. And place prescribed
Sorry, this entry is only available in Russian.