Skip to content

Commit

Permalink
OcttKB Cross-Repo Sync (HTML to Raw)
Browse files Browse the repository at this point in the history
  • Loading branch information
octospacc committed Dec 23, 2023
1 parent 1eca4ca commit afab887
Show file tree
Hide file tree
Showing 31 changed files with 158 additions and 43 deletions.
3 changes: 2 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/Android/_Development.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230217221957113
creator: Octt
modified: 20231219001513536
modified: 20231223141324212
modifier: Octt
tags:
title: Android/Development
Expand Down Expand Up @@ -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''
Expand Down
11 changes: 9 additions & 2 deletions Wiki-OcttKB/tiddlers/Normal/Linux/_Snippets.tid
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
created: 20230216221308797
creator: Octt
modified: 20230927232217489
modified: 20231223162822644
modifier: Octt
tags:
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]]
5 changes: 4 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_DOS.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20231102223250475
creator: Octt
modified: 20231221195418497
modified: 20231223111404767
modifier: Octt
tags:
title: DOS
Expand All @@ -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
25 changes: 25 additions & 0 deletions Wiki-OcttKB/tiddlers/Normal/_Data serialization.tid
Original file line number Diff line number Diff line change
@@ -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">>
8 changes: 6 additions & 2 deletions Wiki-OcttKB/tiddlers/Normal/_Fediverse.tid
Original file line number Diff line number Diff line change
@@ -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>> -->
Expand Down Expand Up @@ -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">>

6 changes: 4 additions & 2 deletions Wiki-OcttKB/tiddlers/Normal/_File system.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230813102403596
creator: Octt
modified: 20231222001700310
modified: 20231223160419818
modifier: Octt
title: File system

Expand All @@ -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)

Expand Down
3 changes: 2 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_Gaming.tid
Original file line number Diff line number Diff line change
@@ -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>>

Expand Down
4 changes: 3 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_Internet.tid
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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''
Expand Down
3 changes: 2 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_Kotlin.tid
Original file line number Diff line number Diff line change
@@ -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")`
Expand Down
10 changes: 0 additions & 10 deletions Wiki-OcttKB/tiddlers/Normal/_Markup language.tid

This file was deleted.

4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/Normal/_Mastodon.tid
Original file line number Diff line number Diff line change
@@ -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>>
Expand Down
3 changes: 2 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_MicroBlogs.tid
Original file line number Diff line number Diff line change
@@ -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.//
10 changes: 10 additions & 0 deletions Wiki-OcttKB/tiddlers/Normal/_Social network.tid
Original file line number Diff line number Diff line change
@@ -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">>
3 changes: 2 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_TiddlyWiki.tid
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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]]

Expand Down
19 changes: 19 additions & 0 deletions Wiki-OcttKB/tiddlers/System/OcttKB/EditorToolbar/_SquaredLink.tid
Original file line number Diff line number Diff line change
@@ -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='>>'
/>
Original file line number Diff line number Diff line change
@@ -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='">>'
/>
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/_HistoryList.json.meta
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
created: 20231223003935184
created: 20231223163647398
current-tiddler: GettingStarted
modified: 20231223003935184
modified: 20231223163647398
title: $:/HistoryList
type: application/json
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/_StoryList.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20231222112341747
created: 20231223100508971
creator: Octt
list:
modified: 20231222235917656
modified: 20231223162642355
modifier: Octt
title: $:/StoryList
Original file line number Diff line number Diff line change
@@ -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;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
created: 20231223130915820
creator: Octt
modified: 20231223130915820
modifier: Octt
title: $:/config/shortcuts/EditorToolbar/SquaredLink

shift-alt-L
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
created: 20231223130843308
creator: Octt
modified: 20231223130916900
modifier: Octt
title: $:/state/dropdown/keyboardshortcut/EditorToolbar/SquaredLink--502179266

close
2 changes: 1 addition & 1 deletion Wiki-OcttKB/tiddlers/System/state/search/_currentTab.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230501095944427
creator: Octt
modified: 20231221235301220
modified: 20231223123047860
modifier: Octt
title: $:/state/search/currentTab

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20220920092307479
creator: Octt
modified: 20231223003904545
modified: 20231223161011255
modifier: Octt
title: $:/state/tab/sidebar--595412856

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230501095944427
creator: Octt
modified: 20231221235301222
modified: 20231223123047860
modifier: Octt
title: $:/state/tab/search-results/sidebar

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
created: 20231223130238140
creator: Octt
modified: 20231223130238140
modifier: Octt
title: $:/state/tree/$:/OcttKB/EditorToolbar/

show
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/state/tree/$/OcttKB/_.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20230111084703963
creator: Octt
modified: 20231220200724835
modified: 20231223130235772
modifier: Octt
title: $:/state/tree/$:/OcttKB/

hide
show
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20231220213327430
creator: Octt
modified: 20231220213327430
modified: 20231223101411534
modifier: Octt
title: $:/state/tree/$:/config/ShortcutInfo/

show
hide
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/System/state/tree/$/config/_.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20221107223451478
creator: Octt
modified: 20231220213325047
modified: 20231223101414134
modifier: Octt
title: $:/state/tree/$:/config/

show
hide
2 changes: 1 addition & 1 deletion Wiki-OcttKB/tiddlers/System/state/tree/$/core/_.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20221109224641397
creator: Octt
modified: 20231105184234925
modified: 20231223130233284
modifier: Octt
title: $:/state/tree/$:/core/

Expand Down
Loading

0 comments on commit afab887

Please sign in to comment.