OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
octospacc 2023-11-05 11:41:08 +00:00
parent 2547ba15a1
commit 9c511fcf3e
31 changed files with 96 additions and 50 deletions

View File

@ -2,7 +2,7 @@ caption: Index
created: 20230109112202970
creator: Octt
list-before: $:/core/ui/SideBar/Open
modified: 20231020231816148
modified: 20231105104112366
modifier: Octt
tags: $:/tags/SideBar
title: OcttKB/Index
@ -11,10 +11,7 @@ title: OcttKB/Index
{{$:/OcttKB/ToC}}
; Other things
: [ext[📜️ No-JS Single-Page KB|./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]]
{{$:/OcttKB/WikiThings}}
{{$:/OcttKB/LicensingButtons}}

View File

@ -1,12 +1,14 @@
created: 20230817233039500
creator: Octt
modified: 20230818075434697
modified: 20231105111737387
modifier: Octt
tags: Markup WIP
title: BBCode
<<^wikipediaframe BBCode>>
* [[BBCode tags reference|https://www.bbcode.org/reference.php]]
!!! ''Creation''
* Simple tag, without arguments: `[example]{TEXT}[/example]`

View File

@ -1,6 +1,6 @@
created: 20230527075722203
creator: Octt
modified: 20230527080712301
modified: 20231105105414349
modifier: Octt
tags:
title: BBS
@ -13,5 +13,5 @@ title: BBS
!!! ''Software''
* //[[ENiGMA½|https://nuskooler.github.io/enigma-bbs/]] //is a modern BBS software with a nostalgic flair!// --- <<[ "[[Git|https://github.com/NuSkooler/enigma-bbs]]">>
* //[[ENiGMA½|https://nuskooler.github.io/enigma-bbs/]] is a modern BBS software with a nostalgic flair!// --- <<[ "[[Git|https://github.com/NuSkooler/enigma-bbs]]">>
** Warning: with this software, after ~1 month of very little active usage (no one ever logged on it, except me for the few days, so it just ran idle the last weeks...), I saw strangely-high disk I/O usage at kind of random times (node installed on microSD, the BBS on HDD). I disabled it in the meantime because, together with the [[SpaccCraft]] server, it was contributing to the rise of load average and crashing the entire server. I never had time/will to investigate properly after this discovery though.

View File

@ -1,6 +1,6 @@
created: 20231029134919585
creator: Octt
modified: 20231103234130540
modified: 20231105110313014
modifier: Octt
tags:
title: C Language
@ -9,6 +9,9 @@ title: C Language
* [[Why do many functions that return structures in C, actually return pointers to structures?|https://softwareengineering.stackexchange.com/questions/359408/why-do-many-functions-that-return-structures-in-c-actually-return-pointers-to-s]]
* [[Passing by reference in C|https://stackoverflow.com/questions/2229498/passing-by-reference-in-c]] --- "C does not support passing a variable by reference"... //Passing a pointer ''is'' passing-by-reference. This seems to be one of those facts that "savvy" C programmers pride themselves on. Like they get a kick out of it. "Oh you might THINK C has pass-by-reference but no it's actually just the value of a memory address being passed harharhar". Passing by reference literally just means passing the memory address of where a variable is stored rather than the variable's value itself [...]//
* [[Pointers in C: when to use the ampersand and the asterisk?|https://stackoverflow.com/questions/2094666/pointers-in-c-when-to-use-the-ampersand-and-the-asterisk#2094715]]
** Related: [[error: invalid type argument of unary * (have int)|https://stackoverflow.com/questions/5455866/error-invalid-type-argument-of-unary-have-int#5455962]], this happens when using `*` against a value instead of a pointer, since you can't dereference a value from a value.
* [[strcpy vs. memcpy|https://stackoverflow.com/questions/2898364/strcpy-vs-memcpy]] --- //strcpy stops when it encounters a NUL ('\0') character, memcpy does not//, aka as the names suggest often strcpy is perfect for strings while for generic data memcpy could be needed.
* [[ISO C90 forbids mixed declarations and code in C|https://stackoverflow.com/questions/13291353/iso-c90-forbids-mixed-declarations-and-code-in-c]] --- old C standards required that new variables can be declared only before any other actual instruction in a scoped block, e.g. only at the top of a function
* [[Creating empty function macros|https://stackoverflow.com/questions/9187628/empty-function-macros]] --- only safe way is `#define SomeFunction(arg) ((void)0)`

View File

@ -1,6 +1,6 @@
created: 20230813102403596
creator: Octt
modified: 20230823230220034
modified: 20231105111033268
modifier: Octt
title: File system
@ -10,6 +10,8 @@ title: File system
<<^wikipediaframe "Disk partitioning">>
* [[GParted stop after next operation?|https://superuser.com/questions/312149/gparted-stop-after-next-operation]] --- TLDR: libparted doesn't keep copies of disk data, so the operation can be stopped without data loss only with luck and/or stopping at the least bad time.
!! ''Btrfs''
<<^wikipediaframe Btrfs>>

View File

@ -1,7 +1,7 @@
created: 20230919202116604
creator: Octt
icon: 🏛️
modified: 20230919203633224
modified: 20231105113634908
modifier: Octt
page-cover: https://source.unsplash.com/random?forum
tags: WIP
@ -11,5 +11,6 @@ title: Forum
* [[Discoure|https://www.discourse.org]] --- //A platform for community discussion. Free, open, simple.// --- <<#[ Demo "https://try.discourse.org">> <<#[ Git "https://github.com/discourse">>
** Nice UI and UX, limited plugins are available but they are useful, it all makes good the renewed idea of the forum in the third decade... but the tech stack is bad: installation without Docker is not supported at all (there are really too many complicated components in the system), has [[relatively high requirements|https://github.com/discourse/discourse/blob/435ba4d03dfa3abf844f6421f0da37545a99deb3/docs/INSTALL.md]], and doesn't work properly without client-side JavaScript (making frontend performance and flexibility worse).
* MyBB
* Flarum
* <<linkdescgit Flarum"https://flarum.org" "Simple forum software for building great communities." "https://github.com/flarum">>
* [[MyBB|https://mybb.com/]] --- <<[# Git "https://github.com/mybb">>
* [[phpBB]]

View File

@ -1,7 +1,7 @@
created: 20230202224901337
creator: Octt
icon: 📰
modified: 20230823000245126
modified: 20231105112259414
modifier: Octt
page-cover: https://images.unsplash.com/photo-1517134062979-e1234be8a085
tags: Web Markup
@ -9,6 +9,9 @@ title: HTML
<<^WikipediaFrame HTML en>>
* [[Security risks of user generated HTML?|https://security.stackexchange.com/questions/220447/security-risks-of-user-generated-html]]
** <<WikipediaL HTML_sanitization>> ; [[Sanitizing untrusted HTML5|https://stackoverflow.com/questions/17691758/sanitizing-untrusted-html5]]
!!! ''References''
* [[HTML5 `<link rel="shortcut icon" />`|https://stackoverflow.com/questions/13211206/html5-link-rel-shortcut-icon]]

View File

@ -1,9 +1,11 @@
created: 20230211172153874
creator: Octt
modified: 20230711111416229
modified: 20231105112642209
modifier: Octt
title: Java
<<^wikipediaframe "Java (programming language)" en>>
* [[Java NullPointerException|https://www.digitalocean.com/community/tutorials/java-lang-nullpointerexception]]
* [[Oracle Java Downloads Archive|https://www.oracle.com/java/technologies/downloads/archive/]] --- requires shitty account to download basically anything

View File

@ -1,10 +1,12 @@
created: 20230725112836922
creator: Octt
modified: 20230725113335973
modified: 20231105114026409
modifier: Octt
tags:
title: Keyboard
<<^wikipediaframe "Computer keyboard">>
* <<linkdesc "Keyboard University" "https://www.keyboard.university" "The first and last resource youll ever need for mechanical keyboards. Courses and content for newcomers and expert builders alike.">>
* [[Monkeytype|https://monkeytype.com/]] --- //The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed// --- <<[ "[[Git|https://github.com/monkeytypegame]]">>

View File

@ -1,7 +1,7 @@
created: 20220920160811383
creator: Octt
icon: 🐙
modified: 20230531084944123
modified: 20231105104126959
modifier: Octt
tags: $:/ToC $:/i18n:en Octt
title: OcttKB
@ -21,6 +21,7 @@ Apart from the usual [[TiddlyWiki]] ones, there are many methods of navigation o
!!! ''Table of Contents''
{{$:/OcttKB/ToC}}
{{$:/OcttKB/WikiThings}}
!!! ''External Links''

View File

@ -1,6 +1,6 @@
created: 20230217150049780
creator: Octt
modified: 20230823000733774
modified: 20231105113011389
modifier: Octt
tags: Emulation Libre
title: QEMU
@ -10,7 +10,9 @@ title: QEMU
<<^wikipediaframe QEMU>>
A software integrating QEMU as an [[Android]] app is [[Limbo PC Emulator|https://virtualmachinery.weebly.com/]] ([[Git|https://github.com/limboemu/limbo]]).
* A software integrating QEMU as an [[Android]] app is [[Limbo PC Emulator|https://virtualmachinery.weebly.com/]] ([[Git|https://github.com/limboemu/limbo]]).
* [[Qemu Anti Detection|https://github.com/zhaodice/qemu-anti-detection]] --- //A patch to hide qemu itself, bypass vm detection//
!!! ''How-to''

View File

@ -1,9 +1,9 @@
created: 20230919165602032
creator: Octt
modified: 20230919202626915
modified: 20231105104503404
modifier: Octt
tags: [[Spacc Inc.]] Forum
title: Spacc BBS
The Spacc BBS [[Forum]] board runs on [[phpBB]] with custom, both in-house and third-party extensions.
Clearweb domain is [[bbs.spacc.eu.org|https://bbs.spacc.eu.org]], Tor domain is [[http://bbs.spaccsoj3trhzowrrblzb5m6hgkwu6syghnmhett7gvxbrz5zhsrs4ad.onion]].
Clearweb domain is <<httpsL bbs.spacc.eu.org>>, Tor domain is <<httpL bbs.spaccsoj3trhzowrrblzb5m6hgkwu6syghnmhett7gvxbrz5zhsrs4ad.onion>>.

View File

@ -1,6 +1,10 @@
created: 20230225194634903
creator: Octt
modified: 20230225213353168
modified: 20231105105612255
modifier: Octt
tags: [[Spacc Inc.]] TODO
title: SpaccCraft
tags: [[Spacc Inc.]] Minecraft
title: SpaccCraft
The SpaccCraft Minecraft server is available for gaming at `mc.spacc.eu.org`. The website is <<httpsL spacccraft.altervista.org>>.
<<iFrame100 "https://wikispacc.miraheze.org/wiki/SpaccCraft">>

View File

@ -1,6 +1,6 @@
created: 20220920092322164
creator: Octt
modified: 20230920154903731
modified: 20231105104426141
modifier: Octt
tags: $:/tags/Macro
title: $:/Macros/Main
@ -90,6 +90,7 @@ Display: Inline;
\define [#(Title, Link) <$macrocall $name="#[" Title="$Title$" Link="$Link$"/>
\define httpL(Domain) [[$Domain$|http://$Domain$]]
\define httpsL(Domain) [[$Domain$|https://$Domain$]]
\define HtmlAttrWikify(Tag, AttrName, AttrValue, Body, Attrs)
<$wikify name=AttrWikified text='$AttrValue$'>

View File

@ -1,7 +1,7 @@
Enabled: 0
created: 20231103212710757
creator: Octt
modified: 20231104120119309
modified: 20231105104902081
modifier: Octt
tags: $:/GlobalOption
title: $:/OcttKB/Config/TripleClickEdit
@ -10,6 +10,7 @@ title: $:/OcttKB/Config/TripleClickEdit
field="Enabled"
checked="1"
unchecked="0"
disabled=yes
>
Triple-Click to Edit
</$checkbox>

View File

@ -0,0 +1,14 @@
created: 20231105102930963
creator: Octt
modified: 20231105103737428
modifier: Octt
tags:
title: $:/OcttKB/Utils/HideErrors
<<script on>>
<script>
var hide = document.createElement('style');
hide.innerHTML = '.tc-error-form { display: none; }';
document.body.appendChild(hide);
</script>
<<script off>>

View File

@ -0,0 +1,11 @@
created: 20231105104108773
creator: Octt
modified: 20231105104108773
modifier: Octt
tags:
title: $:/OcttKB/WikiThings
; Other things
: [ext[📜️ No-JS Single-Page KB|./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#~Welcome~:~Welcome~ %24%3A%2FOcttKB%2FUtils%2FHideErrors]]

View File

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

View File

@ -1,6 +1,6 @@
created: 20231104225220509
created: 20231105101035285
creator: Octt
list:
modified: 20231105003724585
modified: 20231105113820924
modifier: Octt
title: $:/StoryList

View File

@ -1,7 +1,7 @@
created: 20220920140732083
creator: Octt
modified: 20231105001344578
modified: 20231105103731371
modifier: Octt
title: $:/state/showeditpreview
yes
no

View File

@ -1,7 +1,7 @@
created: 20231103214254057
creator: Octt
modified: 20231103222509045
modified: 20231105101047611
modifier: Octt
title: $:/state/plugin-info--565893350-$:/plugins/danielo515/2click2edit---843390625
contents
readme

View File

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

View File

@ -1,6 +1,6 @@
created: 20230916143818761
creator: Octt
modified: 20230919201825179
modified: 20231105104253448
modifier: Octt
title: $:/state/toc/$:/ToC-Spacc--1697730578

View File

@ -1,7 +1,7 @@
created: 20230125150238615
creator: Octt
modified: 20230129153838953
modified: 20231105104350546
modifier: Octt
title: $:/state/tree/$:/Macros/Breadcrumbs/
show
hide

View File

@ -1,7 +1,7 @@
created: 20230112111343793
creator: Octt
modified: 20230130075030178
modified: 20231105104351713
modifier: Octt
title: $:/state/tree/$:/Macros/MediaWiki/
show
hide

View File

@ -1,7 +1,7 @@
created: 20221108155618185
creator: Octt
modified: 20231104225349414
modified: 20231105104710526
modifier: Octt
title: $:/state/tree/$:/Macros/
show
hide

View File

@ -1,7 +1,7 @@
created: 20230225225512618
creator: Octt
modified: 20231104225233314
modified: 20231105104713926
modifier: Octt
title: $:/state/tree/$:/OcttKB/Config/
hide
show

View File

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

View File

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

View File

@ -1,6 +1,6 @@
created: 20221108100116751
creator: Octt
modified: 20231104225240740
modified: 20231105101052846
modifier: Octt
title: $:/state/tree/$:/plugins/

View File

@ -1,6 +1,6 @@
created: 20231103214243736
creator: Octt
modified: 20231104225240037
modified: 20231105101051811
modifier: Octt
title: $:/state/tree/$:/plugins/danielo515/