For this I'm using Ubuntu 24.04 and a Pixel 8a but any similar ubuntu version and android phone should work the same. On desktop you can install KDE connect, or in my case as I use gnome I installed GSConnect which adds to the ubuntu gnome top bar nicely.
I've been using Google Photos to store photos from my phone for over 10 years and it works great to have them automatically sync when I set up a new phone. But, I'm paranoid and I want another backup just in case somehow I loose access to the account through
Save the following file to /etc/profile.d/ssh-alerts.sh on your server. Update your@email.here with your email . # email on ssh login if [ -n "$SSH_CLIENT" ]; then TEXT="$(date): ssh login to ${USER}@$(hostname -f)" TEXT="$TEXT from $(echo $SSH_CLIENT | awk '{print $1}')" echo $TEXT
Download from https://www.postman.com/downloads/ for linux x64. Extract in your downloads folder and open up the terminal and cd over to the newly extracted folder. cd ~/Downloads/postman-linux-x64 Move it to be available system-wide: sudo mv Postman /opt/postman Make the postman command available: sudo ln -s
Using mysql_config_editor which stores a ~/.mylogin.cnf file we can have easy access to mysql as a privileged user from the terminal without needing to enter your password nor needing to use sudo. Step 1. Create the user CREATE USER 'USERNAMEHERE'@'localhost' IDENTIFIED BY 'PASSWORDHERE'; Step 2. Privileges,
Recently I ran into an issue where a configtest with apachectrl -t reported Syntax Ok , reloaded apache and everything went down. It turned out to be an issue where the SSL cert for one of the sites was invalid. For context, I'd made a fix to the config around the
This article assumes you're using PHP FPM, we'll also show you how to switch PHP versions on the command line at the bottom as well. You'll need to install the different PHP versions and make sure modules and config matches up. If you already have php7.4 installed and you're
... but they can do weird stuff if you really want them to. PHP heredocs aren't something I think most PHP devs (including myself) use day to day. But did you know they have a secret power in editors like VSCode? Sub syntax highlighting. Say you write some SQL for a
One time install of mkcert with: sudo apt install mkcert libnss3-tools mkcert -install Then set up your SSL cert for the needed domains, e.g. here I'm setting up localhost & mytestsite.localhost and i'm saving them to /home/andrew/bin/mkcert/ but change this to wherever you'd like the
Recently I upgraded a bunch of our app servers that were on old 16.04 and other similar sub 20.04 Ubuntu versions. (Why 20.04 vs 21.04? because every 2 years Ubuntu releases an LTS release for long term support, 20.04 is the latest LTS) While upgrading,
How to Connect Your Heart Internet Mailbox to Gmail If you use email hosting with Heart Internet and prefer to manage your emails through Gmail, it’s easy to link the two. This guide will walk you through the steps to set up Gmail so you can send and receive
Todays helpful tip: Your ini file changes wont be upgraded with you, it's worth checking the ini file changes from the old version to the new one. You can use diff or vimdiff but my personal favourite is meld which will open a visual gui diff between the files letting
Over a weekend I built a new app to help sites publish simple banners onto their site to say what they are doing in relation to COVID-19. As many sites / companies have had to temporarily shut down, or had to change delivery schedules or want to reasure customers of how
mitmproxy is a free and open source interactive HTTPS proxy. To quickly get this up and running on Ubuntu 19.04 ( Updated and tested in 20.04 & 21.04 ). Install mitmproxy sudo apt install mitmproxy This should install the latest version, if not you can get the binary direct
Ingredients You'll need your phone, your desktop / laptop & a cable to connect them. Prep Enable developer options on your phone Settings > search for About phone > Tap Build number 7 times. If after the first time it says no need, you already have it enabled. After the 7th time it