Manual push Sat Jul 29 12:52:31 AM CEST 2023

This commit is contained in:
octospacc 2023-07-29 00:52:31 +02:00
parent d55d50a6a9
commit 78233b0b53
14 changed files with 73 additions and 8 deletions

0
.nomedia Normal file
View File

View File

@ -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 Willisons Weblog|https://simonwillison.net/]] --- <<[ "[[Git|https://github.com/simonw/simonwillisonblog]]">>

View File

@ -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`.

View File

@ -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''

View File

@ -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.

View File

@ -8,6 +8,9 @@ title: Copypasta
<<^wikipediaframe Copypasta>>
* <<RedditL r/copypasta r/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''

View File

@ -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 <Width>x<Height>+<OffsetX>+<OffsetY>`
!!! ''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]]

View File

@ -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''

View File

@ -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.

View File

@ -0,0 +1,8 @@
title: Programming
<<^wikipediaframe "Computer programming">>
* <<WikipediaL "Loop unrolling">>
** <<WikipediaL "Duff's device">> --- 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]]

View File

@ -7,6 +7,8 @@ title: Puzzle
<<^WikipediaFrame Puzzle>>
* <<WikipediaL "Sliding 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/

View File

@ -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]]

View File

@ -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?
* <<WikipediaL "Bob's your uncle">>
** "Bob's still your dad's brother" is an epic way to avoid too many further repetitions.
* <<WiktionaryL "ワープロ馬鹿">> (wāpurobaka)

View File

@ -5,4 +5,6 @@ modifier: Octt
tags: Web PHP CMS
title: WordPress
<<MediaWiki WordPress en 4>>
<<^wikipediaframe WordPress en>>
* [[How to Add Code to WordPress Header and Footer|https://kinsta.com/knowledgebase/add-code-wordpress-header-footer/]]