Skip to content

Instantly share code, notes, and snippets.

View GoAlexander's full-sized avatar

Alexander Dydychkin GoAlexander

View GitHub Profile
@GoAlexander
GoAlexander / hse_oop.md
Created February 16, 2023 20:37
HSE: OOP introduction. Practice

Практика №3

image

План:

  • ООП
  • Зачем?
  • Из чего состоит программа в парадигме ООП?
  • Абстракция
  • Инкапсуляция
@GoAlexander
GoAlexander / hse_collections.md
Last active February 2, 2023 08:51
HSE: collections

Практика №2

План:

  • Коллекции, обсуждение, рассказ
  • Реализация стека. Заготовка. Практика.
  • Проверка лабораторных
    • лаб4 - минус 2 балла (кроме считанных студентов)
    • лаб2+3, если не стоит оценка в ведомости (проверьте ведомость!)
  • Map
  • Опционально: static
@GoAlexander
GoAlexander / ansible_local_playbooks.md
Created January 5, 2019 19:43 — forked from alces/ansible_local_playbooks.md
How to run an Ansible playbook locally
  • using Ansible command line:
ansible-playbook --connection=local 127.0.0.1 playbook.yml
  • using inventory:
127.0.0.1 ansible_connection=local
@GoAlexander
GoAlexander / hello_world.yml
Created January 5, 2019 19:42 — forked from rythie/hello_world.yml
Ansible hello world example
# 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
}
@GoAlexander
GoAlexander / EchoServer.java
Created October 27, 2016 16:18 — forked from dannvix/EchoServer.java
simple multithreading TCP echo server in (ugly) Java
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();
@GoAlexander
GoAlexander / Example.qml
Created July 4, 2016 20:03 — forked from jaymzznoori/Example.qml
Example for Sailfish UI programming in QML
import QtQuick 2.0
import Sailfish.Silica 1.0
ApplicationWindow {
// Chapter 1: Basic primitives
Image {
visible: false
source: "jolla.png"
Behavior on opacity { NumberAnimation {} }