diff --git a/Wiki-OcttKB/tiddlers/Normal/Saved/Sites/_Development.tid b/Wiki-OcttKB/tiddlers/Normal/Saved/Sites/_Development.tid index 3a7b198..b2ec626 100644 --- a/Wiki-OcttKB/tiddlers/Normal/Saved/Sites/_Development.tid +++ b/Wiki-OcttKB/tiddlers/Normal/Saved/Sites/_Development.tid @@ -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/]] * <> * [[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]] * <> * [[ZetCode|https://zetcode.com/]] - //accessible tutorials for various languages// diff --git a/Wiki-OcttKB/tiddlers/Normal/_6502.tid b/Wiki-OcttKB/tiddlers/Normal/_6502.tid index 6790011..262c349 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_6502.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_6502.tid @@ -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">> * <> -** [[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// diff --git a/Wiki-OcttKB/tiddlers/Normal/_Android.tid b/Wiki-OcttKB/tiddlers/Normal/_Android.tid index 0395f92..2853fa2 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Android.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Android.tid @@ -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 diff --git a/Wiki-OcttKB/tiddlers/Normal/_C Language.tid b/Wiki-OcttKB/tiddlers/Normal/_C Language.tid index 6bea147..ee4c3e3 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_C Language.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_C Language.tid @@ -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 diff --git a/Wiki-OcttKB/tiddlers/Normal/_CSS.tid b/Wiki-OcttKB/tiddlers/Normal/_CSS.tid index 6b7cdee..ca68d9a 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_CSS.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_CSS.tid @@ -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]] diff --git a/Wiki-OcttKB/tiddlers/Normal/_Demoscene.tid b/Wiki-OcttKB/tiddlers/Normal/_Demoscene.tid index b076ee0..1f25559 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Demoscene.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Demoscene.tid @@ -1,9 +1,11 @@ created: 20230425095136540 creator: Octt -modified: 20230504100444869 +modified: 20231107212630799 modifier: Octt title: Demoscene <<^wikipediaframe Demoscene>> +* <> --- //free hosting service for demoscene related projects// + <<{ "Tech Art">> diff --git a/Wiki-OcttKB/tiddlers/Normal/_Gaming.tid b/Wiki-OcttKB/tiddlers/Normal/_Gaming.tid index f633452..46be671 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Gaming.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Gaming.tid @@ -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.// + +* <> --- a nice crazy idea for gaming everywhere in the most pick-up-and-play fashion diff --git a/Wiki-OcttKB/tiddlers/Normal/_GitHub.tid b/Wiki-OcttKB/tiddlers/Normal/_GitHub.tid index 0521dea..5c33c8f 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_GitHub.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_GitHub.tid @@ -1,16 +1,18 @@ created: 20230206190107127 creator: Octt -modified: 20230221223445734 +modified: 20231107231057889 modifier: Octt tags: Git Proprietary title: GitHub -* https://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">> +* <> + * [[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]]">> diff --git a/Wiki-OcttKB/tiddlers/Normal/_Issues of the Modern Web.tid b/Wiki-OcttKB/tiddlers/Normal/_Issues of the Modern Web.tid index c7a62c6..42640bd 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Issues of the Modern Web.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Issues of the Modern Web.tid @@ -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: diff --git a/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid b/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid index 1492e05..1d7eeaf 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid @@ -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// +* <> --- //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]] ** <> -* [[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'' diff --git a/Wiki-OcttKB/tiddlers/Normal/_NES Homebrew Games.tid b/Wiki-OcttKB/tiddlers/Normal/_NES Homebrew Games.tid new file mode 100644 index 0000000..6b9c4ae --- /dev/null +++ b/Wiki-OcttKB/tiddlers/Normal/_NES Homebrew Games.tid @@ -0,0 +1,8 @@ +created: 20231107222148927 +creator: Octt +modified: 20231107222503536 +modifier: Octt +tags: [[Nintendo Entertainment System]] Homebrew +title: NES Homebrew Games + +* <> diff --git a/Wiki-OcttKB/tiddlers/Normal/_Nintendo Entertainment System.tid b/Wiki-OcttKB/tiddlers/Normal/_Nintendo Entertainment System.tid index b7c0bb5..c1c4364 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Nintendo Entertainment System.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Nintendo Entertainment System.tid @@ -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 * <> --- 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 diff --git a/Wiki-OcttKB/tiddlers/Normal/_Pokemon.tid b/Wiki-OcttKB/tiddlers/Normal/_Pokemon.tid index 4e03862..26fef1e 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Pokemon.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Pokemon.tid @@ -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// ** <> + +* <> +* [[pret's Pokémon decompilation projects|https://github.com/pret]] diff --git a/Wiki-OcttKB/tiddlers/Normal/_Programming.tid b/Wiki-OcttKB/tiddlers/Normal/_Programming.tid index 8e2c91a..30c9b6b 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Programming.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Programming.tid @@ -1,6 +1,6 @@ created: 20230816230758244 creator: Octt -modified: 20231104233835656 +modified: 20231107223445327 modifier: Octt title: Programming @@ -11,4 +11,6 @@ title: Programming * <> +* <> + * [[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]] diff --git a/Wiki-OcttKB/tiddlers/Normal/_Retrogaming.tid b/Wiki-OcttKB/tiddlers/Normal/_Retrogaming.tid index 34391fd..b219ae5 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Retrogaming.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Retrogaming.tid @@ -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>> diff --git a/Wiki-OcttKB/tiddlers/Normal/_Simple DirectMedia Layer.tid b/Wiki-OcttKB/tiddlers/Normal/_Simple DirectMedia Layer.tid index d340a0c..fc0363b 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Simple DirectMedia Layer.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Simple DirectMedia Layer.tid @@ -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]] diff --git a/Wiki-OcttKB/tiddlers/System/Macros/_ExtLinks.tid b/Wiki-OcttKB/tiddlers/System/Macros/_ExtLinks.tid index 2e6da86..263c24c 100644 --- a/Wiki-OcttKB/tiddlers/System/Macros/_ExtLinks.tid +++ b/Wiki-OcttKB/tiddlers/System/Macros/_ExtLinks.tid @@ -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$]] diff --git a/Wiki-OcttKB/tiddlers/System/OcttKB/Config/_LargeSidebar.ui.tid b/Wiki-OcttKB/tiddlers/System/OcttKB/Config/_LargeSidebar.ui.tid index 2bd352a..366c76b 100644 --- a/Wiki-OcttKB/tiddlers/System/OcttKB/Config/_LargeSidebar.ui.tid +++ b/Wiki-OcttKB/tiddlers/System/OcttKB/Config/_LargeSidebar.ui.tid @@ -1,7 +1,7 @@ Enabled: 0 created: 20230208220901786 creator: Octt -modified: 20231103214558443 +modified: 20231107222602111 modifier: Octt tags: $:/GlobalOption title: $:/OcttKB/Config/LargeSidebar.ui diff --git a/Wiki-OcttKB/tiddlers/System/OcttKB/TheBrain/_Levels.cfg.tid b/Wiki-OcttKB/tiddlers/System/OcttKB/TheBrain/_Levels.cfg.tid index f1f393b..7049751 100644 --- a/Wiki-OcttKB/tiddlers/System/OcttKB/TheBrain/_Levels.cfg.tid +++ b/Wiki-OcttKB/tiddlers/System/OcttKB/TheBrain/_Levels.cfg.tid @@ -3,7 +3,7 @@ .Levels-Min: 1 created: 20230208170228555 creator: Octt -modified: 20230221210807319 +modified: 20231107222557280 modifier: Octt tags: title: $:/OcttKB/TheBrain/Levels.cfg diff --git a/Wiki-OcttKB/tiddlers/System/Styles/View/_i18n.tid b/Wiki-OcttKB/tiddlers/System/Styles/View/_i18n.tid index 08be395..1f97451 100644 --- a/Wiki-OcttKB/tiddlers/System/Styles/View/_i18n.tid +++ b/Wiki-OcttKB/tiddlers/System/Styles/View/_i18n.tid @@ -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 ">><