OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
octospacc 2024-01-30 00:47:41 +00:00
parent c6b7dd6f53
commit 3e8e23fc1a
39 changed files with 190 additions and 79 deletions

View File

@ -1,6 +1,6 @@
created: 20230206113426599
creator: Octt
modified: 20240129140045004
modified: 20240129233143233
modifier: Octt
tags:
title: TiddlyWiki/ThirdParty
@ -58,6 +58,7 @@ title: TiddlyWiki/ThirdParty
* <<linkdescgit Relink "https://flibbles.github.io/tw5-relink" "flexibility when relinking renamed tiddlers" "https://github.com/flibbles/tw5-relink">>
* [[Section Editor|https://kookma.github.io/TW-Section]] --- //create, edit, fold, manage sections// --- [[Git|https://github.com/kookma/TW-Section]] | [[Prototype discussion|https://talk.tiddlywiki.org/t/section-editor-prototype/951]]
* <<link+desc+git Streams "https://saqimtiaz.github.io/streams/" "Streams is a keyboard friendly way to write and easily divide your text into separate tiddlers while writing." "https://github.com/saqimtiaz/streams">> --- Adds a structural-visual hierarchy system to TiddlyWiki like Notion/Logseq.
* [[NotoWritey|https://marxsal.github.io/various/notowritey.html]] --- //text editor and outliner for ~TiddlyWiki that allows you to concentrate on writing documents one section (tiddler) at a time//
* [[Syntax-Highlighting Tiny Editor|https://talk.tiddlywiki.org/t/tw5-ready-to-play-prototype-syntax-highlighting-tiny-editor/4569]] (Ready-to-play prototype) --- [[Download|https://talk.tiddlywiki.org/uploads/short-url/853ile3OvoeJ9uowpv0YYXnKhSe.json]]
* [[Keyboard Navigation|https://keynav.tiddlyhost.com/]] --- //A plugin to add keyboard navigation of TiddlyWiki's Story River.//

View File

@ -1,7 +1,7 @@
created: 20230209150101862
creator: Octt
icon: 💅
modified: 20240107152919931
modified: 20240130004423944
modifier: Octt
page-cover: https://images.unsplash.com/photo-1523437113738-bbd3cc89fb19
tags: Web Frontend
@ -15,6 +15,10 @@ title: CSS
* [[CSS Borders [w3s]|https://www.w3schools.com/css/css_border.asp]]
** <<MDNLink Web/CSS/border-style border-style>> --- all ways to style a border, not only colors
!!! ''Tips''
* [[How to disable a link using only CSS|https://stackoverflow.com/questions/2091168/how-to-disable-a-link-using-only-css]] --- essentially, `pointer-events: none;` for the functional side, + other rules for styling
!!! ''Frameworks''
* [[Bulma|https://bulma.io/]] --- //modern CSS framework that just works//

View File

@ -1,6 +1,6 @@
created: 20231102231258441
creator: Octt
modified: 20240107114852326
modified: 20240130003805680
modifier: Octt
tags:
title: Homebrew
@ -12,3 +12,5 @@ title: Homebrew
* ''[[Homebrew Hub|https://hh.gbdev.io/]]'' is a community-led initiative to collect, archive and preserve homebrew software developed for Game Boy (Color) and the Game Boy Advance. --- <<[# Git"https://github.com/gbdev/homebrewhub">>
* [[Universal-Team|https://universal-team.net/]] --- //We make homebrew apps for the DS(i) and 3DS. We hope you find them useful! 😄// --- <<[# Git"https://github.com/Universal-Team">>
* [[Rinnegatamante's Archive|https://rinnegatamante.it/]]

View File

@ -1,6 +1,6 @@
created: 20231123184226189
creator: Octt
modified: 20231224154946990
modified: 20240130004109754
modifier: Octt
tags:
title: MIPS
@ -19,3 +19,4 @@ title: MIPS
.space 16 # Size of struct`, then use with `la $register,theStruct`
* [[MIPS - Call C function in Assembly code|https://stackoverflow.com/questions/36980971/mips-call-c-function-in-assembly-code]] --- write values to stack if necessary, declare `.extern CFunctionName` in the ASM, use `jal CFunctionName` to call
* [[MIPS function call with more than four arguments|https://stackoverflow.com/questions/2298838/mips-function-call-with-more-than-four-arguments]] --- first allocate stack memory (subtract 4*numberOfArguments to `sp`), then load the first 4 arguments normally in `$a#` registers, and store the others in `4*argumentNumber($sp)`
* [[Why shift a bit using sll and such in MIPs Assembly?|https://stackoverflow.com/questions/32487502/why-shift-a-bit-using-sll-and-such-in-mips-assembly]] (and what actually shifting does)

View File

@ -1,7 +1,7 @@
created: 20220924193842295
creator: Octt
icon: 🐈
modified: 20240129135830800
modified: 20240130003932997
modifier: Octt
page-cover: https://source.unsplash.com/random/?computer-cat
tags: TiddlyWiki Wiki Zettelkasten Libre
@ -65,6 +65,8 @@ It is a libre, JavaScript-rich, non-linear notebook, that can well adapt to anyo
* <<TwL " DateFormat ">>
* <<TwL " [[Filter Operators]] ">>
** <<TwLL "search Operator">>: uses the inbuilt search engine to retrieve data
** <<TwLL "contains Operator">>: checks if some name is contained in a list-formatted field (`list` by default)
* <<TwLL "DraggableWidget">> --- to create custom draggables, for copying specific data to other wikis by drag-n-drop
* <<TwL " MacroCallWidget SetWidget VarsWidget">>
* <<TwL " EditTextWidget RangeWidget CheckboxWidget">>
* <<TwL " [[Table-of-Contents Macros (Examples)]] ">>

View File

@ -1,13 +0,0 @@
created: 20240129160009781
creator: Octt
list-before: $:/core/ui/Buttons/more-page-actions
modified: 20240129165212023
modifier: Octt
tags: $:/tags/PageControls
title: $:/Apps/MagicBox/Buttons/Open-MagicBox
<$button tooltip="Open MagicBox" class="tc-btn-invisible">
🪟️
<!--<$action-navigate $to="$:/Apps/MagicBox/Overlay"/>-->
{{$:/Apps/MagicBox/Shortcuts/Open-MagicBox}}
</$button>

View File

@ -0,0 +1,21 @@
created: 20240129160009781
creator: Octt
list-before: $:/core/ui/Buttons/more-page-actions
modified: 20240129223619782
modifier: Octt
tags: $:/tags/PageControls
title: $:/Apps/MagicBox/Buttons/Toggle-MagicBox
\define label() Toggle MagicBox
\whitespace trim
<$button tooltip=<<label>> class=<<tv-config-toolbar-class>>>
<$if value=<<tv-config-toolbar-icons>> match="yes">
🪟️
</$if>
<$if value=<<tv-config-toolbar-text>> match="yes">
<span class="tc-btn-text">
<$text text=<<label>>/>
</span>
</$if>
{{$:/Apps/MagicBox/Shortcuts/Toggle-MagicBox}}
</$button>

View File

@ -1,13 +0,0 @@
created: 20240129163942191
creator: Octt
key: ((Open-MagicBox))
modified: 20240129170319526
modifier: Octt
tags: $:/tags/KeyboardShortcut
title: $:/Apps/MagicBox/Shortcuts/Open-MagicBox
\whitespace trim
<$navigator story="$:/StoryList" history="$:/HistoryList">
<$action-navigate $to="$:/Apps/MagicBox/Overlay" $scroll="yes"/>
<!--<$action-sendmessage $message="tm-focus-selector" $param="""[data-tiddler-title="$:/Apps/MagicBox/Overlay"] ._input""" preventScroll="true"/>-->
</$navigator>

View File

@ -0,0 +1,18 @@
created: 20240129163942191
creator: Octt
key: ((Toggle-MagicBox))
modified: 20240129232038489
modifier: Octt
tags: $:/tags/KeyboardShortcut
title: $:/Apps/MagicBox/Shortcuts/Toggle-MagicBox
\define appTiddler() $:/Apps/MagicBox/Overlay
\whitespace trim
<$navigator story="$:/StoryList" history="$:/HistoryList">
<$if not value={{{[[$:/StoryList]contains<appTiddler>]}}}>
<$action-navigate $to=<<appTiddler>> $scroll="yes"/>
</$if><$else>
<$action-sendmessage $message="tm-close-tiddler" $param=<<appTiddler>>/>
</$else>
<!--<$action-sendmessage $message="tm-focus-selector" $param="""[data-tiddler-title="$:/Apps/MagicBox/Overlay"] ._input""" preventScroll="true"/>-->
</$navigator>

View File

@ -0,0 +1,24 @@
created: 20240129220613684
creator: Octt
modified: 20240129225200513
modifier: Octt
tags:
title: $:/Apps/MagicBox/readme
This currently work-in-progress, experimental applet provides a "magic box", allowing for wiki content to be searched in a visually effective way: a full-screen interface complete with previews and covers.
* Thread: [[https://talk.tiddlywiki.org/t/wiki-search-grid-with-covers-and-content-preview-prototype/9003]]
Install in other wiki by drag-and-drop:
# <$draggable tag="button" filter="[[$:/Apps/MagicBox]] [prefix[$:/Apps/MagicBox/]] [tag[$:/Apps/MagicBox]] [tag[$:/Apps/MagicBox/Attached]]">
All applet files
</$draggable>
# (Required dependency) <$draggable tag="button" filter="[[$:/plugins/ebalster/condition]]">
`ebalster/condition` plugin
</$draggable>
# (Optional dependency, required to show content) <$draggable tag="button" filter="[[$:/plugins/danielo515/ContextPlugin/Stylesheet/results]] [[$:/plugins/danielo515/ContextPlugin/widgets/context.js]]">
Core files of `danielo515/ContextPlugin` plugin, modified to allow `tabindex=-1`
</$draggable>

View File

@ -3,13 +3,13 @@
.width: 33
created: 20240129095948486
creator: Octt
modified: 20240129171354932
modified: 20240129234018781
modifier: Octt
tags: $:/Apps
title: $:/Apps/MagicBox
\define SearchResults(fields)
<$list filter="[!is[system]search:$fields${$:/temp/MagicBox!!.input}sort[title]limit[150]]">
<$list filter="[!is[system]search:$fields${$:/temp/MagicBox!!.input}sort[title]limit[100]]">
<div class=`MagicBoxApplet result ${[{$:/Apps/MagicBox!!.type}]}$` style=`background-image: url("${[{!!page-cover}]}$");`>
<$button class="tc-btn-invisible">
<$action-sendmessage $message="tm-close-tiddler" $param=<<closeOnChoose>>/>
@ -19,7 +19,7 @@ title: $:/Apps/MagicBox
<$link to={{!!title}} tabindex="-1"/>
</h3>
<$if value={{$:/Apps/MagicBox!!.context}}>
<$context term={{$:/temp/MagicBox!!.input}} $tabindex="-1"/>
<$context term={{$:/temp/MagicBox!!.input}} tabindex="-1"/>
</$if>
<!--</$link>-->
</$button>
@ -28,11 +28,14 @@ title: $:/Apps/MagicBox
\end
<div class="MagicBoxApplet options">
<$edit-text tiddler="$:/temp/MagicBox" field=".input" class="_input" placeholder="Search..." tabindex="0"/>
<$checkbox field=".context" checked="1">Context</$checkbox>
&nbsp;
<!--<$edit-text field=".type" placeholder="Display Type"/>-->
<$checkbox field=".type" checked="grid" unchecked="masonry">Fixed Grid</$checkbox>
<$range field=".width" min="24" max="49"/>{{!!.width}}%
&nbsp;
<$range field=".width" min="19" max="49"/>{{!!.width}}
&nbsp;
<$edit-text tiddler="$:/temp/MagicBox" field=".input" class="_input" placeholder="Search..." tabindex="0"/>
</div>
<$action-sendmessage $message="tm-focus-selector" $param=".MagicBoxApplet.options > ._input"/>
@ -42,6 +45,12 @@ title: $:/Apps/MagicBox
} catch(e) { $OcttKB.ErrAtLine(e) }'>><<script off>>
<style>
@media (max-width: 500px) {
.MagicBoxApplet.result {
min-width: calc(({{!!.width}}% * 2) - 16px) !important;
max-width: calc(({{!!.width}}% * 3) - 16px) !important;
}
}
.MagicBoxApplet.result {
margin: 8px;
display: inline-block;
@ -87,6 +96,16 @@ title: $:/Apps/MagicBox
</style>
<$if value={{{ [{$:/temp/MagicBox!!.input}split[]count[]compare:integer:gteq[3]then[1]] }}}>
<$if value={{{ [!is[system]search:title{$:/temp/MagicBox!!.input}then[]else[1]] }}}>
<$button>
<$action-sendmessage $message="tm-close-tiddler" $param=<<closeOnChoose>>/>
<$action-sendmessage $message="tm-new-tiddler" title={{$:/temp/MagicBox!!.input}} />
Create as New Tiddler
</$button>
</$if>
<div><br/><hr/><br/></div>
Title or Caption matches:
<br/><<SearchResults "title,caption">>

View File

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

View File

@ -1,7 +0,0 @@
status: complete
title: $:/Import
The following tiddlers were imported:
# [[$:/config/ShortcutInfo/Open-MagicBox]]
# [[$:/Apps/MagicBox/Shortcuts/Open-MagicBox]]

View File

@ -1,6 +1,6 @@
created: 20240129132106430
created: 20240129215525933
creator: Octt
list:
modified: 20240129171406542
modified: 20240130004259074
modifier: Octt
title: $:/StoryList

View File

@ -0,0 +1,7 @@
created: 20240129223645518
creator: Octt
modified: 20240129223645518
modifier: Octt
title: $:/config/PageControlButtons/Visibility/$:/plugins/tiddlywiki/markdown/new-markdown-button
hide

View File

@ -1,4 +0,0 @@
created: 20240129164312864
modified: 20240129164319981
tags:
title: $:/config/ShortcutInfo/Open-MagicBox

View File

@ -0,0 +1,6 @@
created: 20240129164312864
creator: Octt
modified: 20240129225034425
modifier: Octt
tags: $:/Apps/MagicBox/Attached
title: $:/config/ShortcutInfo/Toggle-MagicBox

View File

@ -1,7 +1,7 @@
created: 20220920161126651
creator: Octt
modified: 20231110115023937
modified: 20240129184006474
modifier: Octt
title: $:/config/AnimationDuration
80
60

View File

@ -1,7 +0,0 @@
created: 20240129165246939
creator: Octt
modified: 20240129165246939
modifier: Octt
title: $:/config/shortcuts/Open-MagicBox
ctrl-O

View File

@ -0,0 +1,7 @@
created: 20240129165246939
creator: Octt
modified: 20240129183740425
modifier: Octt
title: $:/config/shortcuts/Toggle-MagicBox
ctrl-O

View File

@ -2,6 +2,7 @@
title: $:/core/modules/widgets/danielo/context-widget.js
type: application/javascript
module-type: widget
OcttKB-Note: added tabindex attribute.
Edit-text widget
@ -39,13 +40,13 @@ contextWidget.prototype.render = function(parent,nextSibling) {
var matches = this.executeRegexp();
if(matches.length > 0){
this.domNode = this.document.createElement(this.element);
this.domNode.tabindex = this.tabindex;
this.domNode.setAttribute("tabindex", this.tabindex);
this.domNode.className="tw-context";
this.composeResults( matches ); //this appends to domNode
// Insert element
parent.insertBefore(this.domNode,nextSibling);
this.renderChildren(this.domNode,null);
this.domNodes.push(this.domNode);
this.domNodes.push(this.domNode);
}
}
@ -64,7 +65,7 @@ contextWidget.prototype.execute = function() {
this.after = this.getAttribute("after",this.contextLength);
this.maxMatches = this.getAttribute("maxMatches",10);
this.element = this.getAttribute("element","pre");
this.tabindex = this.getAttribute("tabindex");
this.tabindex = this.getAttribute("tabindex");
this.makeChildWidgets();
};

View File

@ -1,6 +1,6 @@
created: 20140418153435777
creator: danielo
modified: 20240129171317600
modified: 20240129224755106
modifier: Octt
module-type: widget
title: $:/plugins/danielo515/ContextPlugin/widgets/context.js

View File

@ -1,6 +1,6 @@
created: 20220920140732083
creator: Octt
modified: 20240129100429521
modified: 20240129223326435
modifier: Octt
title: $:/state/showeditpreview

View File

@ -1,7 +1,7 @@
created: 20230109143853256
creator: Octt
modified: 20240129010520350
modified: 20240129215548628
modifier: Octt
title: $:/state/tab--1498284803
$:/core/ui/AdvancedSearch/Shadows
$:/core/ui/AdvancedSearch/Filter

View File

@ -1,7 +1,7 @@
created: 20220920090405977
creator: Octt
modified: 20240129165232809
modified: 20240129230306596
modifier: Octt
title: $:/state/tab-1749438307
$:/core/ui/ControlPanel/KeyboardShortcuts
$:/core/ui/ControlPanel/Appearance

View File

@ -1,7 +1,7 @@
created: 20230109143853256
creator: Octt
modified: 20240129010520349
modified: 20240129215548626
modifier: Octt
title: $:/state/advancedsearch/currentTab
$:/core/ui/AdvancedSearch/Shadows
$:/core/ui/AdvancedSearch/Filter

View File

@ -0,0 +1,7 @@
created: 20240129230328326
creator: Octt
modified: 20240129230338052
modifier: Octt
title: $:/state/plugin-info-1162058394-$:/plugins/felixhayashi/hotzone---732013664
Configuration

View File

@ -1,7 +1,7 @@
created: 20230926065207438
creator: Octt
modified: 20230927063919442
modified: 20240129220635867
modifier: Octt
title: $:/state/plugin-info-1867135918-$:/plugins/btheado/BrowserStorage--473245636
contents
readme

View File

@ -1,6 +1,6 @@
created: 20230926062532938
creator: Octt
modified: 20230927064016618
modified: 20240129220638368
modifier: Octt
title: $:/state/plugin-info-1867135918-$:/plugins/btheado/BrowserStorage

View File

@ -0,0 +1,7 @@
created: 20240129220642063
creator: Octt
modified: 20240129220642063
modifier: Octt
title: $:/state/plugin-info-1867135918-$:/plugins/danielo515/2click2edit--1015749129
contents

View File

@ -0,0 +1,7 @@
created: 20240129220639389
creator: Octt
modified: 20240129220643686
modifier: Octt
title: $:/state/plugin-info-1867135918-$:/plugins/danielo515/2click2edit
no

View File

@ -0,0 +1,7 @@
created: 20240129221643958
creator: Octt
modified: 20240129221653446
modifier: Octt
title: $:/state/plugin-info-1867135918-$:/plugins/ebalster/condition---1294715929
readme

View File

@ -0,0 +1,7 @@
created: 20240129221641393
creator: Octt
modified: 20240129221654922
modifier: Octt
title: $:/state/plugin-info-1867135918-$:/plugins/ebalster/condition
no

View File

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

View File

@ -1,6 +1,6 @@
created: 20230817233312379
creator: Octt
modified: 20240129171402153
modified: 20240129234150066
modifier: Octt
title: $:/state/toc/$:/ToC-$:/Apps--1697730578

View File

@ -1,6 +1,6 @@
created: 20230817233308156
creator: Octt
modified: 20240129161429270
modified: 20240129215819354
modifier: Octt
title: $:/state/toc/$:/ToC-$:/Tools--1697730578

View File

@ -0,0 +1,7 @@
created: 20240129224805142
creator: Octt
modified: 20240129224805142
modifier: Octt
title: $:/state/toc/$:/ToC/$:/Apps-$:/Apps/MagicBox--1697730578
open

View File

@ -1,6 +1,6 @@
created: 20240129165309464
creator: Octt
modified: 20240129165309464
modified: 20240129231142511
modifier: Octt
title: $:/state/tree/$:/Apps/MagicBox/Shortcuts/

View File

@ -1,6 +1,6 @@
created: 20230227072955115
creator: Octt
modified: 20230925173912043
modified: 20240129222612819
modifier: Octt
title: $:/state/tree/$:/Octt/