#Angular 2 ( в глубину )
Слайды - https://db.tt/sBZvCTur
##Основные ссылки
##TypeScript ( сравнение ES6 и TypeScript, важные знания и особенности )
# ref: https://coderwall.com/p/ez1x2w/send-mail-like-a-boss | |
# install mailx | |
yum -y install mailx | |
# create a directory with a certificate, to send mail using TLS | |
mkdir ~/.certs | |
certutil -N -d ~/.cert | |
# create a user ~/.mailrc, to use custom settings |
#Angular 2 ( в глубину )
Слайды - https://db.tt/sBZvCTur
##Основные ссылки
##TypeScript ( сравнение ES6 и TypeScript, важные знания и особенности )
############################################################################################################################################## | |
# This configuration needs 2 fails in order to change from current state to FAULT state and needs 2 success to change from BACKUP state to | |
# MASTER state. | |
# | |
# !!!MOST IMPORTANT!!! | |
# BEFORE keepalived can be started this file must be poperly edited (see HOW TO section below) | |
# | |
# HOW TO | |
# 1 - Check all the parameters of the script(s) in the "vrrp_script check_mysql" section below are correct | |
# 2 - unicast_src_ip (IP of the local machine) must be manually edited |
#!/bin/bash | |
iatest=$(expr index "$-" i) | |
####################################################### | |
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
####################################################### | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |
All quoted scripts are direct copy from latest CentOS 6
Logon under root or sudo -s
Create "/lib/udev/write_net_rules" file with content:
#!/bin/sh -e
#
# Copyright (C) 2006 Marco d'Itri <[email protected]>
# Redis Cheatsheet | |
# All the commands you need to know | |
redis-server /path/redis.conf # start redis with the related configuration file | |
redis-cli # opens a redis prompt | |
# Strings. |
#!/usr/bin/env python | |
"""python-xlib example which reacts to changing the active window/title. | |
Requires: | |
- Python | |
- python-xlib | |
Tested with Python 2.x because my Kubuntu 14.04 doesn't come with python-xlib | |
for Python 3.x. |
This is a modified version of Installing Arch Linux on an LUKS Encrypted root and booting from UEFI.