generic .dev or .test address for localhost in linux mint 19 with DNS masq

Linux Mint 19 generic DnsMasq localhost

Last year as a reminder for myself I created a small article for setting up DNS masq on linux mint 18.

After upgrading to Mint 19 (or actual reinstalling) I expected less or more the same steps.
But apparently some steps where a little different.

So here the steps to configure DNS masq on LinuxMint 19 for a generic local .dev or .test development extension.

phpswitcher

phpswitch

I was searching for an easy way to switch php versions on my linux nginx development environment. And found a pretty good guide:
https://pehapkari.cz/blog/2017/03/27/multiple-php-versions-the-easy-way

The solution had two downsides for me.

generic .dev or .test address for localhost in linux mint with DNS masq

localhost.test generic localhost dnsmasq

I was looking up instructions on the web how to configure my DNS Masq so that I have a generic .test domain but was struggling to find the correct configuration file.

docker multi project development environment

docker vhostalias setup for a multi project development environment

Often Docker is used on a per project case. Which is great when you have a specific configuration for a project. It's probably also the way you should go when you want to mimic exactly the production environment or when you want to use the docker container itself also for the production environment.

But what if you want a good development setup but don't need a specific docker setup for the projects running on it. That can be the case with study projects, or smaller projects which are less critical on the configuration and/or simulation of the (production) environment.

cdh bash command to change directory to a path from your history

cdh cd to a path from your bash history

Sometimes you have long paths and want to enter them the second time faster. An other time you've worked on several projects and don't know that path from a couple of projects back. Some cases where it should be great if you can just switch to a path* from your history.

I created a little script cdhistory that has this functionality for you.

Tags: 

Questions to ask as a developer

Probably you know the saying: "Assumption is the mother of all fuck-ups"

auto vhost alias and php switching for localhost

For study and test purposes I often setup new installations on the local server of my computer (osx). I changed my local setup to make this proces easier.

The points I improved:

Tags: 

Docker installeren op Linux Mint LMDE2

docker LMDE2 linux mint

Linux Mint LMDE2 is gebasseerd op Debian Jessie.

Dat betekend dat we de docker repositories voor Debian Jessie nodig hebben. Op het moment van schrijven is hier te vinden hoe je Docker op linux mint Jessie moet installeren:
https://store.docker.com/editions/community/docker-ce-server-debian?tab=...

Er is slechts 1 stap die je extra moet doen voor Linux Mint.

Update taxonomy referenties via MySQL

Het is niet de meest nette manier om de database van Drupal rechtstreeks aan te passen maar soms kan het handig zijn. Bijvoorbeeld wanneer er een nieuwe taxonomy term is en er vervolgens veel nodes zijn die naar deze term moeten verwijzen.

DuckDuckGo Maps

Bij toeval kwam ik er achter dat de alternatieve zoekmachine DuckDuckGo tegenwoordig ook een 'Maps' functionaliteit heeft.

DDG (DuckDuckGo) maakt gebruik van OpenStreetMap. Volgens de help op hun website zou de kaart automatisch naar voren moeten komen als het relevant is voor de zoekopdracht. Maar als dit dat nou niet het geval is kun je dmv het woordje 'maps' DuckDuckGo de opdracht geven om dit wel te doen.

Pagina's

Abonneren op Voorpagina-feed