OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
octospacc 2023-11-03 22:50:08 +00:00
parent 8a859c31c8
commit 7d6eb126e8
25 changed files with 144 additions and 33 deletions

View File

@ -1,5 +0,0 @@
tags: $:/tags/ViewTemplate
title: $:/plugins/danielo515/2click2edit/ui/ViewTemplate
type: text/vnd.tiddlywiki
<$click>

View File

@ -1,4 +1,6 @@
{
"created": "20231103222442649",
"creator": "Octt",
"bag": "default",
"revision": "0",
"version": "0.1",
@ -9,5 +11,7 @@
"description": "double click to edit tiddlers",
"dependents": "",
"core-version": ">=5.1.0",
"author": "Danielo Rodriguez"
"author": "Danielo Rodriguez",
"modified": "20231103222519958",
"modifier": "Octt"
}

View File

@ -1,9 +1,9 @@
created: 20230202104823127
creator: Octt
modified: 20231102232215227
modified: 20231103224247904
modifier: Octt
tags: Nintendo Gaming $:/i18n:en Console
title: NES
title: Nintendo Entertainment System
<<^wikipediaframe "Nintendo Entertainment System" en>>
@ -14,6 +14,7 @@ title: NES
* [[NesDev.org|https://www.nesdev.org/]] --- //Info, programs, and more//
* [[Nintendo Entertainment System Documentation|https://www.nesdev.org/NESDoc.pdf]]
* <<httpL nes.science>> --- //home to a bunch of random NES stuff// and useful archives
* [[Nerdy Nights (mirror)|https://nerdy-nights.nes.science/]] --- //tutorial series to help people write games for the NES//
* <<httpL nesdoug.com>> --- NES Programming tutorial in C
** [[GitBook re-adaptation by dag7dev|https://dag7.gitbook.io/nesdoug-nes-guide]] //for a comfy read// --- <<#[ Git"https://github.com/dag7dev/nesdoug-nes-guide">>

View File

@ -0,0 +1,12 @@
created: 20231103222629549
creator: Octt
modified: 20231103223257478
modifier: Octt
tags:
title: Regex
<<^wikipediaframe Regex>>
* [[regex101|https://regex101.com]] --- webapp to //build, test, and debug regex//
* [[You can't parse [X]HTML with regex|https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454]]

View File

@ -1,5 +1,10 @@
created: 20231103223458206
creator: Octt
modified: 20231103224520707
modifier: Octt
title: Simple DirectMedia Layer
<<^wikipediaframe "Simple DirectMedia Layer">>
* [[Getting Started With SDL 1.2|http://gamedevgeek.com/tutorials/getting-started-with-sdl/]], [[Moving Sprites With SDL 1.2|http://gamedevgeek.com/tutorials/moving-sprites-with-sdl/]], [[Animating Sprites With SDL|http://gamedevgeek.com/tutorials/animating-sprites-with-sdl/]]
* [[Getting Started With SDL 1.2|http://gamedevgeek.com/tutorials/getting-started-with-sdl/]] ; [[Moving Sprites With SDL 1.2|http://gamedevgeek.com/tutorials/moving-sprites-with-sdl/]] ; [[Animating Sprites With SDL|http://gamedevgeek.com/tutorials/animating-sprites-with-sdl/]]
* Minimal examples of using the HTML5 canvas via SDL, through WebAssembly and [[C|https://github.com/shlomnissan/sdl-wasm]] or [[C++|https://github.com/timhutton/sdl-canvas-wasm]]

View File

@ -1,6 +1,6 @@
created: 20230207213320932
creator: Octt
modified: 20231103212334824
modified: 20231103224911648
modifier: Octt
tags: Microsoft Proprietary OS
title: Windows
@ -16,6 +16,7 @@ title: Windows
* [[Shorthorn Project|http://shorthornproject.com/]] --- //project to transform Windows XP/2003 in a moderns systems, with beatiful interface, compatible and very fast, based in One-Core-API tecnology//
** [[One-Core-API|https://github.com/Skulltrail192/One-Core-Api]] --- //complete layer to get compatibility on XP/2003 for newer applications// --- <<#[ Binaries "https://github.com/Skulltrail192/One-Core-API-Binaries">>
* some [[Windows 98SE Utilities|http://dk.toastednet.org/vogons/win98/]]
!!! ''Distros''

View File

@ -1,7 +1,7 @@
Enabled: 0
created: 20231103212710757
creator: Octt
modified: 20231103220127382
modified: 20231103222606894
modifier: Octt
tags: $:/GlobalOption
title: $:/OcttKB/Config/TripleClickEdit

View File

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

View File

@ -1,6 +1,6 @@
created: 20231103210837078
created: 20231103222031777
creator: Octt
list:
modified: 20231103215300411
modified: 20231103224853079
modifier: Octt
title: $:/StoryList

View File

@ -0,0 +1,64 @@
/*\
title: $:/plugins/danielo515/2click2edit/ClickListener.js
type: application/javascript
module-type: widget
This widgets adds an double click event listener to its parent
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var Widget = require("$:/core/modules/widgets/widget.js").widget;
var ClickListener = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options);
};
/*
Inherit from the base widget class
*/
ClickListener.prototype = new Widget();
/*
Render this widget into the DOM
*/
ClickListener.prototype.render = function(parent,nextSibling) {
this.parentDomNode = parent;
this.execute();
var self = this;
/*Since the event listener have been added to the parent, the "this" property is pointing to the
wrong object, we should call our edit function with our widget object set as the this property.*/
/* OcttKB: edit this to work with 3 clicks instead of 2 */
window.addEventListener('click', function(ev){
if (ev.detail === 3) {
self.editTiddler.call(self, event);
}
});
};
ClickListener.prototype.editTiddler = function(event) {
this.dispatchEvent({type: "tm-edit-tiddler", param: this.getVariable("currentTiddler")});
};
/*
Compute the internal state of the widget
*/
ClickListener.prototype.execute = function() {
};
/*
Selectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering
*/
ClickListener.prototype.refresh = function(changedTiddlers) {
return false;
};
exports.tripleclickedit = ClickListener;
})();

View File

@ -0,0 +1,7 @@
created: 20231103222110593
creator: Octt
modified: 20231103222326612
modifier: Octt
module-type: widget
title: $:/plugins/danielo515/2click2edit/ClickListener.js
type: application/javascript

View File

@ -0,0 +1,15 @@
created: 20231103222340488
creator: Octt
modified: 20231103222502294
modifier: Octt
title: $:/plugins/danielo515/2click2edit/readme
Edited for the [[OcttKB]], to work with 3 clicks instead of 2.
Original readme below:
This plugin adds the ability to edit tiddlers by double clicking on its body.
Just try to edit any tiddler shown here by double clicking on it.
This can be considered a fast solution. It is only to fill the gap until TiddlyWiki adds support
for it officially.

View File

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

View File

@ -1,7 +1,7 @@
created: 20231103214306224
creator: Octt
modified: 20231103214306224
modified: 20231103221319201
modifier: Octt
title: $:/state/plugin-info--565893350-$:/plugins/danielo515/2click2edit
no
yes

View File

@ -1,6 +1,6 @@
created: 20230501095944427
creator: Octt
modified: 20231102102537089
modified: 20231103223316838
modifier: Octt
title: $:/state/search/currentTab

View File

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

View File

@ -1,6 +1,6 @@
created: 20230501095944427
creator: Octt
modified: 20231102102537090
modified: 20231103223316838
modifier: Octt
title: $:/state/tab/search-results/sidebar

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,7 @@
created: 20231103222045256
creator: Octt
modified: 20231103222045256
modifier: Octt
title: $:/state/tree/$:/plugins/danielo515/2click2edit/
show

View File

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

View File

@ -1,6 +1,6 @@
created: 20230127160143605
creator: Octt
modified: 20231103214243200
modified: 20231103222040160
modifier: Octt
title: $:/state/tree/$:/plugins/felixhayashi/