Posts on techy stuff
Subscribe with RSS to keep up with the latest news.
Install WhatsApp on Mac with Nativefier
April 19, 2026macnativefier
WhatsApp has an official Mac app, but it can be heavy on resources and sometimes lacks flexibility. An alternative is to wrap WhatsApp Web into a standalone desktop app using Nativefier.
read moreWarp - Shell with an AI attitute
April 01, 2025aiwarp
- Do you like using shells: sh, cmd, ps
- Do you feel forgetting how to do things,
like
what's the command to remove all directories and sub and force and and recursive and all? - Do you like AI or talking to AI, or just want to say you are AI aware?
Then, my very serious recomendation:
Go Warp a very neat, cool, easy-to-use, and powerful command line (shell) tool, with AI built-in
https://www.warp.dev/terminal
Setting up GitHub Pages
January 28, 2025githubgithub
GitHub allows you to host pages directly from your repo Here are the steps I did: For GitHub:
- Create a repository for your project (you can name it anything).
- Add your HTML file (e.g., index.html) to the repository.
- Go to the repository’s Settings > Pages.
- In the Source section, select the branch where your HTML file is located, and choose the root folder.
- GitHub will provide you with a link to access your hosted HTML page.
Fedora Server on Minix NEO Z64W
October 31, 2023linux
The Minix NEO Z64-W is intended to run Windows, but, since it has an Intel chipset, it runs Linux Server pretty well. Until a few days ago, I had a stable version of Ubuntu Server 20 LTS running there. A failed attempt to upgrade to Ubuntu LTS 22 brings me here.
read moreMoving from Android to iPhone
May 31, 2023mobile
After several years on Android, I moved recently to iPhone. Here are my takes on the process
Android history: Galaxy 2, Galaxy 4, Galaxy 6, Pocofone, Pixel 4 XL Moving to: iPhone 14 Max
read moreCalling AWS Lambda functions from LINQPad
January 03, 2023csharp
- Open LINQPad
- Add reference to JSON.NET
- Use this C# statement to call a Lambda function in AWS:
var lambdaUrl = "https://<base>.amazonaws.com/default/<api>";
var message = "some message";
var data = new { message };
var payloadJson = JsonConvert.SerializeObject(data);
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, lambdaUrl);
request.Content = new StringContent(payloadJson, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());
In order to create/configure the lambda function, follow these steps:
- Login to AWS
- Search for
Lambda - Create new function
- Select existing permission
lambda_execution
- Select existing permission
- Go to Configuration
- Create New trigger of type API Gateway
- Set Security to None
Grep - Powershell style
January 09, 2022grep
Use this powershell command to find text in files, grep style:
gci -r | sls 'some text'
or
Get-ChildItem -Recurse | Select-String 'some text'
Fix apt upgrade error when connecting to fr.archive.ubuntu.com
December 03, 2021apt-get
Recently, when trying to upgrade my tiny Ubuntu Server, got this error:
Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Cannot initiate the connection to fr.archive.ubuntu.com:80 (2001:bc8:1600:4:63f:72ff:feaf:a2de). - connect (101: Network is unreachable)
I thought that the issue was related to IPv6, so I disabled it:
nano /etc/sysctl.conf1
Add:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Run sysctl -p
Confirm cat /proc/sys/net/ipv6/conf/all/disable_ipv6
It should return 1 (disabled)
This didn’t help (also got error with IPv4)
W: Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dists/focal/InRelease Could not connect to fr.archive.ubuntu.com:80 (51.158.154.169), connection timed out
So, after doing a ping to fr.archive.ubuntu.com and confirming it’s down, just replaced it with us.archive.ubuntu.com:
nano /etc/apt/sources.list
Finally packages upgrade is running
apt-get update
apt upgrade
Installing qBitTorrent on Ubuntu Server
July 02, 2021qBitTorrent
qBittorrent-nox includes only the Web UI http://localhost:8080
Installation instructions
sudo:
add-apt-repository ppa:qbittorrent-team/qbittorrent-stableapt install qbittorrent-noxadduser --system --group qbittorrent-noxsudo adduser your-username qbittorrent-noxsudo nano /etc/systemd/system/qbittorrent-nox.service
[Unit]
Description=qBittorrent Command Line Client
After=network.target
[Service]
#Do not change to "simple"
Type=forking
User=qbittorrent-nox
Group=qbittorrent-nox
UMask=007
ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8080
Restart=on-failure
[Install]
WantedBy=multi-user.target
Service operations
sudo systemctl start qbittorrent-noxsudo systemctl daemon-reloadsudo systemctl enable qbittorrent-noxsystemctl status qbittorrent-nox
Accessing it after install
192.168.0.102:8080- Username is
admin. Default password isadminadmin.
A few things missing
- You need to install the search plugins that matched your needs and are legal in your country Open the Search Tab, and click on Search Plugins
- If you customized the Downloads folder, it does not persist when saved from the UI
Open the config file
/home/qbittorrent-nox/.config/qBittorrent/qBittorrent.confand save it the [Preferences] section ` Downloads\SavePath=/media/torrents/ ` - Restart the service for the changes to take place
systemctl restart qbittorrent-nox
Reference
Overall instructions for installing qBitTorrent on Ubuntu Server can be followed from this [link] (https://www.linuxbabe.com/ubuntu/install-qbittorrent-ubuntu-18-04-desktop-server)
How this site was created
March 12, 2021jekyllssg
Publishing a site using an SSG from GitHub Actions
After using Wordpress for several years (on-off), I decided to move to SSG (Static Site Generator)
I come to love markdown, and the ability to write my posts from VS Code directly.
So, here I will just give a high level overwiew of what takes to create a simple site using SSG.
read moreWant to see more? See the Posts Archive.