OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
octospacc 2023-09-29 11:55:01 +00:00
parent e75341ad6b
commit 41fec08841
15 changed files with 34 additions and 24 deletions

View File

@ -2,7 +2,7 @@ caption: Index
created: 20230109112202970 created: 20230109112202970
creator: Octt creator: Octt
list-before: $:/core/ui/SideBar/Open list-before: $:/core/ui/SideBar/Open
modified: 20230928233554948 modified: 20230929094842809
modifier: Octt modifier: Octt
tags: $:/tags/SideBar tags: $:/tags/SideBar
title: OcttKB/Index title: OcttKB/Index
@ -12,7 +12,7 @@ title: OcttKB/Index
{{$:/OcttKB/ToC}} {{$:/OcttKB/ToC}}
; Other things ; Other things
: [ext[📜️ Static KB, no-JS version|/test]] : [ext[📜️ Static KB, no-JS version|./Static.html]]
: [[🖍️ Comments/Issues/PRs (Git)|https://gitlab.com/octtspacc/OcttKB/-/issues]] : [[🖍️ Comments/Issues/PRs (Git)|https://gitlab.com/octtspacc/OcttKB/-/issues]]
: [[🏳️‍🌈 Translate this site (Google)|https://translate.google.com/translate?sl=en&tl=it&hl=en&u=https://kb.octt.eu.org&client=webapp]] : [[🏳️‍🌈 Translate this site (Google)|https://translate.google.com/translate?sl=en&tl=it&hl=en&u=https://kb.octt.eu.org&client=webapp]]

View File

@ -1,6 +1,6 @@
created: 20230223222804008 created: 20230223222804008
creator: Octt creator: Octt
modified: 20230927230315672 modified: 20230929114739135
modifier: Octt modifier: Octt
tags: tags:
title: Saved/Sites title: Saved/Sites
@ -44,6 +44,7 @@ These are portfolios, collections of projects, hubs, etc.
These are kind of blogs, but don't contain mainly things written as blogs, but more note-like articles, like tutorials ecc... These are kind of blogs, but don't contain mainly things written as blogs, but more note-like articles, like tutorials ecc...
* [[Attacomsian|https://attacomsian.com/]] * [[Attacomsian|https://attacomsian.com/]]
* [[Matias Kinnunen (mtsknn)|https://mtsknn.fi]] --- <<[# Git "https://github.com/mtsknn/mtsknn.fi">>
* [[Naomi's Notes|https://notes.nyaomi.xyz/]] * [[Naomi's Notes|https://notes.nyaomi.xyz/]]
* note.nkmk.me: [[en|https://note.nkmk.me/en]], [[jp|https://note.nkmk.me]] (different articles) * note.nkmk.me: [[en|https://note.nkmk.me/en]], [[jp|https://note.nkmk.me]] (different articles)
* [[rdpillon|https://rpdillon.net/]] --- //Rick's Home Online// * [[rdpillon|https://rpdillon.net/]] --- //Rick's Home Online//

View File

@ -1,6 +1,6 @@
created: 20221110145611678 created: 20221110145611678
creator: Octt creator: Octt
modified: 20230928230548758 modified: 20230929113933463
modifier: Octt modifier: Octt
tags: Development Internet $:/i18n:en tags: Development Internet $:/i18n:en
title: JavaScript title: JavaScript
@ -18,6 +18,7 @@ title: JavaScript
** [[JavaScript-Equality-Table|https://dorey.github.io/JavaScript-Equality-Table/unified/]] - <<[ "[[Git|https://github.com/dorey/JavaScript-Equality-Table]]">> ** [[JavaScript-Equality-Table|https://dorey.github.io/JavaScript-Equality-Table/unified/]] - <<[ "[[Git|https://github.com/dorey/JavaScript-Equality-Table]]">>
* [[Environment detection: node.js or browser|https://stackoverflow.com/a/57774317]] * [[Environment detection: node.js or browser|https://stackoverflow.com/a/57774317]]
* [[Superpacking JS Demos|https://web.archive.org/web/20120919185414/http://daeken.com/superpacking-js-demos]] * [[Superpacking JS Demos|https://web.archive.org/web/20120919185414/http://daeken.com/superpacking-js-demos]]
* [["Illegal invocation" errors in JavaScript|https://mtsknn.fi/blog/illegal-invocations-in-js/]] --- //The error is thrown when calling a function whose `this` keyword isn't referring to the object where it originally did (when the context of the function is lost)//
!!! ''Tools'' !!! ''Tools''

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from base64 import b64encode from base64 import b64encode
from bs4 import BeautifulSoup from bs4 import BeautifulSoup
from re import sub from re import sub, DOTALL
from sys import argv from sys import argv
File = argv[-1] File = argv[-1]
@ -29,7 +29,7 @@ def SafeIframe(m):
Html = str(BeautifulSoup(open(File, 'r'), 'html5lib')) Html = str(BeautifulSoup(open(File, 'r'), 'html5lib'))
Html = sub('<details><a name="(.+)"><summary>(.+)<\/summary>\s*<\/a>', Fix1, Html) Html = sub('<details><a name="(.+)"><summary>(.+)<\/summary>\s*<\/a>', Fix1, Html)
Html = sub('<iframe( +)src="(.+)"><\/iframe>', SafeIframe, Html) Html = sub('<iframe( +)src="(.+)"><\/iframe>', SafeIframe, Html, flags=DOTALL)
Html = sub('<iframe (.+) src="(.+)"><\/iframe>', SafeIframe, Html) Html = sub('<iframe (.+) src="(.+)"><\/iframe>', SafeIframe, Html, flags=DOTALL)
open(File, 'w').write(Html) open(File, 'w').write(Html)

View File

@ -1,6 +1,6 @@
created: 20230307221237990 created: 20230307221237990
creator: Octt creator: Octt
modified: 20230307221722752 modified: 20230929110856571
modifier: Octt modifier: Octt
title: $:/OcttKB/Repo/PatchStatic.py title: $:/OcttKB/Repo/PatchStatic.py
type: text/plain type: text/plain

View File

@ -1,6 +1,6 @@
created: 20230225150051400 created: 20230225150051400
creator: Octt creator: Octt
modified: 20230226210519405 modified: 20230929111702131
modifier: Octt modifier: Octt
tags: $:/tags/Stylesheet tags: $:/tags/Stylesheet
title: $:/Styles/Static/Main title: $:/Styles/Static/Main
@ -13,5 +13,6 @@ title: $:/Styles/Static/Main
<<River>> > a[name]/*:not(a[name="~Welcome~"])*/ + <<Frame>> { <<NoDisp>> } <<River>> > a[name]/*:not(a[name="~Welcome~"])*/ + <<Frame>> { <<NoDisp>> }
<<River>> > a[name]:target + <<Frame>> { display: block; } <<River>> > a[name]:target + <<Frame>> { display: block; }
<<River>> > <<Frame>> .tc-tiddler-controls,
<<River>> > <<Frame>> .gk0wk-notionbg-addbuttons, <<River>> > <<Frame>> .gk0wk-notionbg-addbuttons,
<<River>> > <<Frame>> .gk0wk-notionpageb-changecover { <<NoDisp>> } <<River>> > <<Frame>> .gk0wk-notionpageb-changecover { <<NoDisp>> }

View File

@ -1,5 +1,5 @@
created: 20230928233727192 created: 20230929115455289
current-tiddler: GettingStarted current-tiddler: GettingStarted
modified: 20230928233727192 modified: 20230929115455289
title: $:/HistoryList title: $:/HistoryList
type: application/json type: application/json

View File

@ -1,7 +1,7 @@
created: 20220920084517972 created: 20220920084517972
creator: Octt creator: Octt
modified: 20230928233243105 modified: 20230929094726342
modifier: Octt modifier: Octt
title: $:/SiteSubtitle title: $:/SiteSubtitle
Octt Knowledge Base || (Start at ➡️ [[OcttKB]] 📌️) Octt Knowledge Base || (Start at ➡️ <span>[</span>[[OcttKB]]<span>]</span> 📌️)

View File

@ -1,6 +1,6 @@
created: 20230928222850710 created: 20230929094559840
creator: Octt creator: Octt
list: list:
modified: 20230928233650700 modified: 20230929114115280
modifier: Octt modifier: Octt
title: $:/StoryList title: $:/StoryList

View File

@ -0,0 +1,7 @@
created: 20230929113750196
creator: Octt
modified: 20230929113751643
modifier: Octt
title: $:/state/folded/JavaScript
show

View File

@ -1,6 +1,6 @@
created: 20220920092307479 created: 20220920092307479
creator: Octt creator: Octt
modified: 20230928231912353 modified: 20230929111714424
modifier: Octt modifier: Octt
title: $:/state/tab/sidebar--595412856 title: $:/state/tab/sidebar--595412856

View File

@ -1,7 +1,7 @@
created: 20230219190716748 created: 20230219190716748
creator: Octt creator: Octt
modified: 20230926073123828 modified: 20230929095018016
modifier: Octt modifier: Octt
title: $:/state/tree/$:/OcttKB/Repo/ title: $:/state/tree/$:/OcttKB/Repo/
hide show

View File

@ -1,7 +1,7 @@
created: 20230111084703963 created: 20230111084703963
creator: Octt creator: Octt
modified: 20230928222844438 modified: 20230929095013632
modifier: Octt modifier: Octt
title: $:/state/tree/$:/OcttKB/ title: $:/state/tree/$:/OcttKB/
hide show

View File

@ -1,7 +1,7 @@
created: 20230225173056823 created: 20230225173056823
creator: Octt creator: Octt
modified: 20230920144629428 modified: 20230929111305954
modifier: Octt modifier: Octt
title: $:/state/tree/$:/Styles/Static/ title: $:/state/tree/$:/Styles/Static/
hide show

View File

@ -1,7 +1,7 @@
created: 20230108193801573 created: 20230108193801573
creator: Octt creator: Octt
modified: 20230920153341608 modified: 20230929111257602
modifier: Octt modifier: Octt
title: $:/state/tree/$:/Styles/ title: $:/state/tree/$:/Styles/
hide show