
Posts


Linux debugging cheat sheet
I gotta admit – I “stole” this from nixCraft. But it’s so brilliant, I just need to share/keep it.
Casting
As a not so experienced PHP dev – there are plenty of things I learn on daily basis, but one thing I should really remember using is casting.Basically casting i...
Vitosha 100, 06.2019
So… last Saturday, for the first time in my life I participated in a competition. It was a mountain biking cross country competition – Vitosha 100 tour – a tour...
BASH Red prompt
2022 edit – this needs revisiting – do not repeat! The code bellow breaks the prompt!OK, so this is mainly for personal use. When logging via SSH to a certain...
MySQL Referential constraints actions
When you have a huge database – you eventually end up with tables with referal constraints When you create one there are several actions that can be set: • CASCADE: Delete...
Bookmark for switching URL
When developing multiple similar sites, I often stumble upon the case, when I want to open a specific link on different domain. Sometimes the same site/URL on local, staging, testing,...
Insert entry if it doesn’t exist in MySQL
Yes, that’s probably a common issue – you want to make insert in MySQL only if a duplicate does not exist. I faced this issue today, and since it took...
API – what is it?
What is an API. Quite often I ask myself the same, and sadly – can’t give a definitive answer. Good thing the internet is a large place, and it’s full...
Change the name of the interface in Ubuntu
I really hate the way Ubuntu names the interfaces. To someone who only clicks – it might not matter, but for someone like me, who lives by the ideal “Real...
Connect to your android phone and copy files under Linux
OK, so MTP is a protocol, that’s implemented in Linux just as good as my Tennis skills. I’ve never played tennis. So usually it’s a tedious job to find some...