OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
octospacc 2023-11-07 23:59:37 +00:00
parent 6f668449b6
commit 861a2468b0
37 changed files with 106 additions and 52 deletions

View File

@ -1,6 +1,6 @@
created: 20230429190335486
creator: Octt
modified: 20231105002914574
modified: 20231107235701129
modifier: Octt
tags:
title: Saved/Sites/Development
@ -15,5 +15,9 @@ Note: the most technically useful ones might be listed under [[Development/Resou
* [[Dustin John Pfister|https://dustinpfister.github.io/]]
* <<linkdescgit "Hydra's Lair" "https://hydr8gon.github.io" "Emulators and Stuff" "https://github.com/Hydr8gon/hydr8gon.github.io">>
* [[Jack's AutoHotkey Blog|https://jacks-autohotkey-blog.com/]] --- //Feed Your Brain While Adding Power to Your Windows Computers//
* [[Hey onetwo!|https://onetwo.ren/]] --- //林一二的开放记忆 | 关于前端_模因学_语义网_游戏开发_的博客 (Lin Yier's Open Memory | Blog about front-end, memetics, semantic web, game development)//
** TiddlyWiki: [[Standard|https://onetwo.ren/wiki/]], [[Prerelease|https://wiki.onetwo.ren/]] --- //knowledge base mainly used to store text memes that Lin Yier encounters by chance, as well as to replace his various thoughts posted in Weibo Moments, and as a directory to pile up online content to be sorted out during the exploration process//
* [[null program (Chris Wellons)|https://nullprogram.com/]]
* [[Shiru's Stuff|https://shiru.untergrund.net/index.shtml]]
* <<linkdescgit SkyLyrac"https://www.skylyrac.net" "Hacking, software projects and my thoughts" "https://github.com/AntonioND/antoniond.github.io">>
* [[ZetCode|https://zetcode.com/]] - //accessible tutorials for various languages//

View File

@ -1,8 +1,8 @@
created: 20231029001701704
creator: Octt
modified: 20231102095720706
modified: 20231107225433388
modifier: Octt
tags:
tags: CPU Microprocessor Retro
title: 6502
<<^wikipediaframe 6502>>
@ -14,5 +14,6 @@ title: 6502
* [[https://100r.co/site/6502_assembly.html]] --- Extremely reduced introduction to 6502 assembly basic concepts
* [[Programming the NES: The 6502 in detail|https://www.middle-engine.com/blog/posts/2020/06/23/programming-the-nes-the-6502-in-detail]]
* [[Benchmark: C compilers for the 6502 CPU|https://sgadrat.itch.io/super-tilt-bro/devlog/219534/benchmark-c-compilers-for-the-6502-cpu]] --- <<[# "Code on Git" "https://github.com/sgadrat/6502-compilers-bench">>
* <<linkdescgit cc65"https://cc65.github.io" "complete cross development package for 65(C)02 systems" "https://github.com/cc65">>
** [[cc65 coding hints|https://cc65.github.io/doc/coding.html]] --- //How to generate the most efficient code with cc65//
** [[cc65 coding hints|https://cc65.github.io/doc/coding.html]] ; [[Advanced optimizations in CC65|https://github.com/ilmenit/CC65-Advanced-Optimizations]] --- //How to generate the most efficient code with cc65//

View File

@ -1,7 +1,9 @@
created: 20230202230035698
creator: Octt
modified: 20230916145910807
icon: 🤖
modified: 20231107221321664
modifier: Octt
page-cover: https://source.unsplash.com/random?android
tags: OS Google Linux
title: Android

View File

@ -1,6 +1,6 @@
created: 20231029134919585
creator: Octt
modified: 20231106232930161
modified: 20231107231816657
modifier: Octt
tags:
title: C Language
@ -13,6 +13,10 @@ title: C Language
* [[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.
* [[What is a "callback" in C and how are they implemented?|https://stackoverflow.com/questions/142789/what-is-a-callback-in-c-and-how-are-they-implemented/142809#142809]] (function pointers)
* [[Where should I prefer pass-by-reference or pass-by-value?|https://stackoverflow.com/questions/4986341/where-should-i-prefer-pass-by-reference-or-pass-by-value]] --- (performance-wise) //"here's the simple rule: pass by reference when the value is large."//
** [[When should I pass or return a struct by value?|https://stackoverflow.com/questions/30980759/when-should-i-pass-or-return-a-struct-by-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

View File

@ -1,7 +1,7 @@
created: 20230209150101862
creator: Octt
icon: 💅
modified: 20231105152338633
modified: 20231107215025095
modifier: Octt
page-cover: https://images.unsplash.com/photo-1523437113738-bbd3cc89fb19
tags: Web
@ -18,3 +18,4 @@ title: CSS
* [[Pure CSS Minesweeper|https://codepen.io/bali_balo/pen/BLJONZ?editors=1100]]
* [[Spinning Diagrams with CSS|https://x.st/spinning-diagrams-with-css]]
* [[Bubble Sort...in PURE CSS? [No JS] 😱|https://dev.to/grahamthedev/bubble-sortin-pure-css-no-js-3bb1]]

View File

@ -1,9 +1,11 @@
created: 20230425095136540
creator: Octt
modified: 20230504100444869
modified: 20231107212630799
modifier: Octt
title: Demoscene
<<^wikipediaframe Demoscene>>
* <<httpsL www.untergrund.net>> --- //free hosting service for demoscene related projects//
<<{ "Tech Art">>

View File

@ -1,6 +1,6 @@
created: 20230116202756249
creator: Octt
modified: 20231106225613090
modified: 20231107214616923
modifier: Octt
tags: $:/i18n:en
title: Gaming
@ -16,3 +16,5 @@ title: Gaming
** [[Alpha Beta Gamer|https://www.alphabetagamer.com/]] --- //Free Video Game Alpha & Beta Tests. The Worlds Biggest Beta Testing Site//
* [[Attract Mode (Concept)|https://www.giantbomb.com/attract-mode/3015-1641/]] --- //A mode in which a game will play a gameplay demonstration video as a means to entice players into playing the game.//
* <<YoutubeL ha_7cZxqhhE "Nobody Knows I'm Gaming Right Now... Secretly Gaming in Public with [...] AR Glasses">> --- a nice crazy idea for gaming everywhere in the most pick-up-and-play fashion

View File

@ -1,16 +1,18 @@
created: 20230206190107127
creator: Octt
modified: 20230221223445734
modified: 20231107231057889
modifier: Octt
tags: Git Proprietary
title: GitHub
* https://GitHub.com
* <<httpsL GitHub.com>>
<<^wikipediaframe GitHub en>>
!!! ''Tools''
* [[nightly.link|https://nightly.link]] - //Downloads the latest "nightly" build/artifact from a continuous testing workflow without logging in// - [[[Git|https://github.com/oprypin/nightly.link]]]
* [[nightly.link|https://nightly.link]] - //Downloads the latest "nightly" build/artifact from a continuous testing workflow without logging in// - <<#[ Git "https://github.com/oprypin/nightly.link">>
* <<linkdescgit "GitHub Wiki SEE" "https://github-wiki-see.page/" "🔎 400,000+ GitHub Wikis, now indexable by your favorite search engine." "https://github.com/nelsonjchen/github-wiki-see-rs">>
* [[utterances 🔮|https://utteranc.es/]] - //lightweight comments widget built on GitHub ''Issues''// - <<[ "[[Git|https://github.com/utterance]]">>
* [[giscus 💎|https://giscus.app/]] - //lightweight comments widget built on GitHub ''Discussions''// - <<[ "[[Git|https://github.com/giscus]]">>

View File

@ -1,12 +1,12 @@
created: 20230301080208442
creator: Octt
modified: 20230724222447005
modified: 20231107220850311
modifier: Octt
tags: Web Modern
title: Issues of the Modern Web
* Just in, 2023/July: [[Web Environment Integrity API Proposal|https://github.com/RupertBenWiser/Web-Environment-Integrity]]
** [[This is scary. It's (strong) SafetyNet for websites [...]|https://mastodon.uno/@lina@vt.social/110755246339815796]]
* ~~Just in, 2023/July:~~ [[Web Environment Integrity API Proposal|https://github.com/RupertBenWiser/Web-Environment-Integrity]] --- //[[This is scary. It's (strong) SafetyNet for websites [...]|https://mastodon.uno/@lina@vt.social/110755246339815796]]//
** 2023/November update: [[Google bins integrity API that looked more than a bit like horrible DRM for websites|https://www.theregister.com/2023/11/02/google_abandons_web_environment_integrity/]]... but not completely: it will still be integrated into [[Android]] System Webview, for some reason
* Reign of [[Surveillance Capitalism]].
** Full of advertisements, and trackers.
* Technically problematic:

View File

@ -1,6 +1,6 @@
created: 20221110145611678
creator: Octt
modified: 20231105221457293
modified: 20231107213800379
modifier: Octt
tags: Development $:/i18n:en Web
title: JavaScript
@ -20,11 +20,15 @@ title: JavaScript
* [[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)//
* [[Does JavaScript have a method like "range()" to generate a range within the supplied bounds?|https://stackoverflow.com/questions/3895478/does-javascript-have-a-method-like-range-to-generate-a-range-within-the-supp]] --- `[...Array(5).keys()]`
* [[Array.prototype.splice()|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice]] --- //changes the contents of an array by removing or replacing existing elements and/or adding new elements in place//
* [[Listen for triple clicks in JavaScript|https://stackoverflow.com/questions/6480060/how-do-i-listen-for-triple-clicks-in-javascript#6480113]]
* [[Fastest method to escape HTML tags as HTML entities?|https://stackoverflow.com/questions/5499078/fastest-method-to-escape-html-tags-as-html-entities]] --- in the browser, `(html) => { var escape = document.createElement('textarea'); escape.textContent = html; return escape.innerHTML; }`
* [[Get a random item from a JavaScript array|https://stackoverflow.com/questions/5915096/get-a-random-item-from-a-javascript-array#5915122]] --- `item = items[Math.floor(Math.random() * items.length)];`
* [[How to get text from all descendents of an element (disregarding scripts)?|https://stackoverflow.com/questions/2532043/how-to-get-text-from-all-descendents-of-an-element-disregarding-scripts]]
* [[Array.prototype.splice()|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice]], [[JavaScript Array splice() (W3S)|https://www.w3schools.com/jsref/jsref_splice.asp]] --- //changes the contents of an array by removing or replacing existing elements and/or adding new elements in place//
* <<MDNLink Web/JavaScript/Reference/Global_Objects/Array/concat "Array.prototype.concat()">> --- //used to merge two or more arrays, does not change the existing arrays but instead returns a new one//
* [[XMLHttpRequest|https://www.w3schools.com/xml/xml_http.asp]]
** <<MDNLink Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests "Synchronous and asynchronous requests">>
* [[Fastest method to escape HTML tags as HTML entities?|https://stackoverflow.com/questions/5499078/fastest-method-to-escape-html-tags-as-html-entities]] --- in the browser, `(html) => { var escape = document.createElement('textarea'); escape.textContent = html; return escape.innerHTML; }`
!!! ''Tools''

View File

@ -0,0 +1,8 @@
created: 20231107222148927
creator: Octt
modified: 20231107222503536
modifier: Octt
tags: [[Nintendo Entertainment System]] Homebrew
title: NES Homebrew Games
* <<linkdescgit "Super Tilt Bro" "https://sgadrat.itch.io/super-tilt-bro" "Super Tilt Bro is a demake of the Super Smash Bros. series compatible with the good old Nintendo Entertainment System from the 1980s. Featuring online play, thanks to a Wi-Fi chip in the cartridge!" "https://github.com/sgadrat/super-tilt-bro">>

View File

@ -1,6 +1,6 @@
created: 20230202104823127
creator: Octt
modified: 20231103224247904
modified: 20231107222903801
modifier: Octt
tags: Nintendo Gaming $:/i18n:en Console
title: Nintendo Entertainment System
@ -19,6 +19,7 @@ title: Nintendo Entertainment System
* <<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">>
* [[everynes/no$nes technical documentation|https://problemkaputt.de/everynes.htm]]
* [[NES Programming [Wikibooks]|https://en.wikibooks.org/wiki/NES_Programming]] --- an extremely WIP resource on the matter as of 2023/11, but it's worth for it being just a concise list of specs and memory layout
* General [[Useful tools for NES development|https://www.nesdev.org/wiki/Tools]]
** [[nixel|https://alexpate.net/nixel/]] --- web editor for CHRs inside NES ROMs with a good UX

View File

@ -1,8 +1,8 @@
created: 20230130082217716
creator: Octt
modified: 20231105154017773
modified: 20231107235312300
modifier: Octt
tags:
tags: Nintendo
title: Pokémon
<<^wikipediaframe Pokémon en>>
@ -13,3 +13,6 @@ title: Pokémon
* [[Smogon University|https://www.smogon.com/]] --- //Pokémon website and community specializing in the art of competitive battling//
** <<linkdescgit "Pokémon Showdown" "https://pokemonshowdown.com/" "online Pokémon battle simulator
" "https://github.com/smogon/pokemon-showdown">>
* <<linkdescgit "Complete FireRed Upgrade" "https://www.pokecommunity.com/showthread.php?t=425447" "complete upgrade for FireRed, including an upgraded Battle Engine" "https://github.com/Skeli789/Complete-Fire-Red-Upgrade">>
* [[pret's Pokémon decompilation projects|https://github.com/pret]]

View File

@ -1,6 +1,6 @@
created: 20230816230758244
creator: Octt
modified: 20231104233835656
modified: 20231107223445327
modifier: Octt
title: Programming
@ -11,4 +11,6 @@ title: Programming
* <<WikipediaL Header-only>>
* <<WikipediaL "Program optimization">>
* [[How much abstraction is too much?|https://stackoverflow.com/questions/2668355/how-much-abstraction-is-too-much]] ; [[Can too much abstraction be bad?|https://softwareengineering.stackexchange.com/questions/202477/can-too-much-abstraction-be-bad]]

View File

@ -1,8 +1,8 @@
created: 20221102121324531
creator: Octt
modified: 20231102233149154
modified: 20231107225357280
modifier: Octt
tags: Emulation Retro $:/i18n:en
tags: Emulation Retro $:/i18n:en Gaming
title: Retrogaming
<<^wikipediaframe Retrogaming en>>

View File

@ -1,6 +1,6 @@
created: 20231103223458206
creator: Octt
modified: 20231104235913660
modified: 20231107203537038
modifier: Octt
title: Simple DirectMedia Layer
@ -8,7 +8,10 @@ title: Simple DirectMedia Layer
* [[Lazy Foo' Productions - SDL 1.2 tutorial |https://lazyfoo.net/SDL_tutorials/]] --- Beginning Game Programming in C++
* [[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/]]
* [[Exploring SDL (Wikibooks)|https://en.wikibooks.org/wiki/SDL_(Simple_DirectMedia_Layer)]] --- introduction to SDL with the most important basic information, + some WIP examples
* 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]]
* [[LuaSDL 1.2|https://github.com/soulik/LuaSDL]] --- //Lua binding to libSDL 1.2// --- should find the time to try this properly and if it actually works on embedded Linux consoles etc.
* [[Why SDL doesn't allow `int main(void)`|https://copyrat90.github.io/2021/08/08/why-sdl-does-not-allow-int-main-void.html]]

View File

@ -1,6 +1,6 @@
created: 20230215192523775
creator: Octt
modified: 20231105152256618
modified: 20231107213433687
modifier: Octt
tags: $:/tags/Macro
title: $:/Macros/ExtLinks
@ -24,7 +24,7 @@ title: $:/Macros/ExtLinks
\define MatrixLink(ID, Title:"Matrix") [[$Title$|https://matrix.to/#/$ID$]]
\define MDNLink(loc, title) [[$title$ [MDN Web Docs]|https://developer.mozilla.org/en-US/docs/$loc$]]
\define MDNLink(loc, title) [[$title$ [MDN Docs]|https://developer.mozilla.org/en-US/docs/$loc$]]
\define FDroidLink(Package, Title:"F-Droid") [[$Title$|https://f-droid.org/en/packages/$Package$]]

View File

@ -1,7 +1,7 @@
Enabled: 0
created: 20230208220901786
creator: Octt
modified: 20231103214558443
modified: 20231107222602111
modifier: Octt
tags: $:/GlobalOption
title: $:/OcttKB/Config/LargeSidebar.ui

View File

@ -3,7 +3,7 @@
.Levels-Min: 1
created: 20230208170228555
creator: Octt
modified: 20230221210807319
modified: 20231107222557280
modifier: Octt
tags:
title: $:/OcttKB/TheBrain/Levels.cfg

View File

@ -1,7 +1,7 @@
created: 20231105210128175
creator: Octt
list-after: $:/core/ui/ViewTemplate/tags
modified: 20231105234639368
modified: 20231107223701057
modifier: Octt
tags: $:/tags/ViewTemplate
title: $:/Styles/View/i18n
@ -16,6 +16,7 @@ title: $:/Styles/View/i18n
this.parentDomNode.innerHTML += '[' + (TidLangKnown ? TidLangKnown : '?') + '] ';
var input = document.createElement('input');
input.type = 'text';
input.style['max-width'] = '4em';
input.value = (window['OcttKB-i18n-current'] ? window['OcttKB-i18n-current'] : 'it');
input.onchange = function(){ window['OcttKB-i18n-current'] = input.value };
this.parentDomNode.appendChild(input);
@ -60,6 +61,6 @@ title: $:/Styles/View/i18n
">><<script off>>
\end
<div class="OcttKB-i18n">
<div class="OcttKB-i18n" style="font-size: initial;">
<<OcttKB-i18n>>
</div>

View File

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

View File

@ -1,6 +1,6 @@
created: 20231106225148095
created: 20231107154729277
creator: Octt
list:
modified: 20231106235634271
modified: 20231107235831913
modifier: Octt
title: $:/StoryList

View File

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

View File

@ -0,0 +1,7 @@
created: 20231107221030108
creator: Octt
modified: 20231107221038052
modifier: Octt
title: $:/state/tab--23637530
$:/plugins/kookma/commander/tiddler/ui

View File

@ -1,7 +1,7 @@
created: 20220920090405977
creator: Octt
modified: 20231103232346162
modified: 20231107201304760
modifier: Octt
title: $:/state/tab-1749438307
$:/core/ui/ControlPanel/Plugins
$:/core/ui/ControlPanel/Appearance

View File

@ -0,0 +1,7 @@
created: 20231107221031452
creator: Octt
modified: 20231107221034852
modifier: Octt
title: $:/state/tab-1912911341
$:/plugins/kookma/commander/tag/uicomp/add-remove-tags

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
created: 20231105150139974
creator: Octt
modified: 20231105150141917
modified: 20231107221141188
modifier: Octt
title: $:/state/toc/$:/ToC-$:/Games--1697730578

View File

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

View File

@ -1,7 +1,7 @@
created: 20231105154133540
creator: Octt
modified: 20231105154139285
modified: 20231107235830521
modifier: Octt
title: $:/state/toc/$:/ToC-OcttKB--1446284390
close
open

View File

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

View File

@ -1,6 +1,6 @@
created: 20230225173056823
creator: Octt
modified: 20231103212518013
modified: 20231107223047265
modifier: Octt
title: $:/state/tree/$:/Styles/Static/

View File

@ -1,6 +1,6 @@
created: 20230111091048227
creator: Octt
modified: 20231103212513101
modified: 20231107223047754
modifier: Octt
title: $:/state/tree/$:/Styles/View/

View File

@ -1,6 +1,6 @@
created: 20230108193801573
creator: Octt
modified: 20231105234602375
modified: 20231107223043873
modifier: Octt
title: $:/state/tree/$:/Styles/