План:
- ООП
- Зачем?
- Из чего состоит программа в парадигме ООП?
- Абстракция
- Инкапсуляция
ansible-playbook --connection=local 127.0.0.1 playbook.yml
127.0.0.1 ansible_connection=local
# To run this, name this file hello_world.yml and run the following in the same directory | |
# ansible-playbook hello_world.yml -i 'local,' --connection=local | |
- hosts: | |
- local | |
tasks: | |
- name: Create a directory | |
file: path=hello_world state=directory |
Separator { | |
//alignment: Qt.AlignHCenter | |
width: parent.width | |
horizontalAlignment: Text.Center | |
color: Theme.highlightColor | |
} |
import java.io.*; | |
import java.net.*; | |
import java.lang.Thread; | |
public class EchoServer { | |
public static void main (String[] args) { | |
try { | |
ServerSocket server = new ServerSocket(5566); | |
while (true) { | |
Socket client = server.accept(); |
import QtQuick 2.0 | |
import Sailfish.Silica 1.0 | |
ApplicationWindow { | |
// Chapter 1: Basic primitives | |
Image { | |
visible: false | |
source: "jolla.png" | |
Behavior on opacity { NumberAnimation {} } |