From 78233b0b539e0816beb59c54d87091f1e0220dfb Mon Sep 17 00:00:00 2001 From: octospacc Date: Sat, 29 Jul 2023 00:52:31 +0200 Subject: [PATCH] Manual push Sat Jul 29 12:52:31 AM CEST 2023 --- .nomedia | 0 Wiki-OcttKB/tiddlers/Normal/Saved/_Sites.tid | 2 ++ Wiki-OcttKB/tiddlers/Normal/Unix/_Shell.tid | 9 ++++++-- Wiki-OcttKB/tiddlers/Normal/_Android.tid | 1 + Wiki-OcttKB/tiddlers/Normal/_BBS.tid | 6 +++++ Wiki-OcttKB/tiddlers/Normal/_Copypasta.tid | 3 +++ Wiki-OcttKB/tiddlers/Normal/_ImageMagick.tid | 8 ++++++- Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid | 3 ++- Wiki-OcttKB/tiddlers/Normal/_Linux.tid | 5 ++++ Wiki-OcttKB/tiddlers/Normal/_Programming.tid | 8 +++++++ Wiki-OcttKB/tiddlers/Normal/_Puzzle.tid | 2 ++ Wiki-OcttKB/tiddlers/Normal/_Tech Art.tid | 24 +++++++++++++++++++- Wiki-OcttKB/tiddlers/Normal/_Word.tid | 6 +++-- Wiki-OcttKB/tiddlers/Normal/_WordPress.tid | 4 +++- 14 files changed, 73 insertions(+), 8 deletions(-) create mode 100644 .nomedia create mode 100644 Wiki-OcttKB/tiddlers/Normal/_Programming.tid diff --git a/.nomedia b/.nomedia new file mode 100644 index 0000000..e69de29 diff --git a/Wiki-OcttKB/tiddlers/Normal/Saved/_Sites.tid b/Wiki-OcttKB/tiddlers/Normal/Saved/_Sites.tid index eb1a416..d387597 100644 --- a/Wiki-OcttKB/tiddlers/Normal/Saved/_Sites.tid +++ b/Wiki-OcttKB/tiddlers/Normal/Saved/_Sites.tid @@ -17,6 +17,8 @@ Note: "[property]-leaning" means the majority of the content of the site, or the * [[Eli Grey|https://eligrey.com/]] * [[Gianmarco Gargiulo|https://gianmarco.gg]] * [[koyu's personal website|https://web.koyu.space/]] +* [[l33t.codes|https://l33t.codes]] --- Nice emulated retro-style with CRT effects and monospace text of many colors. +* [[P01✨ CREATIVE CODER & TECHNICAL SPEAKER|http://www.p01.org]] * [[Read the Tea Leaves|https://nolanlawson.com/]] --- //Software and other dark arts, by Nolan Lawson// * [[λ ryan. himmelwright. net|https://ryan.himmelwright.net/]] * [[Simon Willison’s Weblog|https://simonwillison.net/]] --- <<[ "[[Git|https://github.com/simonw/simonwillisonblog]]">> diff --git a/Wiki-OcttKB/tiddlers/Normal/Unix/_Shell.tid b/Wiki-OcttKB/tiddlers/Normal/Unix/_Shell.tid index b649d08..4bc7ac2 100644 --- a/Wiki-OcttKB/tiddlers/Normal/Unix/_Shell.tid +++ b/Wiki-OcttKB/tiddlers/Normal/Unix/_Shell.tid @@ -8,8 +8,13 @@ title: Unix/Shell <<^wikipediaframe "Unix Shell">> * [[Input Field Separators|https://en.wikipedia.org/wiki/Input_Field_Separators]] -* [[Split string with symbol|https://stackoverflow.com/a/10638555]] * [[$PWD vs. pwd regarding portability|https://stackoverflow.com/questions/10795014/pwd-vs-pwd-regarding-portability]] --- `$(pwd)` has issues with paths with newline chars, `$PWD` is fine but can be wrongly reset by badly-made programs; all appear to be available on all good shells. -* [[How to find the last field using 'cut'|https://stackoverflow.com/questions/22727107/how-to-find-the-last-field-using-cut]] --- `echo 'maps.google.com' | rev | cut -d'.' -f 1 | rev` + * [[Get/use exit code of command|https://www.cyberciti.biz/faq/bash-get-exit-code-of-command/]] --- Variable `$?` + +* [[Split string with symbol|https://stackoverflow.com/a/10638555]] +* [[How to find the last field using 'cut'|https://stackoverflow.com/questions/22727107/how-to-find-the-last-field-using-cut]] --- `echo 'maps.google.com' | rev | cut -d'.' -f 1 | rev` * [[Check if a string begins with some value|https://stackoverflow.com/questions/2172352/in-bash-how-can-i-check-if-a-string-begins-with-some-value#18558871]] --- `beginswith(){ case $2 in "$1"*) true;; *) false;; esac; }` +* [[How can I remove the extension of a filename in a shell script?|https://stackoverflow.com/questions/12152626/how-can-i-remove-the-extension-of-a-filename-in-a-shell-script]] + +* "error: arithmetic expression: expecting primary"... --- happens when calling an arithmetic expression (e.g. `$(( 5 * 7 ))`) with a missing parameter, or with quotes, in `sh`; `bash` accepts quotes and doesn't error instead. Don't use quotes in mathexps in `sh`. diff --git a/Wiki-OcttKB/tiddlers/Normal/_Android.tid b/Wiki-OcttKB/tiddlers/Normal/_Android.tid index f732f51..7723ac7 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Android.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Android.tid @@ -20,6 +20,7 @@ title: Android //Note: some resources that are related to Android but also closely Java may be included under the [[Java]] section.// * [[All you need to know about LOST.DIR folder on Android devices|http://thesundaycoder.blogspot.com/2014/06/all-you-need-to-know-about-lostdir.html]] +* [[What Is a NOMEDIA File?|https://androidforums.com/threads/whats-a-nomedia-file.307529/]] --- An empty file called `.nomedia` is used to hide the media content of the directory (and subdirectories) it's placed in from gallery apps and such. !!! ''Emulation / Containerization'' diff --git a/Wiki-OcttKB/tiddlers/Normal/_BBS.tid b/Wiki-OcttKB/tiddlers/Normal/_BBS.tid index 1244367..28fc93c 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_BBS.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_BBS.tid @@ -7,5 +7,11 @@ title: BBS <<^wikipediaframe "Bulletin board system">> +!!! ''BBSes'' + +* [[Xibalba BBS|https://xibalba.l33t.codes/]] --- BBS from ENiGMA½ developer. + +!!! ''Software'' + * //[[ENiGMA½|https://nuskooler.github.io/enigma-bbs/]] //is a modern BBS software with a nostalgic flair!// --- <<[ "[[Git|https://github.com/NuSkooler/enigma-bbs]]">> ** Warning: with this software, after ~1 month of very little active usage (no one ever logged on it, except me for the few days, so it just ran idle the last weeks...), I saw strangely-high disk I/O usage at kind of random times (node installed on microSD, the BBS on HDD). I disabled it in the meantime because, together with the [[SpaccCraft]] server, it was contributing to the rise of load average and crashing the entire server. I never had time/will to investigate properly after this discovery though. diff --git a/Wiki-OcttKB/tiddlers/Normal/_Copypasta.tid b/Wiki-OcttKB/tiddlers/Normal/_Copypasta.tid index 242b5cc..a51effc 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Copypasta.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Copypasta.tid @@ -8,6 +8,9 @@ title: Copypasta <<^wikipediaframe Copypasta>> * <> +* [[Copypastas on Trollpasta Wiki|https://trollpasta.com/wiki/Category:Copypasta]] +* [[Copypasta epiche|https://t.me/epiccopypasta]] +* [[CopyPasta Italia|https://t.me/copypastaita]] !!! ''Some specific copypastas'' diff --git a/Wiki-OcttKB/tiddlers/Normal/_ImageMagick.tid b/Wiki-OcttKB/tiddlers/Normal/_ImageMagick.tid index 9c7ab53..7ab606d 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_ImageMagick.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_ImageMagick.tid @@ -7,11 +7,17 @@ title: ImageMagick <<^wikipediaframe ImageMagick en>> -!! ''Resources'' +!!! ''How to'' * [[Convert pdf to pdf without losing quality|https://stackoverflow.com/questions/49899547/imagemagik-convert-pdf-to-pdf-without-doing-anything#49900085]] ** //you have to upsize and put density first, e.g: `convert -density 288 input.pdf -resize 25% output.pdf`// +* [[Cutting and Bordering|https://www.imagemagick.org/Usage/crop/]] +** [[How to crop an image?|https://superuser.com/questions/1161340/how-to-crop-an-image-using-imagemagick-from-the-command-line#1161341]] +** The most classic crop command is `-crop x++` + +!!! ''Troubleshooting'' + * [[ImageMagick using too much memory to convert PDF files|https://stackoverflow.com/questions/15384879/imagemagick-using-more-than-2gb-of-memory-to-convert-pdf-files]] ** How to limit resources used? [[-limit type value|http://www.imagemagick.org/script/command-line-options.php#limit]] diff --git a/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid b/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid index 2a98920..17ce2bc 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_JavaScript.tid @@ -13,9 +13,10 @@ title: JavaScript !!! ''Resources'' -* [[Which equals operator (== vs ===) should be used in JavaScript comparisons?|https://stackoverflow.com/questions/359494/which-equals-operator-vs-should-be-used-in-javascript-comparisons]] ("Good and bad twins") +* [[Which equals operator (== vs ===) should be used in JavaScript comparisons?|https://stackoverflow.com/questions/359494/which-equals-operator-vs-should-be-used-in-javascript-comparisons]] ("Good and bad twins") --- `==` is bad unless explicitly needed, since it does type-coercion. ** [[In theory === is faster, no type conversion takes place. Practically there's no performance difference.|https://stackoverflow.com/questions/12332855/which-javascript-equality-operator-or-is-faster]] ** [[JavaScript-Equality-Table|https://dorey.github.io/JavaScript-Equality-Table/unified/]] - <<[ "[[Git|https://github.com/dorey/JavaScript-Equality-Table]]">> +* [[Superpacking JS Demos|https://web.archive.org/web/20120919185414/http://daeken.com/superpacking-js-demos]] !!! ''Tools'' diff --git a/Wiki-OcttKB/tiddlers/Normal/_Linux.tid b/Wiki-OcttKB/tiddlers/Normal/_Linux.tid index 369e011..92c2b27 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Linux.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Linux.tid @@ -25,7 +25,12 @@ title: Linux ** [[The Network Administrators' Guide|https://tldp.org/LDP/nag/]] * [[SquashFS|https://tldp.org/HOWTO/SquashFS-HOWTO/whatis.html]], [[DwarFS|https://github.com/mhx/dwarfs]] +* [[systemd-nspawn|https://wiki.archlinux.org/title/Systemd-nspawn]] --- //chroot on steroids// for systemd hosts and guests !!! ''Benchmarks'' * [[Paul Raspberry Pi Benchmarks|https://willy-tech.de/raspberry-pi-benchmarks/]] + +!!! ''Troubleshooting'' + +* [[cannot mount /dev/loop1 read-only|https://serverfault.com/questions/839898/cannot-mount-block-device-dev-loop-read-only]] --- Filesystem might have a dirty log, using `-o norecovery` can still mount it readonly. diff --git a/Wiki-OcttKB/tiddlers/Normal/_Programming.tid b/Wiki-OcttKB/tiddlers/Normal/_Programming.tid new file mode 100644 index 0000000..b67072e --- /dev/null +++ b/Wiki-OcttKB/tiddlers/Normal/_Programming.tid @@ -0,0 +1,8 @@ +title: Programming + +<<^wikipediaframe "Computer programming">> + +* <> +** <> --- I can't totally understand how this works but the piece of code is visually a beautiful machine + +* [[How much abstraction is too much?|https://stackoverflow.com/questions/2668355/how-much-abstraction-is-too-much]] diff --git a/Wiki-OcttKB/tiddlers/Normal/_Puzzle.tid b/Wiki-OcttKB/tiddlers/Normal/_Puzzle.tid index bf910a7..404d892 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Puzzle.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Puzzle.tid @@ -7,6 +7,8 @@ title: Puzzle <<^WikipediaFrame Puzzle>> +* <> + * [[Simon Tatham's Portable Puzzle Collection|https://www.chiark.greenend.org.uk/~sgtatham/puzzles/]] * https://www.clarity-media.com/onlinepuzzles/ * https://www.studiogiochi.com/enigmistica/logica/ diff --git a/Wiki-OcttKB/tiddlers/Normal/_Tech Art.tid b/Wiki-OcttKB/tiddlers/Normal/_Tech Art.tid index e7d90ac..0e7a065 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Tech Art.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Tech Art.tid @@ -5,9 +5,31 @@ modifier: Octt tags: Art title: Tech Art +<<^wikipediaframe "Electronic art">> + +Some interesting tech art pieces follow. + !! Web * [[After Dark Screensavers in CSS|https://www.bryanbraun.com/after-dark-css/]] --- <<[ "[[Git|https://github.com/bryanbraun/after-dark-css]]">> * [[Blob Opera|https://g.co/arts/6tBHA7mJESJtirzF9]] --- //Create your own ML-powered opera song!// * [[If the Moon Were Only 1 Pixel|https://joshworth.com/dev/pixelspace/pixelspace_solarsystem.html]] --- //A tediously accurate map of the solar system// -* [[Space Elevator|https://neal.fun/space-elevator/]] +* [[Space Elevator|https://neal.fun/space-elevator]] +* [[p01 - Tunnex|http://www.p01.org/256b_tunnex]] +* [[p01 - Starfield|http://www.p01.org/starfield]] +* [[p01 - Micro Nova|http://www.p01.org/512b_micro_nova]] + +!!! [[Js1k|https://js1k.com/]] --- //The JavaScript code golfing competition// + +* [[Nyan Cat 2.0 (no audio?)|https://js1k.com/2019-x/details/4001]] +* [[Across The Multiverse|https://js1k.com/2019-x/details/4142]] +* [[3D Verlet simulation|https://js1k.com/2019-x/details/4079]] +* [[Fractal Whirlwind|https://js1k.com/2019-x/details/4276]] +* [[Pixel Art Editor|https://js1k.com/2019-x/details/4148]] + +!!! [[256b.htm Competition|http://wildmag.de/compo/?order=round]] + +* [[Poi – Bounce|http://wildmag.de/compo/Poi-Bounce/poi_256b_bounce.htm]] +* [[Iotic – Mouse Moire|http://wildmag.de/compo/Iotic-Mouse_Moire/iotic-mouse_moire.html]] +* [[Psikorp – Splinecrap|http://wildmag.de/compo/Psikorp-Splinecrap/psikorp-splinecrap.html]] +* [[Mados – Divo|http://wildmag.de/compo/Mados-Divo/divo.html]] diff --git a/Wiki-OcttKB/tiddlers/Normal/_Word.tid b/Wiki-OcttKB/tiddlers/Normal/_Word.tid index c4f6021..a75d951 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_Word.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_Word.tid @@ -7,8 +7,10 @@ title: Word <<^wikipediaframe Word en>> -!!! ''//Interesting// Words'' +!!! ''//Interesting// Words/Expressions'' -Some words I discovered and found so interesing I want to save them, ok? +Some words and expressions I discovered and found so interesing I want to save them, ok? +* <> +** "Bob's still your dad's brother" is an epic way to avoid too many further repetitions. * <> (wāpurobaka) diff --git a/Wiki-OcttKB/tiddlers/Normal/_WordPress.tid b/Wiki-OcttKB/tiddlers/Normal/_WordPress.tid index 4c3becc..b790eac 100644 --- a/Wiki-OcttKB/tiddlers/Normal/_WordPress.tid +++ b/Wiki-OcttKB/tiddlers/Normal/_WordPress.tid @@ -5,4 +5,6 @@ modifier: Octt tags: Web PHP CMS title: WordPress -<> \ No newline at end of file +<<^wikipediaframe WordPress en>> + +* [[How to Add Code to WordPress Header and Footer|https://kinsta.com/knowledgebase/add-code-wordpress-header-footer/]]