Skip to content

Commit

Permalink
OcttKB Cross-Repo Sync (HTML to Raw)
Browse files Browse the repository at this point in the history
  • Loading branch information
octospacc committed Sep 29, 2023
1 parent e75341a commit 41fec08
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 24 deletions.
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/Normal/OcttKB/_Index.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ caption: Index
created: 20230109112202970
creator: Octt
list-before: $:/core/ui/SideBar/Open
modified: 20230928233554948
modified: 20230929094842809
modifier: Octt
tags: $:/tags/SideBar
title: OcttKB/Index
Expand All @@ -12,7 +12,7 @@ title: OcttKB/Index
{{$:/OcttKB/ToC}}

; 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]]
: [[🏳️‍🌈 Translate this site (Google)|https://translate.google.com/translate?sl=en&tl=it&hl=en&u=https://kb.octt.eu.org&client=webapp]]

Expand Down
3 changes: 2 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/Saved/_Sites.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230223222804008
creator: Octt
modified: 20230927230315672
modified: 20230929114739135
modifier: Octt
tags:
title: Saved/Sites
Expand Down Expand Up @@ -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...

* [[Attacomsian|https://attacomsian.com/]]
* [[Matias Kinnunen (mtsknn)|https://mtsknn.fi]] --- <<[# Git "https://github.com/mtsknn/mtsknn.fi">>
* [[Naomi's Notes|https://notes.nyaomi.xyz/]]
* note.nkmk.me: [[en|https://note.nkmk.me/en]], [[jp|https://note.nkmk.me]] (different articles)
* [[rdpillon|https://rpdillon.net/]] --- //Rick's Home Online//
Expand Down
3 changes: 2 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20221110145611678
creator: Octt
modified: 20230928230548758
modified: 20230929113933463
modifier: Octt
tags: Development Internet $:/i18n:en
title: JavaScript
Expand All @@ -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]]">>
* [[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]]
* [["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''

Expand Down
6 changes: 3 additions & 3 deletions Wiki-OcttKB/tiddlers/System/OcttKB/Repo/_PatchStatic.py.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
from base64 import b64encode
from bs4 import BeautifulSoup
from re import sub
from re import sub, DOTALL
from sys import argv

File = argv[-1]
Expand Down Expand Up @@ -29,7 +29,7 @@ def SafeIframe(m):
Html = str(BeautifulSoup(open(File, 'r'), 'html5lib'))

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)
Html = sub('<iframe( +)src="(.+)"><\/iframe>', SafeIframe, Html, flags=DOTALL)
Html = sub('<iframe (.+) src="(.+)"><\/iframe>', SafeIframe, Html, flags=DOTALL)

open(File, 'w').write(Html)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230307221237990
creator: Octt
modified: 20230307221722752
modified: 20230929110856571
modifier: Octt
title: $:/OcttKB/Repo/PatchStatic.py
type: text/plain
3 changes: 2 additions & 1 deletion Wiki-OcttKB/tiddlers/System/Styles/Static/_Main.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230225150051400
creator: Octt
modified: 20230226210519405
modified: 20230929111702131
modifier: Octt
tags: $:/tags/Stylesheet
title: $:/Styles/Static/Main
Expand All @@ -13,5 +13,6 @@ title: $:/Styles/Static/Main
<<River>> > a[name]/*:not(a[name="~Welcome~"])*/ + <<Frame>> { <<NoDisp>> }
<<River>> > a[name]:target + <<Frame>> { display: block; }

<<River>> > <<Frame>> .tc-tiddler-controls,
<<River>> > <<Frame>> .gk0wk-notionbg-addbuttons,
<<River>> > <<Frame>> .gk0wk-notionpageb-changecover { <<NoDisp>> }
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/_HistoryList.json.meta
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20230928233727192
created: 20230929115455289
current-tiddler: GettingStarted
modified: 20230928233727192
modified: 20230929115455289
title: $:/HistoryList
type: application/json
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/_SiteSubtitle.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20220920084517972
creator: Octt
modified: 20230928233243105
modified: 20230929094726342
modifier: Octt
title: $:/SiteSubtitle

Octt Knowledge Base || (Start at ➡️ [[OcttKB]] 📌️)
Octt Knowledge Base || (Start at ➡️ <span>[</span>[[OcttKB]]<span>]</span> 📌️)
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/_StoryList.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230928222850710
created: 20230929094559840
creator: Octt
list:
modified: 20230928233650700
modified: 20230929114115280
modifier: Octt
title: $:/StoryList
7 changes: 7 additions & 0 deletions Wiki-OcttKB/tiddlers/System/state/folded/_JavaScript.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
created: 20230929113750196
creator: Octt
modified: 20230929113751643
modifier: Octt
title: $:/state/folded/JavaScript

show
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20220920092307479
creator: Octt
modified: 20230928231912353
modified: 20230929111714424
modifier: Octt
title: $:/state/tab/sidebar--595412856

Expand Down
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/state/tree/$/OcttKB/Repo/_.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20230219190716748
creator: Octt
modified: 20230926073123828
modified: 20230929095018016
modifier: Octt
title: $:/state/tree/$:/OcttKB/Repo/

hide
show
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/state/tree/$/OcttKB/_.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20230111084703963
creator: Octt
modified: 20230928222844438
modified: 20230929095013632
modifier: Octt
title: $:/state/tree/$:/OcttKB/

hide
show
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/state/tree/$/Styles/Static/_.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20230225173056823
creator: Octt
modified: 20230920144629428
modified: 20230929111305954
modifier: Octt
title: $:/state/tree/$:/Styles/Static/

hide
show
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/state/tree/$/Styles/_.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20230108193801573
creator: Octt
modified: 20230920153341608
modified: 20230929111257602
modifier: Octt
title: $:/state/tree/$:/Styles/

hide
show

0 comments on commit 41fec08

Please sign in to comment.