OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
octospacc 2023-12-23 16:36:54 +00:00
parent 1eca4ca860
commit afab887b00
31 changed files with 158 additions and 43 deletions

View File

@ -1,6 +1,6 @@
created: 20230217221957113
creator: Octt
modified: 20231219001513536
modified: 20231223141324212
modifier: Octt
tags:
title: Android/Development
@ -57,6 +57,7 @@ title: Android/Development
* [[Best way to secure Android app sensitive Data?|https://stackoverflow.com/questions/8184492/best-way-to-secure-android-app-sensitive-data/8184699#8184699]]
* [[New Android Project named after Main Activity instead of app name|https://stackoverflow.com/questions/12084299/new-android-project-named-after-main-activity-instead-of-app-name]] --- //In the manifest file, you are able to set one label for the launcher icon, and another for the activity. The app name is set in the intent filter, like this: `<activity ... > <intent-filter android:label="@string/app_name"> ...`//
* [[Proper way to create and access BroadcastReceiver inside MainActivity? (Kotlin)|https://stackoverflow.com/questions/69565210/proper-way-to-create-and-access-broadcastreceiver-inside-mainactivity-kotlin/69600790#69600790]]
* [[Android check SharedPreferences for value type|https://stackoverflow.com/questions/29615920/android-check-sharedpreferences-for-value-type]] --- contains a solution for directly getting any item regardless of type, via `sharedPrefs?.all`
</div>
!!!! ''Hacking / Modding''

View File

@ -1,6 +1,6 @@
created: 20230216221308797
creator: Octt
modified: 20230927232217489
modified: 20231223162822644
modifier: Octt
tags:
title: Linux/Snippets
@ -8,4 +8,11 @@ title: Linux/Snippets
; [[How to mount a local directory without root|https://unix.stackexchange.com/a/602503]]
: `bindfs --no-allow-other /source/directory /mount/point`
* [[xdotool list of key codes|https://gitlab.com/cunidev/gestures/-/wikis/xdotool-list-of-key-codes]]
; [[Create a File of a Certain Size in Linux|https://www.baeldung.com/linux/create-file-of-given-size]]
: `fallocate -l 100M ${File}`
; [[How to cut a file to a given size under Linux?|https://superuser.com/questions/629521/how-to-cut-a-file-to-a-given-size-under-linux]]
: `truncate --size=1G ${File}`
; Misc
: [[xdotool list of key codes|https://gitlab.com/cunidev/gestures/-/wikis/xdotool-list-of-key-codes]]

View File

@ -1,6 +1,6 @@
created: 20231102223250475
creator: Octt
modified: 20231221195418497
modified: 20231223111404767
modifier: Octt
tags:
title: DOS
@ -9,4 +9,7 @@ title: DOS
* //''[[FreeDOS|https://freedos.org/]]'' --- is a free software operating system for IBM PC compatible computers.//
* [[js-dos v7|https://js-dos.com/]] --- //The simplest API to run DOS games in browser// --- <<[# Git"https://github.com/js-dos">>
** [[DOS Zone|https://dos.zone/]] --- //Ultimate collection of online dos games//
* [[DOS haven|http://www.doshaven.eu/]] --- //21st century DOS games//, and related resources like homebrews, tools, and codes

View File

@ -0,0 +1,25 @@
created: 20231223143928533
creator: Octt
modified: 20231223144025192
modifier: Octt
tags:
title: Data serialization
<<^WikipediaFrame "Data serialization">>
* [[JSON is valid YAML|https://til.codeinthehole.com/posts/json-is-valid-yaml/]]
!! YAML
<<^WikipediaFrame "YAML">>
* [[YAML Lint Online|https://www.yamllint.com/]]
* [[YAML to JSON Converter Online|https://yml2json.com/]]
!! INI
<<^WikipediaFrame "INI file">>
!!! TOML
<<^WikipediaFrame "TOML">>

View File

@ -1,9 +1,9 @@
created: 20230114124144464
creator: Octt
icon:
modified: 20231211003244753
modified: 20231223123321502
modifier: Octt
tags: TODO $:/i18n:en
tags: [[Social network]]
title: Fediverse
<!-- <<MediaWiki Fediverse en 1 Fediverse_logo_proposal.svg>> -->
@ -50,5 +50,9 @@ Tip: these sites list many public instances for many platforms.
!! ''Other''
* [[Soapbox|https://soapbox.pub/]] --- //A social media frontend with a focus on custom branding and ease of use.// (+ other things) --- <<[# Git"https://gitlab.com/soapbox-pub">>
* [[Mangan App|https://manganapp.vercel.app]] --- //Fork of Mangane, fork Soapbox, fork of Mastodon UI//, with support for login into any instance --- <<[# Git"https://github.com/sjbat/mangan">>
* [[Fediverse Enhancement Proposals|https://codeberg.org/fediverse/fep]]
* [[MaPlefeed|https://maplefeed.bihlink.com/]] --- //Mastodon & Pleroma Feed generator// --- <<[# Git"https://github.com/bihlink/maplefeed">>

View File

@ -1,6 +1,6 @@
created: 20230813102403596
creator: Octt
modified: 20231222001700310
modified: 20231223160419818
modifier: Octt
title: File system
@ -22,7 +22,9 @@ title: File system
Note (2023-08-04): I tried Btrfs more than a year ago on [[Linux Lite]] (with ZSTD compression iirc) but after filling up the entire partition leaving 0 bytes available, even after deleting files, the partition was like corrupted, couldn't write to it anymore.
* [[https://btrfs.readthedocs.io/en/latest/Compression.html]] --- ZSTD is the best-balanced compressor
* [[Compression (docs)|https://btrfs.readthedocs.io/en/latest/Compression.html]]
** ZSTD is the best-balanced compressor; level 15 is max compression, and still good performance
** Enable compression for newly-written files by mounting with `-o compress=${algo}:${level}`
!! ''ext#'' (Linux)

View File

@ -1,12 +1,13 @@
created: 20230116202756249
creator: Octt
modified: 20231222232651622
modified: 20231223100756494
modifier: Octt
tags: $:/i18n:en
title: Gaming
<<^wikipediaframe Video_game en>>
* [[Dwarf Fortress|https://bay12games.com/dwarves]] --- very old game that recently got modernized, I like the original ASCII-graphics-based version ("Classic") which is also gratis
* [[Rising Up|https://twitwi.itch.io/risingup]] --- //Climb the Corporate Ladder... with Your Fists!//
* All other games I mentioned on this KB: <<tag Game>>

View File

@ -1,7 +1,7 @@
created: 20230203214625941
creator: Octt
icon: 🌐
modified: 20231008211922449
modified: 20231223103134835
modifier: Octt
page-cover: https://source.unsplash.com/random?internet
tags: $:/i18n:en
@ -11,6 +11,8 @@ title: Internet
(Specific Web resources are under [[Web]].)
* [[Kiwix|https://kiwix.org]] --- //Internet Content Without Internet Access// --- <<[# Git"https://github.com/kiwix">>
* <<RedditL r/pihole/comments/dmyypc/what_is_this_ip6arpa_that_keeps_showing_up "What is this ip6.arpa that keeps showing up?">> (`0.0.0.0.[...].ip6.arpa`) --- //ip6.arpa is a special domain name used to achieve reverse delegation for IPv6 addresses.//
!!! ''Tools''

View File

@ -1,12 +1,13 @@
created: 20231217005152232
creator: Octt
modified: 20231217005816030
modified: 20231223160619490
modifier: Octt
tags:
title: Kotlin
<<^wikipediaframe Kotlin>>
* [[Get type of a variable in Kotlin|https://stackoverflow.com/questions/45165143/get-type-of-a-variable-in-kotlin]] --- `if (var is Class) ...`
* [[What's the difference between !! and ? in Kotlin?|https://stackoverflow.com/questions/44536114/whats-the-difference-between-and-in-kotlin]] --- when `obj` is null, `obj!!` throws `NullPointerException`, `obj?` returns `null`
* [[How to do url encoding for query parameters in Kotlin|https://stackoverflow.com/questions/56942341/how-to-do-url-encoding-for-query-parameters-in-kotlin#56942734]] --- `URLEncoder.encode(text, "utf-8")`

View File

@ -1,10 +0,0 @@
created: 20230608142311687
creator: Octt
modified: 20230608142550462
modifier: Octt
tags:
title: Markup language
<<^wikipediaframe "Markup language">>
* [[JSON is valid YAML|https://til.codeinthehole.com/posts/json-is-valid-yaml/]]

View File

@ -1,8 +1,8 @@
created: 20230110220005274
creator: Octt
modified: 20230813105343107
modified: 20231223123334155
modifier: Octt
tags: Fediverse TODO $:/i18n:en
tags: Fediverse
title: Mastodon
<<^wikipediaframe Mastodon_(social_network) en>>

View File

@ -1,10 +1,11 @@
created: 20231222234611171
creator: Octt
modified: 20231222235053320
modified: 20231223111131828
modifier: Octt
tags:
title: MicroBlogs
<<^wikipediaframe Microblog>>
* <<httpsL OctoSpacc.altervista.org/MicroBlog>>
* [[Numeric Citizen Blog|https://blog.numericcitizen.me/]] --- //I'm a compulsive creator (words, images, videos, podcasts). It's not always an easy journey, but it is a rewarding one.//

View File

@ -0,0 +1,10 @@
created: 20231223123123764
creator: Octt
modified: 20231223123258009
modifier: Octt
tags:
title: Social network
<<^WikipediaFrame "Social network">>
* [[Nostr|https://nostr.com]] --- //A decentralized social network with a chance of working// --- <<[# "Git (Protocol)" "https://github.com/nostr-protocol">>

View File

@ -1,7 +1,7 @@
created: 20220924193842295
creator: Octt
icon: 🐈
modified: 20231210223906968
modified: 20231223140546807
modifier: Octt
page-cover: https://source.unsplash.com/random/?computer-cat
tags: TiddlyWiki Wiki Zettelkasten Libre
@ -65,6 +65,7 @@ It is a libre, JavaScript-rich, non-linear notebook, that can well adapt to anyo
* <<TwL " MacroCallWidget SetWidget VarsWidget">>
* <<TwL " EditTextWidget RangeWidget CheckboxWidget">>
* <<TwL " [[Table-of-Contents Macros (Examples)]] ">>
* <<TwL " [[How to create dynamic editor toolbar buttons]] [[How to create keyboard shortcuts]] ">>
* [[How to Use Unicode Character (emoji) as Icon of Tags|https://dmitryrck.com/unicode-character-icon-of-tags-tiddlywiki/]] <<TwL " [[How to create a custom tiddler icon rule]] ">>
* [[How To Use Tiddlywiki as a Static Site Generator|https://rpdillon.net/how-to-use-tiddlywiki-as-a-static-site-generator.html]]

View File

@ -0,0 +1,19 @@
caption: SquaredLink
condition: [<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]
condition-disabled: [[$:/temp/bold/disabled]get[state-disabled]else[no]]
created: 20231223102449513
creator: Octt
description: SquaredLink: &lt;&lt;[# Name Target&gt;&gt;
icon: $:/core/images/spiral
modified: 20231223130723771
modifier: Octt
shortcuts: ((EditorToolbar/SquaredLink))
tags: $:/tags/EditorToolbar
title: $:/OcttKB/EditorToolbar/SquaredLink
<$action-sendmessage
$message="tm-edit-text-operation"
$param="wrap-selection"
prefix='<<[# '
suffix='>>'
/>

View File

@ -0,0 +1,19 @@
caption: ^WikipediaFrame
condition: [<targetTiddler>!has[type]] [<targetTiddler>type[text/vnd.tiddlywiki]]
condition-disabled: [[$:/temp/bold/disabled]get[state-disabled]else[no]]
created: 20231223101422552
creator: Octt
description: &lt;&lt;^WikipediaFrame Article&gt;&gt;
icon: $:/core/images/spiral
modified: 20231223130720723
modifier: Octt
shortcuts: ((EditorToolbar/WikipediaFrame))
tags: $:/tags/EditorToolbar
title: $:/OcttKB/EditorToolbar/WikipediaFrame
<$action-sendmessage
$message="tm-edit-text-operation"
$param="wrap-selection"
prefix='<<^WikipediaFrame "'
suffix='">>'
/>

View File

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

View File

@ -1,6 +1,6 @@
created: 20231222112341747
created: 20231223100508971
creator: Octt
list:
modified: 20231222235917656
modified: 20231223162642355
modifier: Octt
title: $:/StoryList

View File

@ -0,0 +1,8 @@
created: 20231223130748024
creator: Octt
modified: 20231223130829468
modifier: Octt
tags:
title: $:/config/ShortcutInfo/EditorToolbar/SquaredLink
SquaredLink: &lt;&lt;[# Name Target&gt;&gt;

View File

@ -0,0 +1,7 @@
created: 20231223130915820
creator: Octt
modified: 20231223130915820
modifier: Octt
title: $:/config/shortcuts/EditorToolbar/SquaredLink
shift-alt-L

View File

@ -0,0 +1,7 @@
created: 20231223130843308
creator: Octt
modified: 20231223130916900
modifier: Octt
title: $:/state/dropdown/keyboardshortcut/EditorToolbar/SquaredLink--502179266
close

View File

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

View File

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

View File

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

View File

@ -0,0 +1,7 @@
created: 20231223130238140
creator: Octt
modified: 20231223130238140
modifier: Octt
title: $:/state/tree/$:/OcttKB/EditorToolbar/
show

View File

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

View File

@ -1,7 +1,7 @@
created: 20231220213327430
creator: Octt
modified: 20231220213327430
modified: 20231223101411534
modifier: Octt
title: $:/state/tree/$:/config/ShortcutInfo/
show
hide

View File

@ -1,7 +1,7 @@
created: 20221107223451478
creator: Octt
modified: 20231220213325047
modified: 20231223101414134
modifier: Octt
title: $:/state/tree/$:/config/
show
hide

View File

@ -1,6 +1,6 @@
created: 20221109224641397
creator: Octt
modified: 20231105184234925
modified: 20231223130233284
modifier: Octt
title: $:/state/tree/$:/core/

View File

@ -1,7 +1,7 @@
created: 20230124215451478
creator: Octt
modified: 20230124215509662
modified: 20231223102204411
modifier: Octt
title: $:/state/tree/$:/core/images/
hide
show

View File

@ -1,7 +1,7 @@
created: 20230110194514220
creator: Octt
modified: 20230219190409356
modified: 20231223102203147
modifier: Octt
title: $:/state/tree/$:/core/ui/
show
hide