OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
octospacc 2023-04-29 19:23:42 +00:00
parent feb912633a
commit c28818b7a0
23 changed files with 124 additions and 58 deletions

View File

@ -0,0 +1,13 @@
created: 20230429190756464
creator: Octt
modified: 20230429190812234
modifier: Octt
tags:
title: JavaScript/Frameworks
* ''[[Alpine.js|https://alpinejs.dev/]]'' - //Rugged, minimal<<fnote "15 attributes, 6 properties, 2 methods">> framework for composing JavaScript behavior in the markup// - [[[Git|https://github.com/alpinejs/alpine]]]
** [[HyperJS|https://js.hyperui.dev/]] - //Collection of Alpine JS components// - <<[ "[[Git|https://github.com/markmead/hyperjs]]">>
* ''[[Electron|https://www.electronjs.org/]]'' - //Build cross-platform desktop apps with JavaScript, HTML, and CSS// - [[[Git|https://github.com/electron]]]
* ''[[React|https://reactjs.org/]]'' - //Building UI-oriented apps with [[JSX|https://en.wikipedia.org/wiki/JSX_(JavaScript)]]// - [[[Git|https://github.com/facebook/react]]]
** ''[[React Native|https://reactnative.dev/]]'' - //Compiling ReactJS apps to native ones// - [[[Git|https://github.com/facebook/react-native]]]
* ''[[Tauri|https://tauri.app/]]'' - //Use Rust to build desktop and mobile apps with a web frontend// - [[[Git|https://github.com/tauri-apps/]]]

View File

@ -0,0 +1,27 @@
created: 20230429182925276
creator: Octt
modified: 20230429185355199
modifier: Octt
tags:
title: JavaScript/Libraries
Note: some are still in [[Web/Development]]
!!! ''Single-purpose''
* [[FileSaver.js|https://github.com/eligrey/FileSaver.js]] - //An HTML5 saveAs() FileSaver implementation//
!!! ''Do-all''
* [[jQuery|https://jquery.com/]] - //write less, do more// for general operations
** Has optional libraries for selectors and UI - <<[ "[[Git|https://github.com/jquery]]">>
* [[Licia|https://licia.liriliri.io/]] - //utility library to get daily works done// - <<[ "[[Git|https://github.com/liriliri/licia]]">>
* [[Lodash|https://lodash.com/]] - More modern fork of Underscore, useful for working with data objects - <<[ "[[Git|https://github.com/lodash]]">>
!!! ''Polyfills''
These are for adding newer APIs to older browsers when making a webapp that uses them.
* [[ECMAScript Shims|https://github.com/es-shims]] - Collection of compliant shims
* [[core-js|https://github.com/zloirock/core-js]] - Pure JS Standard Library reimplementation
* [[srcdoc-polyfill|https://github.com/jugglinmike/srcdoc-polyfill]] - //A shim for the iFrame "srcdoc" attribute//

View File

@ -1,6 +1,6 @@
created: 20230110220407274
creator: Octt
modified: 20230425095527461
modified: 20230429191535427
modifier: Octt
tags: Internet Nintendo $:/i18n:en
title: Miiverse
@ -11,3 +11,11 @@ title: Miiverse
* [[The Clone Forest|https://sites.google.com/site/cloneforestmvc/]]
* [[Miiverse Clonapedia|https://sites.google.com/site/mvclonapedia/]]
!!! ''Present Servers''
* https://miiverse.lol
!!!! Heavy forks
* https://caustica.isledelfino.net

View File

@ -1,31 +1,33 @@
created: 20230223222804008
creator: Octt
modified: 20230425095038827
modified: 20230429191855452
modifier: Octt
tags:
title: Saved/Personal Sites
title: Saved/Sites
List of some personal sites (Web but also other protocols?) I want to save, for some reason or another. Sometimes they have interesting content, others I just like the aesthetic, or navigation experience.
List of some Internet sites (Web and also other protocols) I want to save, for some reason or another. Sometimes they have interesting content, others I just like the aesthetic, or navigation experience. All here are miscellaneous, look in subpages for categories.
Some could be defined by people as "[[digital gardens|Digital Garden]]".
Some personal ones could be defined as "[[digital gardens|Digital Garden]]".
!!! [[Blog]]-leaning
!!! ''[[Blog]]-leaning''
* [[sitoctt]]
* [[Eli Grey|https://eligrey.com/]]
* [[Gianmarco Gargiulo|https://gianmarco.gg]]
* [[Read the Tea Leaves|https://nolanlawson.com/]] - //Software and other dark arts, by Nolan Lawson//
* [[Simon Willisons Weblog|https://simonwillison.net/]] - <<[ "[[Git|https://github.com/simonw/simonwillisonblog]]">>
!!! [[Book]]-leaning
!!! ''[[Book]]-leaning''
* [[Ledom Software|https://ledomsoft.com]]
* [[Hundred Rabbits|https://100r.co/]] - <<[ "[[Git|https://github.com/hundredrabbits/100r.co]]">>
!!! [[Wiki]]-leaning
!!! ''[[Wiki]]-leaning''
* Andrea Minini PKB: [[.com|https://www.andreaminini.com]], [[.org|https://www.andreaminini.org]]
** [[How (by Okpedia)|https://how.okpedia.org/]] - //Tutorials and Solutions KB// - (apparently a separate wiki of the same person above, also multi-language)
* [[Computer Science Mojo|https://csmojo.com]] - //David's Notes on coding, software and computer science// - <<[ "[[Git|https://github.com/zhenyufu/zhenyufu.github.io]]">>
* [[Maggie Appleton|https://maggieappleton.com/]] - <<[ "[[Git|https://github.com/MaggieAppleton/maggieappleton.com-V2]]">>
* [[WikiSpacc]]
* [[wiki.nikiv.dev|https://wiki.nikiv.dev/]] - <<[ "[[Git|https://github.com/nikitavoloboev/knowledge]]">>
* [[XXIIVV|https://wiki.xxiivv.com/]] - <<[ "[[Git|https://github.com/XXIIVV/oscean]]">>
!!! Mess-leaning <small>(these are often the most creative!)</small>
!!! Mess-leaning <small>(often the most creative)</small>
*

View File

@ -0,0 +1,11 @@
created: 20230429190335486
creator: Octt
modified: 20230429190715732
modifier: Octt
tags:
title: Saved/Sites/Development
Note: some are in [[Development Resources]].
* [[Dustin John Pfister|https://dustinpfister.github.io/]]
* [[ZetCode|https://zetcode.com/]] - //accessible tutorials for various languages//

View File

@ -1,6 +1,6 @@
created: 20230221204801305
creator: Octt
modified: 20230428191549029
modified: 20230429191254121
modifier: Octt
tags:
title: Web/Development
@ -15,6 +15,7 @@ title: Web/Development
; Misc
: [[Window: postMessage()|https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage]]
: [[Proxy Auto-Configuration (PAC) file|https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file]]
; DOM querying
: [[Find all text nodes in HTML page|https://stackoverflow.com/a/10730777]]
@ -25,35 +26,14 @@ title: Web/Development
: [[Prepend/append childNode to beginning/end of element|https://stackoverflow.com/a/45656684]]
: [[Replace a DOM Element|https://www.javascripttutorial.net/dom/manipulating/replace-a-dom-element/]]
!!! ''Frameworks''
* ''[[Alpine.js|https://alpinejs.dev/]]'' - //Rugged, minimal<<fnote "15 attributes, 6 properties, 2 methods">> framework for composing JavaScript behavior in the markup// - [[[Git|https://github.com/alpinejs/alpine]]]
** [[HyperJS|https://js.hyperui.dev/]] - //Collection of Alpine JS components// - <<[ "[[Git|https://github.com/markmead/hyperjs]]">>
* ''[[Electron|https://www.electronjs.org/]]'' - //Build cross-platform desktop apps with JavaScript, HTML, and CSS// - [[[Git|https://github.com/electron]]]
* ''[[React|https://reactjs.org/]]'' - //Building UI-oriented apps with [[JSX|https://en.wikipedia.org/wiki/JSX_(JavaScript)]]// - [[[Git|https://github.com/facebook/react]]]
** ''[[React Native|https://reactnative.dev/]]'' - //Compiling ReactJS apps to native ones// - [[[Git|https://github.com/facebook/react-native]]]
* ''[[Tauri|https://tauri.app/]]'' - //Use Rust to build desktop and mobile apps with a web frontend// - [[[Git|https://github.com/tauri-apps/]]]
!!! ''Tools''
!!!! ''Tools/Libraries''
!!! ''Tools and similar''
* https://github.com/csstools/oldie - //tranforms CSS to be compatible with old Internet Explorer//
* [[CORS Anywhere|https://github.com/Rob--W/cors-anywhere]] - //Server proxy which adds CORS headers to the request//
; Minification
: ~~[[node-minify|https://github.com/srod/node-minify]] - //Light Node.js module and CLI app that compress javascript, css and html files//~~
: [[UglifyJS|https://lisperator.net/uglifyjs/]] - //JavaScript parser / mangler / compressor / beautifier// - <<[ "[[Git|https://github.com/mishoo/UglifyJS]]">>
!!!!! ''Polyfills''
These are for adding newer APIs to older browsers when making a webapp that uses them.
* [[ECMAScript Shims|https://github.com/es-shims]] - Collection of compliant shims
* [[core-js|https://github.com/zloirock/core-js]] - Pure JS Standard Library reimplementation
* [[FileSaver.js|https://github.com/eligrey/FileSaver.js]] - //An HTML5 saveAs() FileSaver implementation//
* [[srcdoc-polyfill|https://github.com/jugglinmike/srcdoc-polyfill]] - //A shim for the iFrame "srcdoc" attribute//
!!!! Minification
* ~~[[node-minify|https://github.com/srod/node-minify]] - //Light Node.js module and CLI app that compress javascript, css and html files//~~
* [[UglifyJS|https://lisperator.net/uglifyjs/]] - //JavaScript parser / mangler / compressor / beautifier// - <<[ "[[Git|https://github.com/mishoo/UglifyJS]]">>
!!! ''Misc''

View File

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

View File

@ -24,12 +24,12 @@ try {
if (!Text) {
Text = '<p>An error occurred while trying to extract the content. Close and reopen this <i>tiddler</i> to retry, or click the link to open the source in a new tab.</p>'
};
Text = Text.replaceAllTxt('\n', '').replaceAllTxt('<p class="mw-empty-elt"></p>', '');
Text = Text.replaceAll('\n', '').replaceAll('<p class="mw-empty-elt"></p>', '');
if (Sections != 0) {
for (let i=1; i<=6; i++) {
Text = Text.replaceAllTxt(`</p><h${i}>`, `</p><!--:PARAGRAPH:--->\n<h${i}>`);
Text = Text.replaceAll(`</p><h${i}>`, `</p><!--:PARAGRAPH:--->\n<h${i}>`);
};
Text = Text.replaceAllTxt(`</p><p>`, `</p><!--:PARAGRAPH:---><p>`);
Text = Text.replaceAll(`</p><p>`, `</p><!--:PARAGRAPH:---><p>`);
//Text = Text.split('<!--:PARAGRAPH:--->').slice(0, Max+1).join('');
//Text = Text.split('<p>').slice(0, Max+1).join('<p>');
if (Sections < 0) {

View File

@ -2,7 +2,7 @@ Note: source must always be credited, and thus it's not ideal to use this macro
See [[$: /Macros/MediaWiki]] for usage of this macro.
created: 20230108190340455
creator: Octt
modified: 20230124213837502
modified: 20230429192152268
modifier: Octt
module-type: macro
tags:

View File

@ -1,3 +1,3 @@
created: 19700101000000000
modified: 20230425100440000
modified: 20230428191937000
title: $:/OcttKB/Empty

View File

@ -5,8 +5,10 @@ exports.startup = function() {
try {
// https://stackoverflow.com/a/63958411
String.prototype.replaceAllTxt = function replaceAll(search, replace) {
return this.split(search).join(replace);
if (!String.prototype.replaceAll) {
String.prototype.replaceAll = function replaceAll(search, replace) {
return this.split(search).join(replace);
};
};
} catch(e) {

View File

@ -1,5 +1,7 @@
created: 20230111154758023
modified: 20230112185932820
creator: Octt
modified: 20230429192213300
modifier: Octt
module-type: startup
tags:
title: $:/OcttKB/Polyfills.js

View File

@ -1,6 +1,6 @@
created: 20230428190551330
created: 20230429182908215
creator: Octt
list:
modified: 20230428191555933
modified: 20230429192120468
modifier: Octt
title: $:/StoryList

View File

@ -1,7 +1,7 @@
created: 20221109142817793
creator: Octt
modified: 20230219212336934
modified: 20230429191340930
modifier: Octt
title: $:/state/addplugins/tab-1342078386
$:/config/OfficialPluginLibrary
$:/config/TiddlyWiki-CPL/GitHub

View File

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

View File

@ -1,6 +1,6 @@
created: 20220920174307633
creator: Octt
modified: 20230425100159359
modified: 20230429191320001
modifier: Octt
title: $:/state/sidebar

View File

@ -1,7 +1,7 @@
created: 20220920090405977
creator: Octt
modified: 20230413090110252
modified: 20230429191411290
modifier: Octt
title: $:/state/tab-1749438307
$:/core/ui/ControlPanel/Plugins
$:/core/ui/ControlPanel/Info

View File

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

View File

@ -0,0 +1,7 @@
created: 20230429190915304
creator: Octt
modified: 20230429190917201
modifier: Octt
title: $:/state/toc/Web-HTTP-726624880
close

View File

@ -1,6 +1,6 @@
created: 20230215211524153
creator: Octt
modified: 20230301211915784
modified: 20230429190936497
modifier: Octt
title: $:/state/tree/Saved/Articles/

View File

@ -0,0 +1,7 @@
created: 20230429190937264
creator: Octt
modified: 20230429190937809
modifier: Octt
title: $:/state/tree/Saved/News/
hide

View File

@ -1,6 +1,6 @@
created: 20230307215026101
creator: Octt
modified: 20230307215026780
modified: 20230429190942313
modifier: Octt
title: $:/state/tree/Saved/Posts/

View File

@ -0,0 +1,7 @@
created: 20230429190939216
creator: Octt
modified: 20230429191013641
modifier: Octt
title: $:/state/tree/Saved/Sites/
hide