Skip to content

Commit

Permalink
stage3
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenix-dw committed Jun 18, 2021
1 parent 4308647 commit dad7ed1
Show file tree
Hide file tree
Showing 349 changed files with 22,111 additions and 11 deletions.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
# convertor_md
# Pandoc українською

[Pandoc User’s Guide](https://pandoc.org/MANUAL.html)

- [Synopsis](https://pandoc.org/MANUAL.html#synopsis)
- [Description](description.md)
- [Options](options.md)
- [Exit codes](https://pandoc.org/MANUAL.html#exit-codes)
- [Default files](https://pandoc.org/MANUAL.html#default-files)
- [Templates](templates.md)
- [Extensions](https://pandoc.org/MANUAL.html#extensions)
- [Pandoc’s Markdown](https://pandoc.org/MANUAL.html#pandocs-markdown)
- [Producing slide shows with pandoc](https://pandoc.org/MANUAL.html#producing-slide-shows-with-pandoc)
- [Creating EPUBs with pandoc](https://pandoc.org/MANUAL.html#creating-epubs-with-pandoc)
- [Creating Jupyter notebooks with pandoc](https://pandoc.org/MANUAL.html#creating-jupyter-notebooks-with-pandoc)
- [Syntax highlighting](https://pandoc.org/MANUAL.html#syntax-highlighting)
- [Custom Styles](https://pandoc.org/MANUAL.html#custom-styles)
- [Custom writers](https://pandoc.org/MANUAL.html#custom-writers)
- [A note on security](https://pandoc.org/MANUAL.html#a-note-on-security)
- [Authors](https://pandoc.org/MANUAL.html#authors)
5 changes: 0 additions & 5 deletions convert/1.cmd

This file was deleted.

5 changes: 5 additions & 0 deletions convert/generate_docx.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pandoc ^
-s C:\xampp\htdocs\convertor_md\convert\1.md C:\xampp\htdocs\convertor_md\convert\text.md ^
-o ../result/output1.docx ^
--lua-filter=../docx/luafilters.lua ^
--reference-doc=../docx/custom-reference.docx
File renamed without changes.
File renamed without changes.
25 changes: 20 additions & 5 deletions convert/docx/luafilters.lua → docx/luafilters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,28 @@ function Image (el)
return el
end

function Para (el)
for key, val in pairs(el.content) do
if type(val.text) == "string" and string.match(val.text, "Пупена") then
return {}
end
end

return el
end

function Table (el)
cell = el.head[2][1][2]
for key, val in pairs(cell) do --(cell[1]) do
target = val.contents[1].content[1].target
if type(target) == "string" and string.match(target, "README") then
return {} -- вернути пустий, тобто видалити
end
for key, val in pairs(cell) do
contents = val.contents
if next(contents) ~= nil then
content = contents[1].content
for key, val in pairs(content[1]) do
if type(val) == "string" and string.match(val, "README") then
return {} -- вернути пустий, тобто видалити
end
end
end
end
return el
end
Expand Down
23 changes: 23 additions & 0 deletions read.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env python

import re;
import os
import sys

arguments = sys.argv[1:]

if len(arguments) > 0 :
file = arguments[0]
dirname = os.path.dirname(file)
dirname = dirname.capitalize() + '\{}'

with open(file, 'r', encoding='utf-8') as myfile:
text = myfile.read()

links = re.findall(r"\w*\.md", text)
map_links = map(dirname.format,links)
str_links = ' '.join(map_links)

print("start generate")
os.system("pandoc -s " + str_links + " -o ../result/output.docx --lua-filter=../docx/luafilters.lua --reference-doc=../docx/custom-reference.docx" )
print("end generate")
Binary file added result/output.docx
Binary file not shown.
Binary file renamed convert/result/labs.docx → result/output1.docx
Binary file not shown.
9 changes: 9 additions & 0 deletions Лекц/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ігнорувати всі файли PowerPoint
*.pptx
*.ppt
*.doc
*.lnk
*.pdf
*.docx
source/
рис/
509 changes: 509 additions & 0 deletions Лекц/10_markdown.md

Large diffs are not rendered by default.

176 changes: 176 additions & 0 deletions Лекц/11_db.md

Large diffs are not rendered by default.

369 changes: 369 additions & 0 deletions Лекц/12_sql.md

Large diffs are not rendered by default.

1,082 changes: 1,082 additions & 0 deletions Лекц/13_js.md

Large diffs are not rendered by default.

727 changes: 727 additions & 0 deletions Лекц/14_jsobjects.md

Large diffs are not rendered by default.

243 changes: 243 additions & 0 deletions Лекц/15_cloud.md

Large diffs are not rendered by default.

608 changes: 608 additions & 0 deletions Лекц/16_nodejs.md

Large diffs are not rendered by default.

248 changes: 248 additions & 0 deletions Лекц/17_lyfecycle.md

Large diffs are not rendered by default.

107 changes: 107 additions & 0 deletions Лекц/18_githubadd.md

Large diffs are not rendered by default.

332 changes: 332 additions & 0 deletions Лекц/19_devops.md

Large diffs are not rendered by default.

284 changes: 284 additions & 0 deletions Лекц/1_intro.md

Large diffs are not rendered by default.

715 changes: 715 additions & 0 deletions Лекц/20_githubwrkflw.md

Large diffs are not rendered by default.

390 changes: 390 additions & 0 deletions Лекц/2_nodered.md

Large diffs are not rendered by default.

228 changes: 228 additions & 0 deletions Лекц/3_tcpudp.md

Large diffs are not rendered by default.

407 changes: 407 additions & 0 deletions Лекц/4_http.md

Large diffs are not rendered by default.

237 changes: 237 additions & 0 deletions Лекц/5_mqtt.md

Large diffs are not rendered by default.

189 changes: 189 additions & 0 deletions Лекц/6_httpapi.md

Large diffs are not rendered by default.

457 changes: 457 additions & 0 deletions Лекц/7_git.md

Large diffs are not rendered by default.

219 changes: 219 additions & 0 deletions Лекц/8_github.md

Large diffs are not rendered by default.

198 changes: 198 additions & 0 deletions Лекц/9_rpi.md

Large diffs are not rendered by default.

Binary file added Лекц/GitHubMedia/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/10_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/githubui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitHubMedia/task-list-reordered.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
808 changes: 808 additions & 0 deletions Лекц/GitHubWrkflw.md

Large diffs are not rendered by default.

Binary file added Лекц/GitMedia/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Лекц/GitMedia/3.png
Binary file added Лекц/GitMedia/4.png
Binary file added Лекц/GitMedia/5.png
Binary file added Лекц/GitMedia/6.png
Binary file added Лекц/GitMedia/7.png
Binary file added Лекц/GitMedia/7_1.png
Binary file added Лекц/GitMedia/8.png
Binary file added Лекц/GitMedia/9.png
Binary file added Лекц/GitMedia/branch-rule-settings.png
Binary file added Лекц/GitMedia/remote-branches-1.png
Binary file added Лекц/GitMedia/remote-branches-2.png
Binary file added Лекц/GitMedia/remote-branches-3.png
Binary file added Лекц/GitMedia/remote-branches-4.png
Binary file added Лекц/GitMedia/remote-branches-5.png
Binary file added Лекц/IntroMedia/1.png
Binary file added Лекц/IntroMedia/10.png
Binary file added Лекц/IntroMedia/11.png
Binary file added Лекц/IntroMedia/12.png
Binary file added Лекц/IntroMedia/13.jpg
Binary file added Лекц/IntroMedia/14.png
Binary file added Лекц/IntroMedia/15.png
Binary file added Лекц/IntroMedia/1_1.png
Binary file added Лекц/IntroMedia/1_2.png
Binary file added Лекц/IntroMedia/2.gif
Binary file added Лекц/IntroMedia/2.jpg
Binary file added Лекц/IntroMedia/3.jpg
Binary file added Лекц/IntroMedia/3.png
Binary file added Лекц/IntroMedia/4.png
Binary file added Лекц/IntroMedia/4_1.png
Binary file added Лекц/IntroMedia/5.png
Binary file added Лекц/IntroMedia/5_1.png
Binary file added Лекц/IntroMedia/6.png
Binary file added Лекц/IntroMedia/7.png
Binary file added Лекц/IntroMedia/8.png
Binary file added Лекц/IntroMedia/9.png
Binary file added Лекц/IntroMedia/as.png
Binary file added Лекц/MQTTMedia/1.png
Binary file added Лекц/MQTTMedia/2.png
Binary file added Лекц/MQTTMedia/3.png
Binary file added Лекц/MQTTMedia/4.png
Binary file added Лекц/MQTTMedia/5.png
Binary file added Лекц/MQTTMedia/5_1.png
Binary file added Лекц/MQTTMedia/5_2.png
Binary file added Лекц/MQTTMedia/5_3.png
Binary file added Лекц/MQTTMedia/5_4.png
Binary file added Лекц/MQTTMedia/5_5.png
Binary file added Лекц/MQTTMedia/5_6.png
Loading

0 comments on commit dad7ed1

Please sign in to comment.