- Есть одна система, а не набор систем.
- Желаемое состояние системы должно иметь численное выражение.
- Это “численное выражение” должно быть машинно измеримым.
- Текущее состояние системы должно само исправляться до желаемого состояния.
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
# Установка англо-русского словаря на Ubuntu | |
sudo apt-get install stardict | |
wget http://sourceforge.net/projects/xdxf/files/dicts-stardict-form-xdxf/002c/stardict-comn_sdict05_eng_rus_full-2.4.2.tar.bz2/download | |
tar -xjf download | |
sudo mv stardict-eng_rus_full-2.4.2/ /usr/share/stardict/dic/ | |
sudo chmod -R a+r /usr/share/stardict/dic/ | |
# Спасибо http://forum.ubuntu.ru/index.php?topic=2587 и http://sourceforge.net/projects/xdxf/ |
- За основу берём модель ветвления описанную в этой статье
- Про Гит - читать всем
- Из SVN в Git - сравнение с SVN, которое не стоит использовать как руководство к действию.
- Шпаргалка новичка
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
#!/usr/bin/env bash | |
if [[ -x $(which php) ]]; then | |
PHP_ICU_VERSION=$(php -r 'echo defined("INTL_ICU_VERSION") ? INTL_ICU_VERSION : "none";') | |
echo "PHP ICU version: $PHP_ICU_VERSION" | |
else | |
echo 'WARNING: PHP not installed' | |
PHP_ICU_VERSION=none | |
fi |
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
#!/bin/bash | |
if [[ "$DB_NAME" == "" ]]; then | |
echo "Error: DB_NAME is not set" | |
exit 1 | |
fi | |
if [[ "$DB_PASSWORD" == "" ]]; then | |
echo "Error: DB_PASSWORD is not set" | |
exit 1 | |
fi |
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
#!/usr/bin/env bash | |
# Search composer packages in SRC_PATH | |
# and split them into subtrees | |
# | |
# examples: | |
# bash subtree-split.sh | |
# SRC_PATH=bundles bash subtree-split.sh | |
# | |
# see: |
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
#!/bin/bash | |
# Чистит локальные слитые ветки | |
for i in `git branch | grep "^[^*]\+"`; do git branch -d $i; done; | |
# Чистит слитые ветки в удалённом репозитории | |
git log --pretty=format:%H HEAD~1 > /tmp/git-history.txt | |
for i in `git br -r | grep -o "[^ \/]\+$" | sort | uniq`; | |
do |
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
build/ | |
*.box | |
*.iso |
NewerOlder