Static sites with Jekyll in Ubuntu
Setup Ruby Remove the default Ubuntu install, otherwise you’ll get an error You don’t have write permissions for the /var/lib/gems/3.x.x Directory and configure Ruby to install gems to a folder in your home. Create a new project Edit project Jekyll has excellent documentation, the step-by-step guide will get you up to speed. In a pinch, […]
Upgrade Ubuntu from command line
Default release upgrade behaviour is configured in /etc/update-manager/release-upgrades. Upgrade with sudo do-release-upgrade.
Expo on Codespaces
What will I need? How long will it take? About ten minutes. Lets give it a go! Create a new Codespace using the blank template: Once initalised, create an empty Expo React App (select (y)es when prompted): Install the expo-cli command line tool globally: Change into your example project’s folder and edit App.js, maybe adding […]
Metro not starting automatically on Ubuntu
Expected behaviour: Should launch Metro and an Android emulator but Metro is not launched. Manually launching metro works:
No Internet access in WSL
Windows might generate a /etc/resolv.conf with an incorrect nameserver while installing Windows Subsystem for Linux (WSL). It’s a quick fix – edit /etc/resolv.conf and change the nameserver (Google’s is 18.104.22.168). To prevent it being overwritten, create or edit /etc/wsl.conf adding the option generateResolvConf = false.
Linux on Acer V3-112p
It’s an old Windows 8 laptop I’ve had years with a modest 2.16 GHz N2840 processor and the maximum 8 Gb RAM. It’s like Ship of Theseus, having had memory, battery, screen, and hard drive replaced. It is however ridiculously small and light.