1
0

move bookmarks

This commit is contained in:
dtb 2022-05-20 20:39:02 -04:00
parent 7b72fdab88
commit ef14213d4b
2 changed files with 63 additions and 36 deletions

View File

@ -96,6 +96,7 @@ Oh well.
<LI><A HREF="https://scratch.mit.edu/">MIT Scratch</A></LI>
<LI><A HREF="https://github.com/moodle/moodle">Moodle</A></LI>
<LI><A HREF="https://mullvad.net/">Mullvad VPN</A></LI>
<LI><A HREF="https://www.namecheap.com/support/knowledgebase/article.aspx/9196/5/how-and-where-can-i-file-abuse-complaints/">Namecheap - How and where can I file abuse complaints?</A></LI>
<LI><A HREF="https://nekovm.org/">NekoVM</A></LI>
<LI><A HREF="http://neverssl.com/">NeverSSL</A></LI>
<LI><A HREF="https://nobsgames.stavros.io/">No Bullshit Games</A></LI>
@ -524,8 +525,6 @@ Oh well.
<LI><A HREF="https://jira.atlassian.com/browse/JRASERVER-65811">Change the string "allopenissues" to not include the word "penis"</A></LI>
<LI><A HREF="https://github.com/blueman-project/blueman/issues/1110">Doesn't work! UwU</A></LI>
<LI><A HREF="https://hansdegoede.livejournal.com/22338.html">Disney+ Error Code 83</A></LI>
<LI><A HREF="https://securitylab.github.com/research/Ubuntu-gdm3-accountsservice-LPE">How to get root on Ubuntu 20.04 by pretending nobody's /home</A></LI>
<LI><A HREF="https://dev.to/setevoy/linux-alsa-lib-pcmdmixc1108sndpcmdmixopen-unable-to-open-slave-38on">Linux: ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave</A></LI>
<LI><A HREF="https://bugzilla.mozilla.org/show_bug.cgi?id=955950">Preference to disable/select the number of days until recommending a reset</A></LI>
<LI><A HREF="https://www.reddit.com/r/DataHoarder/comments/ikk0rv/psa_multiple_wd_5400rpm_drives_are_actually/">PSA: multiple WD "5400RPM" drives are actually 7200RPM, including WD80EMAZ/EZAZ and (some) WD Reds</A></LI>
<LI><A HREF="https://bugs.mojang.com/browse/MCL-11384">MCL-11384</A></LI>
@ -539,7 +538,6 @@ Oh well.
<LI><A HREF="https://mywiki.wooledge.org/BashPitfalls">Bash Pitfalls</A></LI>
<LI><A HREF="https://stackoverflow.com/questions/10551981/how-to-perform-a-for-loop-on-each-character-in-a-string-in-bash">How to perform a for loop on each character in a string in Bash?</A></LI>
<LI><A HREF="https://github.com/dylanaraps/pure-bash-bible">Pure BASH Bible</A></LI>
<LI><A HREF="https://www.in-ulm.de/~mascheck/various/echo+printf/">Variations in echo implementations</A></LI>
<LI><A HREF="https://arslan.io/2019/07/03/how-to-write-idempotent-bash-scripts/">Writing idempotent Bash scripts</A></LI>
</UL></LI>
<LI>C<UL>
@ -576,16 +574,6 @@ Oh well.
<LI><A HREF="https://www.python.org/dev/peps/pep-0274/">PEP 274</A></LI>
</UL></LI>
</UL></LI>
<LI>Linux<UL>
<LI><A HREF="http://tldp.yolinux.com/HOWTO/subdir/HOWTO-INDEX.html">How to Linux</A></LI>
<LI><A HREF="https://christine.website/blog/howto-usermode-linux-2019-07-07">How to Use User Mode Linux</A></LI>
<LI><A HREF="https://www.cs.cmu.edu/~awb/linux.history.html">LINUX's History</A></LI>
<LI><A HREF="https://www.kernel.org/doc/html/v4.17/index.html">The Linux Kernel documentation</A></LI>
<LI><A HREF="https://groups.google.com/g/comp.os.minix/c/wlhw16QWltI">LINUX is obsolete</A></LI>
<LI><A HREF="http://www.linuxfromscratch.org/">Linux From Scratch</A></LI>
<LI><A HREF="https://www.redhat.com/sysadmin/bios-uefi">Move your Linux from BIOS to UEFI in place</A></LI>
<LI><A HREF="https://www.collabora.com/news-and-blog/blog/2020/08/27/using-the-linux-kernel-case-insensitive-feature-in-ext4/">Using the Linux kernel's Case-insensitive feature in Ext4</A></LI>
</UL></LI>
<LI>POSIX<UL>
<LI><A HREF="https://pubs.opengroup.org/onlinepubs/9699919799/">head</A></LI>
<LI><A HREF="https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html">limits.h</A></LI>
@ -594,11 +582,16 @@ Oh well.
<LI><A HREF="https://tools.ietf.org/html/rfc793">RFC 793 - Transmission Control Protocol</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc1180">RFC 1180 - A TCP/IP Tutorial</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc1523">RFC 1523 - The text/enriched MIME Content-type</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc1738">RFC 1738 - Uniform Resource Locators (URL)</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc1918">RFC 1918 - Address Allocation for Private Internets</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc1928">RFC 1928 - SOCKS Protocol Version 5</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc1945">RFC 1945 - Hypertext Transfer Protocol -- HTTP/1.0</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc2068">RFC 2068 - Hypertext Transfer Protocol -- HTTP/1.1</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc2324">RFC 2324 - Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc3339">RFC 3339 - Date and Time on the Internet: Timestamps</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc3986">RFC 3986 - Uniform Resource Identifier (URI): Generic Syntax</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc4180">RFC 4180 - Common Format and MIME Type for Comma-Separated Values (CSV) Files</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc5952">RFC 5952 - A Recommendation for IPv6 Address Text Representation</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc7168">RFC 7168 - The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)</A></LI>
<LI><A HREF="https://tools.ietf.org/html/rfc7686">RFC 7686 - The ".onion" Special-Use Domain Name</A></LI>
</UL></LI>
@ -629,7 +622,6 @@ Oh well.
<LI><A HREF="http://csillustrated.berkeley.edu/">Computer Science Illustrated</A></LI>
<LI><A HREF="https://www.csee.umbc.edu/courses/471/papers/turing.pdf">Computing Machinery and Intelligence</A></LI>
<LI><A HREF="https://datagubbe.se/twm/">Configurations for ctwm</A></LI>
<LI><A HREF="http://cyber.dabamos.de/unix/x11/">Cool, but obscure X11 tools</A></LI>
<LI><A HREF="https://superuser.com/questions/1201670/is-it-possible-to-create-a-partition-that-is-usable-by-both-linux-and-windows-an#1201680">Create a Partition Accessable to Both Windows and Linux</A></LI>
<LI><A HREF="https://ironpeak.be/blog/crouching-t2-hidden-danger/">Crouching T2 Hidden Danger</A></LI>
<LI><A HREF="https://twitter.com/axi0mX/status/1313620262768635904">Crouching T2 Hidden Danger (axi0mX thread)</A></LI>
@ -637,7 +629,6 @@ Oh well.
<LI><A HREF="https://www.eff.org/cyberspace-independence">A Declaration of the Independence of Cyberspace</A></LI>
<LI><A HREF="https://vgdensetsu.tumblr.com/post/179656817318/designing-2d-graphics-in-japan-from-the-late-70s">Designing 2D graphics in the Japanese industry</A></LI>
<LI><A HREF="https://www.deseret.com/1991/7/17/18931236/don-t-hang-up-deejays-make-wait-bearable">DON'T HANG UP! DEEJAYS MAKE WAIT BEARABLE</A></LI>
<LI><A HREF="https://catonmat.net/ftp/ed.text.editor.cheat.sheet.txt">Ed Cheat Sheet</A></LI>
<LI><A HREF="https://linux-audit.com/elf-binaries-on-linux-understanding-and-analysis/">ELF Information</A></LI>
<LI><A HREF="https://cravencode.com/post/essentials/enable-tap-to-click-in-i3wm/">Enable tap to click in i3 WM</A></LI>
<LI><A HREF="https://feeding.cloud.geek.nz/posts/encoding-wifi-access-point-passwords-qr-code/">Encoding your WiFi access point password into a QR code</A></LI>
@ -676,6 +667,7 @@ Oh well.
<LI><A HREF="https://www.addictivetips.com/ubuntu-linux-tips/play-world-of-warcraft-on-linux/">How to play World Of Warcraft on Linux</A></LI>
<LI><A HREF="https://codahale.com/how-to-safely-store-a-password/">How To Safely Store A Password</A></LI>
<LI><A HREF="https://bash-prompt.net/guides/pulse-audio-bluetooth-streaming/">How to Stream Audio from Your Phone to Your Laptop with PulseAudio and Bluetooth</A></LI>
<LI><A HREF="https://www.evanmiller.org/how-not-to-sort-by-average-rating.html">How Not To Sort By Average Rating</A></LI>
<LI><A HREF="https://www.howtogeek.com/255435/how-to-update-windows-7-all-at-once-with-microsofts-convenience-rollup/">How to Update Windows 7 All at Once with Microsoft's Convenience Rollup</A></LI>
<LI><A HREF="https://www.digitalocean.com/community/tutorials/how-to-set-up-a-minecraft-server-on-linux">How To Use a Minecraft Server on Linux</A></LI>
<LI><A HREF="https://wiki.netbsd.org/tutorials/how_to_use_ttf_fonts_in_xterm/">How to use ttf fonts in xterm</A></LI>
@ -717,6 +709,7 @@ Oh well.
<LI><A HREF="https://user.eng.umd.edu/~blj/funny/requium.html">A Requiem for a Dying Operating System</A></LI>
<LI><A HREF="https://www.spinellis.gr/blog/20210102/">Reviving the 1973 Unix text to voice translator</A></LI>
<LI><A HREF="https://www.notion.so/Run-x86-Apps-including-homebrew-in-the-Terminal-on-Apple-Silicon-8350b43d97de4ce690f283277e958602">Run x86 Apps (including homebrew) in the Terminal on Apple Silicon</A></LI>
<LI><A HREF="https://maru-chang.com/hard/scph/index.php/all/english/">SCPH</A></LI>
<LI><A HREF="https://github.com/danielmiessler/SecLists">SecLists</A></LI>
<LI><A HREF="https://securitytxt.org/">Security.txt</A></LI>
<LI><A HREF="https://www.geekality.net/2013/11/01/settings-for-vlc-dynamic-range-compression/">Settings for VLC dynamic range compression</A></LI>
@ -740,6 +733,7 @@ Oh well.
<LI><A HREF="https://tidbits.com/2002/10/28/update-firmware-before-installing-jaguar/?tbart=06973">Update iMac G3 Firmware Before Installing OS X 10.2 Jaguar!</A></LI>
<LI><A HREF="https://forum.thinkpads.com//viewtopic.php?t=23004&highlight=x20+usb+boot">Unable to boot from USB CD drive - Thinkpads Forum</A></LI>
<LI><A HREF="https://www.sbf5.com/~cduan/technical/git/">Understanding Git Conceptually</A></LI>
<LI><A HREF="http://bytepointer.com/articles/the_microsoft_rich_header.htm">The Undocumented Microsoft "Rich" Header</A></LI>
<LI><A HREF="https://www.levenez.com/unix/unix.pdf">UNIX Evolution Tree</A></LI>
<LI><A HREF="https://web.archive.org/web/20200502201955/http://www.kernelthread.com/publications/gbaunix/">UNIX® on the Game Boy Advance</A></LI>
<LI><A HREF="https://zero.sci-hub.se/3252/016657c71a46a2d7110d87b4f720847e/jalics1983.pdf">UNIX to an IBM minicomputer</A></LI>
@ -955,7 +949,7 @@ Oh well.
<LI><A HREF="https://dod.defense.gov/Portals/1/features/2016/0616_policy/DoDTGHandbook_093016.pdf">Transgender Service in the U.S. Military</A></LI>
<LI><A HREF="https://news.ycombinator.com/item?id=22725327">"Try 63/37 tin/lead instead of 60/40."</A></LI>
<LI>Writing<UL>
<LI>http://paulgraham.com/simply.html</LI>
<LI><A HREF="http://paulgraham.com/simply.html">Write Simply</A></LI>
</UL></LI>
<LI><A HREF="http://www.wtfpl.net/">WTFPL</A></LI>
</UL></LI>

