Jan van den Berg

Tag: tips

How to Tune a LAMP Stack on Debian for Maximum Performance

How to tune tour LAMP stack without extra tools.

apache, debian, innodb, lamp, linux, mariadb, mysql, php, tech, tips, tuning

A good blog has ...

A search bar An RSS feed An 'About Me' link A comment option A way to get in touch A clearly indicated date by post A reverse chronological order of posts A way to quickly jump to a specific date A wa...

meta, tips

How to add the total of two solar inverters in Domoticz

How to add the values of two (or more) solar inverters together in Domoticz.

domoticz, tech, tips

Manage your WordPress wp-content folder

How to get rid of all the thumbnails that are generated by WordPress by default and keep a grip on your wp-content folder.

tech, tips, wordpress

Using the SonicWall Connect Tunnel with Firefox on a Chromebook

Yes, you read that correctly. Firefox on a Chromebook! Without tricks. Or at least, not many tricks. Why? When you want to use the SonicWall Connect Tunnel software (from the SMA 1000 Series) on your...

chromebook, chromeos, connect-tunnel, linux, sonicwall, tech, tips

Audacity Tips

This is a public note to myself for working with Audacity; which I don't do too often, and I want to make sure I don't forget it. I recently created a 5 hour music project: a DJ radio show. The finish...

audacity, favorites, tech, tips

Floccus is the bookmark manager you have been looking for

Floccus does exactly what you want because Floccus doesn't break your bookmark management flow. The flow being: adding, changing, removing, moving bookmarks in your browser, straight from the bookmark...

favorites, floccus, tech, tips

Simple jumphost ssh-agent config

You can find many tutorials online on how to use or correctly. This is a short and simple two line fix aimed at a specific use i.e. a single connection to a jumphost. Add this to your .bashrc So now w...

cygwin, ssh, ssh-agent, tech, tips

Compact WSL partition and reclaim storage space

Start PowerShell wsl shutdown Find where your WSL vhdx file is located. Usually under: Start diskpart (from PowerShell or CMD): Run: and next:

linux, tech, tips, windows, wsl

I don't understand terminals, shells and SSH

Confession time: I don't fully understand how terminals, shells and SSH really work (and my guess is you don't either). And I don't mean the cryptography behind SSH. I mean how SSH and the terminal an...

bash, favorites, linux, shell, ssh, tech, terminal, tips

How to get green links on your Mastodon profile with WordPress

The green links on your Mastodon profile indicate that you are the owner of that link i.e. that website. You can achieve this by adding a little line of code to your website (see Link verification). W...

fediverse, mastodon, tech, tips

WhatsApp should really fix these issues

WhatsApp is my most used app, but its development seems stagnant. Which is not always a bad thing for software, but WhatsApp could really improve some things, especially when those improvements seem t...

tech, tips

Windows Terminal + Cygwin

UPDATE July 2022: I switched to using [MobaXterm which does the job just fine. I don't like that it is not free/open but I do like that it comes with an integrated SSH agent , which makes life a lot e...

cygwin, linux, tech, tips, wsl

Bypassing Hetzner mail port block (port 25/465)

I recently switched my VPS from Linode to Hetzner. I got more CPU, RAM and storage for less money. Pretty good right? However it wasn't after I migrated that I found out Hetzner blocks all outgoing po...

exim, favorites, lamp, linux, tech, tips

Ten 2022 Tool Tips

Here's a list of software tools I either started using this year or tools I think everyone should be using. Bitwarden The best password manager. Free if you like, or only $10 per year if you want to h...

tech, tips

Migrating a LAMP VPS

I recently switched my LAMP virtual server to a different VPS provider. The LAMP server that is serving you this site. So the migration worked! Here are the steps, for future reference. Mostly for mys...

apache, linux, mariadb, migration, mysql, php, tech, tips, vps

Corbin: static responsive image and video gallery generator

Corbin is one PHP file that — when run from the command line — creates a clean, fast and responsive (aka mobile friendly) video and image gallery with navigation from a directory of images and videos. The output is one single index.html file.

favorites, photos, php, static-gallery-genrator, tech, tips

Bloglife @ janvandenberg.blog

For my Dutch speaking readers: on my other blog piks.nl janvandenberg.blog I started blogging daily . Six days a week you will find a short thought or observation that explicitly aims to be above curr...

general, tips

Auto insert date when starting Vim

I have a file where I keep notes & ideas. And I try to have as less friction as possible to add ideas to this file. To achieve this I made it so that when I am at my terminal I type one letter; The fi...

tech, tips, vim

Connecting a Dell 4K monitor to HDMI

When I installed my new monitor the Dell S2721QS and attached it to my Dell laptop, something felt... off . I couldn't quite put my finger on it, the resolution was fine (3840 x 2160), screen was fine...

tech, tips

Merge two images in Windows from right-click context menu

1. Download and install ImageMagick. 2. Go to Windows Explorer and type sendto in the address bar. This will open the following path: C:\Users\

tech, tips

How I read 52 books in a year

Principles and habits I developed to read one book per week. With these you can also start reading more.

books, favorites, tips

Unorthodox - Netflix miniseries

I was impressed by the Netflix miniseries Unorthodox). Specifically with the talented actors, the believable authentic world building and the spot on casting (so good). With regards to all of these as...

movies, tips

Jitsi finetuning and customization

Jitsi offers a great user experience because it doesn't require an account, you just go to a Chrome URL and you're pretty much good to go. You get a full blown video chat environment: complete with gr...

tech, tips

Use find (1) as a quick and dirty duplicate file finder

Run the following two commands in bash to get a listing of all duplicate files (from a directory or location). This can help you clean out duplicate files that sometimes accumulate over time. The firs...

bash, linux, tech, tips

Corona Links

This is a collection of COVID 19 related information links. Stats Worldwide map, with counts https://experience.arcgis.com/experience/685d0ace521648f8a5beeeee1b9125cd Worldwide stats with specific rec...

corona, covid-19, tips

The perfect notebook

I keep a daily journal. And journaling daily make pocket planners usable as journal notebook s. I tend to be particular about certain things. So when searching for a new notebook one that I will carry...

gadgets, tips

Use PostgreSQL REPLACE() to replace dots with commas (dollar to euro)

If you have set up your database tables correctly you might be using double precision floating numbersto store currency values. This works great because dollars use dots to represent decimals. The pro...

tech, tips

Save data from your broken Raspberry Pi SD card with GNU ddrescue

This week my Pi stopped working. After hooking up a monitor I saw kernel errors related to VFS. So the file system was obviously broken. Oops. The end conclusion is that the SD card is physically 'bro...

ddresue, gnu, linux, raspberry-pi, tech, tips

GNU coreutils comm is amazing

Most people know sort and uniq (or even diff ) and usually use a mix of these tools when comparing two files. However sometimes, there is a shorter solution than piping different commands together: co...

favorites, linux-coreutils, tech, tips

My Vim setup

The following lines are in my .vimrc file and make working with Vim all the better! I keep it pretty basic, so I don't use the very popular fugitive.vim or NERDTree plugin. Put these lines in /.vimrc...

tech, tips, vim, vimrc

I still love RSS (you can too!)

RSS. It's kind of a weird acronym and people can't even seem to agree on the true meaning behind those three letters. It doesn't sound too sexy , but it does sort of have a recognisable logo. If you h...

favorites, tech, tips

Let's encrypt all the things!

You may notice something different on your favourite blog. Left of the URL in the address bar there is a little green lock! This means piks.nl is now served to you via SSL/TLS. You know, https:// inst...

favorites, tech, tips