User: Vladimir Pavlychev @vovs03
My stack : Ruby, RoR, HTML, CSS, JS, GIT
- Emmet
- BeautifyRuby
- Better CoffeeScript
- BracketHighlighter
- Case Conversion
- Rails Migrations List
User: Vladimir Pavlychev @vovs03
My stack : Ruby, RoR, HTML, CSS, JS, GIT
from telethon import TelegramClient | |
from telethon.errors import SessionPasswordNeededError | |
from telethon.tl.functions.messages import GetHistoryRequest | |
from telethon.tl.functions.channels import DeleteMessagesRequest | |
from telethon.tl.types.channel import Channel | |
import shelve | |
from os import listdir | |
from time import sleep | |
# Просто утилиты |
1. Знание основ Ruby, фреймворка Ruby on Rails | |
- http://guides.rubyonrails.org/ | |
- http://rusrails.ru/ | |
Вопросы: | |
1. Чем отличается статическая и динамическая типизации в языках программирования? | |
2. Какие виды наследования поддерживаются в Ruby? | |
3. Что такое модуль? Какая разница между классом и модулем? | |
4. Какие есть уровни контроля доступа к методам для классов и модулей? | |
5. Какие есть способы вызова методов в Ruby? | |
6. Что означает ключевое слово self? |
0.005 2017-11-10 15:51:12; Factorio 0.15.37 (build 30927, win64, steam) | |
0.005 Operating system: Windows 7 Service Pack 1 | |
0.005 Program arguments: "F:\Program Files (x86)\steamapps\common\Factorio\bin\x64\Factorio.exe" | |
0.005 Read data path: F:/Program Files (x86)/steamapps/common/Factorio/data | |
0.005 Write data path: C:/Users/Minnion/AppData/Roaming/Factorio | |
0.005 Binaries path: F:/Program Files (x86)/steamapps/common/Factorio/bin | |
0.224 System info: [CPU: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz, 2 cores, RAM: 4094MB] | |
0.416 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255] [Lang: ru] | |
0.426 Available display adapters: 1 | |
0.426 [0]: \\.\DISPLAY1 - NVIDIA GeForce 210 {0x05, [0,0], 2560x1080, 32bit, 60Hz} |
<template> | |
<h1>Hello World!</h1> | |
<!-- Img is not requested until the <template> goes live. --> | |
<img src="world.png"> | |
<script>alert("Executed when the template is activated.");</script> | |
</template> |
#longest.rb | |
#puts "Now we can inspecting wich of words is longest" | |
puts "Input the first word." | |
a1 = gets.to_s | |
puts "Input the second word." | |
a2 = gets.to_s |
/*! | |
* Dynamically changing favicons with JavaScript | |
* Works in all A-grade browsers except Safari and Internet Explorer | |
* Demo: http://mathiasbynens.be/demo/dynamic-favicons | |
*/ | |
// HTML5™, baby! http://mathiasbynens.be/notes/document-head | |
document.head || (document.head = document.getElementsByTagName('head')[0]); | |
function changeFavicon(src) { |