View File

@ -33,6 +33,23 @@ The usual text program used is <CODE>acpi(1)</CODE>.
Alpine doesn't include man pages in program packages to save on space, instead keeping them in <CODE>[<I>package</I>]-doc</CODE> sibling packages.
To always install doc packages with program packages, <CODE>apk add docs</CODE>.
</P>
<H3>postmarketOS</H3>
<P>
postmarketOS is an Alpine-based Linux software distribution that makes configuring and using Linux easy on mobile devices.
</P>
<H4>Random MAC address generation on Wifi</H4>
<P>
By default, postmarketOS will generate a random software MAC address when connecting to a new WLAN network.
You can disable this by adding a NetworkManager rule.
In <CODE>/etc/NetworkManager/conf.d/</CODE> you can make a file with any name that has the following:
</P>
<PRE><CODE>
[device]
wifi.scan-rand-mac-address=no
</CODE></PRE>
<P>
On a live system you can then <CODE>rc-service networkmanager restart</CODE> to restart NetworkManager and have it load the new configuration.
</P>
<H2>Arch and Artix</H2>
<H3>Bootstrapping: Installing essential packages</H3>
@ -110,6 +127,24 @@ Alpine has <CODE>build-base</CODE> and Debian has <CODE>build-essential</CODE>.
Debian is a Linux software distribution known for its stability and longevity.
Debian uses SystemD as its initialization system, the GNU core utilities, and dpkg and apt for package management.
</P>
<H3>Ubuntu</H3>
<UL>
<LI><A HREF="https://securitylab.github.com/research/Ubuntu-gdm3-accountsservice-LPE/">How to get root on Ubuntu 20.04 by pretending nobody's /home</A></LI>
</UL>
<H2>echo(1)</H2>
<UL>
<LI><A HREF="https://www.in-ulm.de/~mascheck/various/echo+printf/">Variations in echo implementations</A></LI>
</UL>
<P>
Don't use <CODE>echo(1)</CODE>, use <CODE>printf(1)</CODE>.
<CODE>printf(1)</CODE> simulates the <CODE>printf(3)</CODE> function in the C standard I/O library which has no significant variations, whereas the functionality of <CODE>echo(1)</CODE> can vary between vendors.
The following <CODE>sh(1)</CODE> program provides <CODE>echo(1)</CODE> through <CODE>printf(1)</CODE>:
</P>
<PRE>
#!/bin/sh
printf "%s" "$*"
</PRE>
<H2 ID="fonts">Fonts</H2>
@ -118,6 +153,18 @@ Debian uses SystemD as its initialization system, the GNU core utilities, and dp
<P>postmarketOS requires that the <CODE>localmount</CODE> OpenRC service be enabled for the system to read <CODE>fstab(5)</CODE>.
<P>Arch and Artix have fstab generators at <CODE>genfstab(8)</CODE> and <CODE>fstabgen(8)</CODE> respectively in their installation scripts.</P>
<H2>Linux</H2>
<UL>
<LI><A HREF="http://tldp.yolinux.com/HOWTO/subdir/HOWTO-INDEX.html">How to Linux</A></LI>
<LI><A HREF="https://christine.website/blog/howto-usermode-linux-2019-07-07">How to Use User Mode Linux</A></LI>
<LI><A HREF="https://www.cs.cmu.edu/~awb/linux.history.html">LINUX's History</A></LI>
<LI><A HREF="https://www.kernel.org/doc/html/v4.17/index.html">The Linux Kernel documentation</A></LI>
<LI><A HREF="https://groups.google.com/g/comp.os.minix/c/wlhw16QWltI">LINUX is obsolete</A></LI>
<LI><A HREF="http://www.linuxfromscratch.org/">Linux From Scratch</A></LI>
<LI><A HREF="https://www.redhat.com/sysadmin/bios-uefi">Move your Linux from BIOS to UEFI in place</A></LI>
<LI><A HREF="https://www.collabora.com/news-and-blog/blog/2020/08/27/using-the-linux-kernel-case-insensitive-feature-in-ext4/">Using the Linux kernel's Case-insensitive feature in Ext4</A></LI>
</UL>
<H2 ID="login_manager">Login manager</H2>
<P>Use <CODE>elogind</CODE>.</P>
@ -247,25 +294,6 @@ These leave your system open to man-in-the-middle attacks.
<P>See <CODE>syslogd(8)</CODE> and <CODE>syslog.conf(5)</CODE>, which pertain to system logging.</P>
<P>Setting <CODE>DDB_ONPANIC</CODE> (see <CODE>options(4)</CODE> and <CODE>sysctl(8)</CODE>) will save a crash dump at <CODE>/var/crash</CODE> on kernel panic.
<H2>postmarketOS</H2>
<P>
postmarketOS is an Alpine-based Linux software distribution that makes configuring and using Linux easy on mobile devices.
It uses OpenRC for initialization, busybox for core utilities, and can come with any of multiple windowing systems and window managers.
</P>
<H3>Random MAC address generation on Wifi</H3>
<P>
By default, postmarketOS will generate a random software MAC address when connecting to a new WLAN network.
You can disable this by adding a NetworkManager rule.
In <CODE>/etc/NetworkManager/conf.d/</CODE> you can make a file with any name that has the following:
</P>
<PRE><CODE>
[device]
wifi.scan-rand-mac-address=no
</CODE></PRE>
<P>
On a live system you can then <CODE>rc-service networkmanager restart</CODE> to restart NetworkManager and have it load the new configuration.
</P>
<H2 ID="power">Power</H2>
<P>Much of this can be configured in the ACPI settings in your <A HREF="#login_manager">login manager</A>, provided you have one running that can do this.</P>
<P>Check out <CODE>tlp</CODE> for Thinkpads and some other Lenovo devices.</P>
@ -293,6 +321,9 @@ This generates an <A HREF="https://en.wikipedia.org/wiki/EdDSA#Ed25519">Ed25519<
<CODE>ne(1)</CODE> is like <CODE>nano(1)</CODE> but with different superpowers. Not yet in pkgsrc.
</P>
<H3>ed</H3>
<UL>
<LI><A HREF="https://catonmat.net/ftp/ed.text.editor.cheat.sheet.txt">Ed Cheat Sheet</A></LI>
</UL>
<P>
A particularly shoddy attempt at <CODE>ed(1)</CODE> is provided by <CODE>busybox</CODE>.
A traditional <CODE>ed(1)</CODE> implementation is in plan9ports.
@ -337,6 +368,7 @@ I haven't had good luck with it but Alpine set it up automatically.
<H2>X</H2>
<UL>
<LI><A HREF="http://cyber.dabamos.de/unix/x11/">Cool, but obscure X11 tools</A></LI>
<LI><A HREF="https://wiki.archlinux.org/title/Xorg">Xorg</A> (Arch Wiki)</LI>
</UL>
<P>
@ -379,6 +411,7 @@ PipeWire is relatively new and the typical audio server used is PulseAudio; Debi
<H4>ALSA</H4>
<UL>
<LI><A HREF="https://wiki.alpinelinux.org/wiki/Main_Page/Adding_sound">Adding sound</A> (Alpine Linux Wiki)</LI>
<LI><A HREF="https://dev.to/setevoy/linux-alsa-lib-pcmdmixc1108sndpcmdmixopen-unable-to-open-slave-38on">ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave</A></LI>
</UL>
<P>
The Alpine wiki ("Adding sound") says to install <CODE>alsa-conf</CODE>, <CODE>alsa-lib</CODE>, and <CODE>alsa-utils</CODE>,