OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
2023-11-05 23:29:21 +00:00
parent 3d736a0e51
commit dfc37bcd14
24 changed files with 133 additions and 39 deletions

View File

@@ -1,13 +1,13 @@
created: 20230126105640952
creator: Octt
modified: 20231105154317265
modified: 20231105214741288
modifier: Octt
tags: OcttKB WIP
title: OcttKB/WIP
!!! ''WIP/TODO''
//Note: this section is by itself in an heavy WIP state... I will never escape from this 😱️//
//Note: this section is by itself in an heavy WIP state..., and currently it's really outdated... I will never escape from this 😱️//
* Better footnotes (should be clickable)
* Fix StaticRiver template, broken after introducing breadcrumbs ~~(showing duplicate title, and also broken elements)~~

View File

@@ -1,6 +1,6 @@
created: 20231029134919585
creator: Octt
modified: 20231105110313014
modified: 20231105222349930
modifier: Octt
tags:
title: C Language
@@ -14,5 +14,7 @@ title: C Language
* [[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
* [[Creating empty function macros|https://stackoverflow.com/questions/9187628/empty-function-macros]] --- only safe way is `#define SomeFunction(arg) ((void)0)`
** [[C macros, what's the meaning of ((void)0)?|https://stackoverflow.com/questions/61157541/c-macros-whats-the-meaning-of-void0]]
* [[How to use "else if" with the preprocessor #ifdef?|https://stackoverflow.com/questions/68696585/how-to-use-else-if-with-the-preprocessor-ifdef]] --- the only widely-supported way is: `#if defined(X)`...`#elif defined(Y)`...`#else`...`#endif`

View File

@@ -1,6 +1,6 @@
created: 20221110145611678
creator: Octt
modified: 20231103214720248
modified: 20231105221457293
modifier: Octt
tags: Development $:/i18n:en Web
title: JavaScript
@@ -22,6 +22,9 @@ title: JavaScript
* [[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]]
* [[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

@@ -1,7 +1,9 @@
created: 20230725112836922
creator: Octt
modified: 20231105114026409
icon: ⌨️
modified: 20231105214847933
modifier: Octt
page-cover: https://source.unsplash.com/random?keyboard
tags:
title: Keyboard

View File

@@ -1,6 +1,6 @@
created: 20230216193546517
creator: Octt
modified: 20230217094958892
modified: 20231105202624812
modifier: Octt
tags:
title: Language
@@ -20,4 +20,5 @@ title: Language
* [[Il gender e la traduzione di videogiochi — Outcast|https://www.outcast.it/home/il-gender-e-la-traduzione-di-videogiochi]] - <<mywarc 423>>
; Tools
: Machine translation: [ext[//DeepL.com]] | [ext[//Translate.Google.com]]
: Machine translation: <<httpsL DeepL.com>> | <<httpsL Translate.Google.com>>
:* <<linkdescgit "Lingva Translate" "https://lingva.ml" "Self-hostable alternative front-end and API for Google Translate" "https://github.com/TheDavidDelta/lingva-translate">> <<[# "Scraper Git" "https://github.com/thedaviddelta/lingva-scraper">>

View File

@@ -2,28 +2,28 @@ caption: Me
created: 20230206204149478
creator: Octt
icon: 😼
modified: 20230223220703013
modified: 20231105222046315
modifier: Octt
tags: $:/ToC
title: Octt
''Octt'', aka ''OctoSpacc'', or ''Andrea'', is me, the living entity who primarily maintains the [[OcttKB]]. I am powered by a natural neural network, in case that wasn't obvious.
''Octt'', aka ''OctoSpacc'', or ''Andrea'', is me, the living entity who primarily maintains the [[OcttKB]]. I am powered by a natural neural network running on a meat machine, in case that wasn't obvious, but I plan of making a copy (or multiple?) of myself that will live in silicon machines.
Some info about me should go here, I suppose, so here are some points:
* I can program enough things in [[vanilla JavaScript|JavaScript]], [[Python]], sh, some C and Java, and [[TiddlyWiki]] (wow). I will also say HTML and CSS just to make you cry with "they're not programming languages!!1!".
* I can program enough things in [[vanilla JavaScript|JavaScript]], [[Python]], `sh`, [[C|C Language]] and some [[Java]], and [[TiddlyWiki]] (wow). I will also say: I can program with HTML and CSS, just to make you cry with "they're not programming languages!!1!".
** I've had to use C++, well I hate it. Never had to use Rust, and I'm happy because that syntax //scares me//.
* I can solve some puzzle games (very little in the grand scheme of all puzzles of this world).
* My [[#ShowYourStripes|https://showyourstripes.info/l/europe/italy/all/]] --- aka the climate change situation also where I live.
* I can solve some puzzle games (very little in the grand scheme of all puzzles of this world, but still fun) and play some card games, they fun sometimes.
* Here is my [[#ShowYourStripes|https://showyourstripes.info/l/europe/italy/all/]] if you're curious --- aka the climate change situation also where I live.
After this, there's not a lot more info about me here for now. Tough luck. Maybe go read the about page on my [[sitoctt]] in the meantime: [[https://sitoctt.octt.eu.org/Chi-Sono.html]].
After this, there's not a lot more info about me here for now. Tough luck. Maybe go read the about page on my [[sitoctt]] in the meantime, there's something more in there: [[https://sitoctt.octt.eu.org/Chi-Sono.html]].
Here are some things I like or do or whatever, that I'm putting here honestly just to get some tiddlers connected together, because I like graphs like the ''Focus'' one on the sidebar.
* Graphs.. I just said I like them. Some others are at [[OcttKB/Data]].
* [[Gaming]], but I have special tastes probably.
** This not only includes videogames, but also puzzle games.
** [I should write my best picks here].
** [I should write my best picks here...]
* [[Writing]], like on my [[sitoctt]] or here.
* Software [[Development]], mostly frontend ([[CSS]] is crappy but epic).
** My [[Web]] places wouldn't be as unique if this wasn't the case and I were to only write content.