rails new blog
cd blog
hanami new bookshelf
vim Gemfile # add `hanami`
bundle
vim bookshelf/config/environment.rb # See Note 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"AdvancedNewFile", | |
"Alignment", | |
"All Autocomplete", | |
"BracketHighlighter", | |
"CJSX Syntax", | |
"Colorsublime", | |
"ESLint", | |
"FileDiffs", | |
"Gist", | |
"GitSavvy", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2017 Stanislav Bobokalo & Alexey Borontov | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Скрипт по загрузке публичных файлов с Облака mail.ru. Поддерживается докачка. | |
# v1.0.5 от 2022-05-30 | |
# | |
# ЕСЛИ СКРИПТ НЕ РАБОТАЕТ | |
# | |
# 1. Убедитесь, что файл доступен публично. Возможна загрузка только публичных файлов. | |
# 2. Mail.ru время от времени меняет внутрянку, не очень сильно, но требуется адаптация скрипта. | |
# Если скрипт не работает, просьба сделать работающий форк и скинуть ссылку в комментарии. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your views: | |
=== show.html.erb === | |
<% content_for :header do | |
stylesheet_link_tag 'blabla' | |
end %> | |
<% content_for :header do | |
javascript_include_tag 'blabla' | |
end %> | |
<div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Алгоритмы: | |
1) Стивен Скиена "Алгоритмы. Руководство по разработке" | |
2) Томас Кормен "Алгоритмы. Построение и анализ" | |
3) Дональд Кнут "Искусство программирования" (никто в реальности не читал этот многотомный труд целиком, но в любой подборке по алгоритмам он обязан быть) | |
Общее: | |
1) Род Хаггарти "Дискретная математика для программистов" | |
2) Керниган, Ритчи "Язык программирования С" - для общего понимания принципов программирования | |
3) Дж. Андресон "Дискретная математика и комбинаторика" | |
4) Романовский И.В. "Дискретный анализ" |
Pug - это препроцессор HTML и шаблонизатор, который был написан на JavaScript для Node.js.
The initial source comes from sdcuike/issueBlog#4
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Команды в Git Bash консоли | |
clear — Очистить консоль | |
Навигация | |
pwd — Показать текущий каталог | |
ls - Показать файлы в данной папке, кроме скрытых | |
ls -f — Показать файлы в данной папке, включая и скрытые | |
cd c:/ — Перейти в конкретный каталог | |
cd - — Вернуться назад | |
cd .. — Выйти на 1 уровень вверх |