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 24, 2023
1 parent 7eb1abe commit 3298eb8
Show file tree
Hide file tree
Showing 25 changed files with 126 additions and 69 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: 20231223141324212
modified: 20231224164734893
modifier: Octt
tags:
title: Android/Development
Expand Down Expand Up @@ -58,6 +58,7 @@ title: Android/Development
* [[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`
* [[Detecting & sending SMS on Android 📮|http://web.archive.org/web/20220120020100/https://joaquimley.com/blog/detect-send-sms-android]] <<[# "On Medium" "https://medium.com/android-news/detecting-sending-sms-on-android-8a154562597f">>
</div>

!!!! ''Hacking / Modding''
Expand Down
4 changes: 3 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/Saved/Sites/_Development.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230429190335486
creator: Octt
modified: 20231222002508281
modified: 20231224164037270
modifier: Octt
tags:
title: Saved/Sites/Development
Expand All @@ -27,6 +27,8 @@ Note: the most technically useful ones, or the non-too-personal ones, might be l
* [[Fyrdility (Alexis Deveria)|https://a.deveria.com/]] --- //web design, web development, web technologies, web browsers and web standards//
* <<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//
* [[Joaquim Ley|https://web.archive.org/web/20230604080543/https://www.joaquimley.com/]] --- //Builder, Engineer. Working in leadership. Blockchain, AI, social impact & climate.//
** [[Joaquim Ley Blog|https://web.archive.org/web/20211027065800/https://joaquimley.com/blog]] --- //Writing about my experience sailing the tech world.//
* [[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//
* <<httpsL kura.gg>>
Expand Down
3 changes: 2 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/Saved/_Sites.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230223222804008
creator: Octt
modified: 20231224002043287
modified: 20231224174415722
modifier: Octt
tags:
title: Saved/Sites
Expand Down Expand Up @@ -71,6 +71,7 @@ These are portfolios, collections of projects, hubs, landing pages, etc.
* [[ari melody|https://arimelody.me/]] --- //your local SPACEGIRL 💫//
* [[Daniel X's Artisanal Internets|https://danielx.net/]]
** [[Whimsy Space - ZineOS|https://whimsy.space/]]
* [[eip hax|https://eiphax.tech]] --- //hi. i'm eip. i guess i'm a 'hobbyist web developer', except my skillset is 'write bad html, steal js/css/php, eat hot chip and lie'.// --- contains sections related to game console hacking/homebrew
* [[ENTROPIE|https://entropie.org/]] --- a handful of connected blogs with tech articles and tech art galleries
* [[Grumpy Website|https://grumpy.website/]] --- //world-leading media conglomerate of renowned experts in UIs, UX and TVs//
* [[Jeff Thompson|https://www.jeffreythompson.org/]] --- many creative programming and artistic tech works by the author are highlighted on the site
Expand Down
15 changes: 15 additions & 0 deletions Wiki-OcttKB/tiddlers/Normal/Web/_Design.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
created: 20231224172607192
creator: Octt
modified: 20231224172753668
modifier: Octt
tags:
title: Web/Design

<<^WikipediaFrame "Web design">>

* [[Codrops|https://tympanus.net/codrops/]] --- //Keeping web professionals inspired &amp; up-to-date since 2009// --- <<[# Git"https://github.com/codrops">>
** [[Text Input Effects|https://tympanus.net/Development/TextInputEffects/]] --- //Simple styles and effects for enhancing text input interactions.// --- <<[# Git"https://github.com/codrops/TextInputEffects">>

!!! Other misc libraries and designs

* [[Typo|https://neatnik.net/typo/]] --- //Typo types the way a real person types. There are subtle variations in speed, occasional errors that are corrected, and a general feeling of humanity.// --- <<[# Git"https://github.com/neatnik/typo">>
16 changes: 9 additions & 7 deletions Wiki-OcttKB/tiddlers/Normal/Web/_Development.tid
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
created: 20230221204801305
creator: Octt
modified: 20231223213738061
modified: 20231224152937255
modifier: Octt
tags:
title: Web/Development

!!! ''Misc''

* [[web.dev|https://web.dev/]] - //Guidance to build modern web experiences that work on any browser// (?)
* [[Go Make Things|https://gomakethings.com/]] - //how to build a simpler, more resilient web//
** [[The Vanilla JS Toolkit|https://vanillajstoolkit.com/]] - //tools and snippets for working with JavaScript// (libraries, functions, polyfills, learning)
* [[Web Accessibility Developer Guide|https://www.accessibility-developer-guide.com/]]
<<^WikipediaFrame "Web development">>

!!! ''References''

Expand Down Expand Up @@ -39,10 +34,17 @@ title: Web/Development
* [[CORS Anywhere|https://github.com/Rob--W/cors-anywhere]] - //Server proxy which adds CORS headers to the request//

!!!! Minification

* ~~[[node-minify|https://github.com/srod/node-minify]] - //Light Node.js module and CLI app that compress javascript, css and html files//~~

!!! ''Misc''

* [[web.dev|https://web.dev/]] - //Guidance to build modern web experiences that work on any browser// (?)
* [[Go Make Things|https://gomakethings.com/]] - //how to build a simpler, more resilient web//
** [[The Vanilla JS Toolkit|https://vanillajstoolkit.com/]] - //tools and snippets for working with JavaScript// (libraries, functions, polyfills, learning)
* [[Web Accessibility Developer Guide|https://www.accessibility-developer-guide.com/]]
* [[Using <style> tags in the <body> with other HTML|https://stackoverflow.com/questions/2830296/using-style-tags-in-the-body-with-other-html]] --- there once was a `scoped` attribute for `<style>` blocks, but it's nowadays deprecated and styles apply to all document elements despite their own position in the tree

* [[Convert any website into a PWA in just 3 simple steps|https://dev.to/developertharun/convert-any-website-into-a-pwa-in-just-3-simple-steps-35pp]]
* [[SPA source code recovery by un-Webpacking source maps|https://medium.com/@rarecoil/spa-source-code-recovery-by-un-webpacking-source-maps-ef830fc2351d]] - ''[[unwebpack-sourcemap|https://github.com/rarecoil/unwebpack-sourcemap]]''
* [[How to inject service-worker.js to a webpage via Chrome Extension? I want to add offline functionality to the existing page|https://stackoverflow.com/questions/72356003/how-to-inject-service-worker-js-to-a-webpage-via-chrome-extension-i-want-to-add]]
Expand Down
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/Normal/_C Language.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20231029134919585
creator: Octt
modified: 20231217010837009
modified: 20231224151327804
modifier: Octt
tags:
title: C Language
Expand All @@ -17,9 +17,9 @@ title: C Language
** 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)
** [['declared as a function' in C|https://stackoverflow.com/questions/23329261/declared-as-a-function-in-c#23329274]] --- function pointers in structs must be declared with the syntax `type (functionName*)( type arg1, ... )`

* [[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]]
* [[Directly assigning values to C Pointers|https://stackoverflow.com/questions/17665793/directly-assigning-values-to-c-pointers]]

* [[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
Expand Down
10 changes: 10 additions & 0 deletions Wiki-OcttKB/tiddlers/Normal/_Computing.tid
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
created: 20231224171029994
creator: Octt
modified: 20231224171143636
modifier: Octt
tags:
title: Computing

<<^WikipediaFrame "Computing">>

* [[Computernewb|https://computernewb.com/]] --- //personal domain where I host various projects, probably the most famous one being CollabVM//
7 changes: 5 additions & 2 deletions Wiki-OcttKB/tiddlers/Normal/_File system.tid
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
created: 20230813102403596
creator: Octt
modified: 20231223160419818
modified: 20231224173923486
modifier: Octt
title: File system

<<^wikipediaframe "File system">>

!!! ''Disk partitioning''
!!! ''Disk partitioning and related''

<<^wikipediaframe "Disk partitioning">>

* [[GParted stop after next operation?|https://superuser.com/questions/312149/gparted-stop-after-next-operation]] --- TLDR: libparted doesn't keep copies of disk data, so the operation can be stopped without data loss only with luck and/or stopping at the least bad time.
* [[How to recover resize2fs failure|https://serverfault.com/questions/501593/how-to-recover-resize2fs-failure]] (not really possible)

* [[How to Create a Virtual HardDisk Volume Using a File in Linux|https://www.tecmint.com/create-virtual-harddisk-volume-in-linux/]] --- using `mkfs` on a preallocated file

!! ''Fat32''

Expand Down
26 changes: 0 additions & 26 deletions Wiki-OcttKB/tiddlers/Normal/_Font.tid

This file was deleted.

3 changes: 2 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_Gaming.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230116202756249
creator: Octt
modified: 20231223212858861
modified: 20231224164833125
modifier: Octt
tags: $:/i18n:en
title: Gaming
Expand All @@ -19,6 +19,7 @@ title: Gaming
* [[The King of Grabs|https://thekingofgrabs.com/]] --- //Grabbing amazing video game screenshots one game at a time.//
* [[VGMaps.com: The Video Game Atlas|https://www.vgmaps.com/]] --- //the largest source of screenshot maps on the Internet, with thousands of maps of your favourite video games!//

* <<httpsL Classic-Games.net>> --- //Your retro game headquarters//
* [[RetroBreak|https://retrobreak.co.uk/]] --- //Celebrating Video Game History//
* [[The Tech Game - Community|https://www.thetechgame.com/]] --- gaming news along with useful related downloads

Expand Down
4 changes: 3 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_GitHub.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20230206190107127
creator: Octt
modified: 20231107231057889
modified: 20231224154048155
modifier: Octt
tags: Git Proprietary
title: GitHub
Expand All @@ -9,6 +9,8 @@ title: GitHub

<<^wikipediaframe GitHub en>>

* [[how fetch a GitHub user's stars (API)|https://gist.github.com/derhuerst/19e0844796fa3b62e1e9567a1dc0b5a3]] --- GET `https://api.github.com/users/${user}/starred?&page=${pageNum}`

!!! ''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">>
Expand Down
8 changes: 5 additions & 3 deletions Wiki-OcttKB/tiddlers/Normal/_HTML.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20230202224901337
creator: Octt
icon: 📰
modified: 20231105112259414
modified: 20231224171735659
modifier: Octt
page-cover: https://images.unsplash.com/photo-1517134062979-e1234be8a085
tags: Web Markup
Expand All @@ -15,5 +15,7 @@ title: HTML
!!! ''References''

* [[HTML5 `<link rel="shortcut icon" />`|https://stackoverflow.com/questions/13211206/html5-link-rel-shortcut-icon]]
** [[Web Components|https://caniuse.com/?search=web%20components]] --- Partially implemented half-obscure set of features
*** [[HTML Imports|https://caniuse.com/imports]] --- //Deprecated method of including and reusing HTML documents in other HTML documents// --- The idea was nice: `<link rel="import" href="/path/to/file.html">`
* [[HTML Character Entity References|https://symbl.cc/en/html-entities/]] --- //The following table is completed with special characters and their HTML Entities from W3C.//

* [[Web Components|https://caniuse.com/?search=web%20components]] --- Partially implemented half-obscure set of features
** [[HTML Imports|https://caniuse.com/imports]] --- //Deprecated method of including and reusing HTML documents in other HTML documents// --- The idea was nice: `<link rel="import" href="/path/to/file.html">`
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/Normal/_Internet Checkpoint.tid
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
created: 20231106000942380
creator: Octt
modified: 20231106001552282
modified: 20231224172022445
modifier: Octt
tags: Strange
tags: Strange Internet
title: Internet Checkpoint

* <<YoutubeL EETV2JNBhcc "Welcome traveller. You have reached the checkpoint of the internet. This is an age-old story beginning with taia777 in 2012, where people from all walks of life would comment about how their life is going.">>
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: 20231223103134835
modified: 20231224173336933
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]].)

* <<httpsL Newgrounds.com>> --- //Everything, By Everyone//

* [[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.//
Expand Down
4 changes: 2 additions & 2 deletions Wiki-OcttKB/tiddlers/Normal/_Linux.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20230111153758951
creator: Octt
icon: 🐧
modified: 20231223225542672
modified: 20231224171918426
modifier: Octt
page-cover: https://images.unsplash.com/photo-1549605659-32d82da3a059?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
tags: $:/i18n:en Unix
Expand Down Expand Up @@ -60,5 +60,5 @@ title: Linux
* [[How to take back control of /etc/resolv.conf on Linux|https://www.ctrl.blog/entry/resolvconf-tutorial.html]] --- //Several DNS-related programs want to automatically manage the DNS name server and resolution configuration file at `/etc/resolv.conf`. In some situations, you may want to manage this file yourself.//

* [[How do I start a process with a nice value of -20 and not give it root privilege?|https://unix.stackexchange.com/questions/72934/how-do-i-start-a-process-with-a-nice-value-of-20-and-not-give-it-root-privilege]] --- quick hack: `sudo nice -n -20 su -c ${cmd} ${user}`

* [[How to Show FPS Counter in Linux Games|https://linuxhint.com/show_fps_counter_linux_games/]]
* [[How to Check CPU Temperature on Linux|https://phoenixnap.com/kb/linux-cpu-temp]]
4 changes: 3 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_MIPS.tid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
created: 20231123184226189
creator: Octt
modified: 20231221200206737
modified: 20231224154946990
modifier: Octt
tags:
title: MIPS
Expand All @@ -17,3 +17,5 @@ title: MIPS
* [[represent a struct in mips32|https://stackoverflow.com/questions/60112137/represent-a-struct-in-mips32]] --- after analyzing the C struct declaration to understand how many bytes it requires, //a good idea here would be to allocate some `.space`//, e.g. `theStruct:
.align 2 # MIPS needs word alignment
.space 16 # Size of struct`, then use with `la $register,theStruct`
* [[MIPS - Call C function in Assembly code|https://stackoverflow.com/questions/36980971/mips-call-c-function-in-assembly-code]] --- write values to stack if necessary, declare `.extern CFunctionName` in the ASM, use `jal CFunctionName` to call
* [[MIPS function call with more than four arguments|https://stackoverflow.com/questions/2298838/mips-function-call-with-more-than-four-arguments]] --- first allocate stack memory (subtract 4*numberOfArguments to `sp`), then load the first 4 arguments normally in `$a#` registers, and store the others in `4*argumentNumber($sp)`
8 changes: 7 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_Networking.tid
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
created: 20231222123820453
creator: Octt
modified: 20231222151903777
modified: 20231224173401189
modifier: Octt
tags:
title: Networking

<<^wikipediaframe "Telecommunications network">>

!!! Resources

* [[Port Forwarding without delay and high fps in a real time live stream using socat|https://unix.stackexchange.com/questions/454157/port-forwarding-without-delay-and-high-fps-in-a-real-time-live-stream-using-soca]]
** socat is not good for this, better to use iptables (if only it was working...), or firewalld: eg. `firewall-cmd --add-forward-port=port=80:proto=tcp:toport=8080`
*** see [[Forwarding ports with firewalld|https://major.io/p/forwarding-ports-with-firewalld/]]

!!! Tools

* Network Tools by [[You Get Signal|https://www.yougetsignal.com/]]
8 changes: 7 additions & 1 deletion Wiki-OcttKB/tiddlers/Normal/_Python.tid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
created: 20221110120605389
creator: Octt
icon: 🐍
modified: 20231111224955703
modified: 20231224173748386
modifier: Octt
page-cover: https://source.unsplash.com/random/?Python
tags: Development
Expand All @@ -23,7 +23,13 @@ I hate that, while tab-indentation is practically supported by the interpreter,

!! How to and troubleshooting

Text:

* [[Hex string to int|https://www.tutorialspoint.com/How-to-convert-hex-string-into-int-in-Python]] --- `int('6f637474', 16)`, `int('0x6f637474', 10)`
* [[Python 3 string to hex|https://stackoverflow.com/questions/2340319/python-3-string-to-hex]] --- `'string'.encode().hex()`

Files:

* [[How to copy files in Python?|https://stackoverflow.com/questions/123198/how-to-copy-files]] (with shutil)

!!! ''HTML things''
Expand Down
Loading

0 comments on commit 3298eb8

Please sign in to comment.