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
#!/bin/bash | |
# Проходим по порядку все директории пользователей в /home | |
# и меняем владельца подпапки /home/%user%/web/ на этого пользователя и одноимённую группу | |
for dir in `ls -F1 /home/ | grep -e ./ | tr -d \/` | |
do | |
echo 'Fix owner and group for directory:' $dir | |
user=$dir | |
group=$user |
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
# Установка RVM - Ruby Version Manager - утилита для установки нескольких версий Ruby на Linux | |
\curl -L https://get.rvm.io | bash -s stable --ruby | |
Далее попросит загрузить ключ: | |
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
Скопировать и выполнить эту команду, а затем ещё раз повторить установку: | |
\curl -L https://get.rvm.io | bash -s stable --ruby |
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
Удвоение продаж в интернет-магазине | |
FB2: | |
https://goo.gl/PgvJGK | |
PDF: | |
https://goo.gl/U5xoL7 | |
Чек-лист создания интернет-магазина | |
https://goo.gl/Kp9wpw |
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
Чеклист верстки (чтобы отдавать клиенту - выполнить первые 5 пунктов): | |
https://github.com/ihorzenich/html5checklist/ | |
Стартовые шаблоны: | |
https://html5boilerplate.com/ | |
http://www.initializr.com/ | |
Требования к HTML-вёрстке: | |
https://habrahabr.ru/post/101464/ |
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
SEO-чек-лист: | |
http://www.seochecklist.ru/ | |
https://docs.google.com/spreadsheets/d/1_d67ieJEE3ozZdkdLVkoekpTwtjYhAGY9PQeYXiikPY/edit?usp=sharing | |
Скорость сайта: | |
https://developers.google.com/speed/pagespeed/insights/?hl=ru | |
http://webpagetest.org | |
Как увеличить скорость сайта: | |
https://developers.google.com/speed/docs/insights/rules |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Multiple Modals With Semantic UI</title> | |
<link rel="stylesheet" href="path_to_semantic/dist/semantic.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> | |
<script src="path_to_semantic/dist/semantic.js"></script> | |
</head> | |
<body> |
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
In XenCenter, attach xs-tools.iso to the DVD drive of the VM. Then mount xs-tools.iso, install the correct XenServer Tools package (replace amd64 with i386 if necessary) and unmount xs-tools.iso: | |
sudo mount /dev/cdrom /mnt | |
sudo dpkg -i /mnt/Linux/xe-guest-utilities_6.5.0-1939_amd64.deb | |
sudo umount /mnt | |
In XenCenter, detach xs-tools.iso from the DVD drive of the VM and reboot the VM. |
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
#!/bin/bash | |
# Author: Aamnah Akram | |
# URL: http://aamnah.com | |
# Email: [email protected] | |
# Description: Bash script to install Opencart | |
# Usage: You can use 'curl' to run this script directly from Github. | |
# curl -L https://gist.githubusercontent.com/aamnah/93cb63fc15e708649084/raw | bash | |
# SETTINGS | |
Path='/opencart3' |
NewerOlder