Porting Linux to Apple Silicon
Porting Linux to Apple Silicon
Removing 'smart' quotes from a file, on the command-line (2 mins read).
A one-liner with
sed to replace 'smart' quotes with regular quotes.
What? you can do that in Linux? It turns out you can! First, let’s see it in action. Here I retrieve a binary from my Raspberry Pi which is an ARM binary and execute it in my x86_64 machine …
Recommended read: Transparently running binaries from any architecture in Linux with QEMU and binfmt_misc – Own your bits https://ownyourbits.com/2018/06/13/transparently-running-binaries-from-any-architecture-in-linux-with-qemu-and-binfmt_misc/
linux clipboards are great if you want your OS to gaslight you you have a text file open, you hit paste, it pasts "foo" you select "bar", hit cut, "bar" disappears you hit paste, "foo" appears where did bar go why is foo still here
foone (@Foone)Fri, 08 Apr 2022 16:24 +0000
Recommended read: Linux system service bug gives root on all major distros, exploit released https://www.bleepingcomputer.com/news/security/linux-system-service-bug-gives-root-on-all-major-distros-exploit-released/
Getting the Battery Status of a Bluetooth Device on Linux (1 mins read).
How to use
dbus-send to retrieve the percentage of battery left on a Bluetooth device on Linux.
How I'm using systemd-tmpfiles to manage a temporary working directory and automagically clean it out.
Recommended read: What desktop Linux needs to succeed in the mainstream https://drewdevault.com/2021/12/05/What-desktop-Linux-needs.html
Controlling the Linux Backlight via the Command-Line (1 mins read).
How to manage your screen backlight on the command-line, without installing any tools.
Using popular things is sucky. When I have an issue with macOS or Windows, search results are dominated by SEO'd junk articles with little to no information. When I have an issue with Linux, search results are usually awesome and get me directly to the juicy information.
Maddison Hellstrom (@HellsMaddy)Wed, 12 May 2021 21:41 +0000
Recommended read: The modern packager’s security nightmare – Michał Górny https://blogs.gentoo.org/mgorny/2021/02/19/the-modern-packagers-security-nightmare/
Recommended read: The /bin/true Command and Copyright http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html
sorry i was late i had to install zoom - which meany i needed to update my repositories - and then i had to update some libraries - and my kernel... and the headers... and then reboot with the new kernel... and then install zoom... and well anyway here we are - hi i'm nova
kris Nóva (@krisnova)Fri, 11 Dec 2020 16:30 GMT
Recommended read: Boot drops to a (initramfs) prompts/busybox - Ask Ubuntu https://askubuntu.com/questions/137655/boot-drops-to-a-initramfs-prompts-busybox#817660
Recommended read: Is `sudo` almost useless? - Information Security Stack Exchange https://security.stackexchange.com/questions/232924/is-sudo-almost-useless
Determining What Motherboard You're Using, On Linux (1 mins read).
How to determine what motherboard the machine you're using is reporting, on the command-line with Linux.
I recently asked if anyone I knew had one of the new models but got no responses (via my blog, or Twitter).
I've got an XPS 13 9343 and love it - largely form factor, but also the 3K screen - and have been wondering about upgrading recently, in part due to USB-C and fingerprint sensor, not for any other reason.
According to the Arch Wiki entry for the new XPS it's mostly alright, but doesn't seem to have fingerprint support.
May be that it needs to get upstreamed by the folks at Ubuntu.
In case it's a point of interest, the highest-end one has a 4K screen (RRP £1768.00)
I'd say go for the slightly newer one, with the caveat that if you stick with the Ubuntu build it comes with, it'll probably be alright, but if you want to re-install/install a different OS, it'll likely not work as well, and may require a more up-to-date kernel - as I decided to use Arch at the time it meant I always had the latest kernels, so as they added support for the drivers upstream, I was getting them pretty quickly, whereas friends with non-cutting edge kernels didn't have as much luck.
I really do recommend Dell for the XPS based on my existing one, and would be very interested to see how you get on with it, if you do get it, so it can inform my decision to buy one while I'm in quarantine and don't need my laptop to be as functional as I would if I were travelling.
Being a Bad POSIX Citizen (2 mins read).
Owning up to using GNU coreutils, even on BSDs, because I'm lazy.
You're currently viewing page 1 of 2, of 73 posts.