Compare commits

..

No commits in common. "4f72bea6f4d7a445e272ad7cd508c38a5df6cdf3" and "7db0e0205169a34168e130c962f9cfe6706f1de6" have entirely different histories.

3 changed files with 9 additions and 28 deletions

View File

@ -30,15 +30,6 @@ indent_size = 2
indent_style = space
indent_size = 4
# JavaScript
[*.js]
indent_style = space
indent_size = 2
[package.json]
indent_style = space
indent_size = 2
# Web Sites
[{*.html,*.css,*.json}]
indent_style = tab
@ -61,6 +52,15 @@ indent_size = 4
indent_style = tab
indent_size = 4
# JavaScript
[*.js]
indent_style = space
indent_size = 2
[package.json]
indent_style = space
indent_size = 2
## for this repo
[~/SSH/config]
indent_style = tab

View File

@ -6,7 +6,6 @@
- [ENV["..."]](env_variable.cr) - Переменные среды
- [Colorize](Colorize.cr) - Цветной вывод в консоль
- [JSON](json.cr) - Пример работы с JSON
- [Fiber](schedule.cr) - Пример распаралеливания кода и расписания
## Stuff
- [`irc_bot.cr`](irc_bot.cr) - Реализация клиента (бота) для IRC

View File

@ -1,18 +0,0 @@
def every(period : Time::Span, &block : -> T) forall T
spawn do
loop do
block.call
sleep period
end
end
end
every(2.seconds) {
puts "-@-@-"
}
every(4.seconds) {
puts "(-.-)Zzz..."
}
sleep