The easiest and most painless solution is the following:

1. Create an SSH key for each account

# when asked, give it a unique name, like "work" or "personal"
ssh-keygen -t rsa

2. Add the key

ssh-add ~/.ssh/work

3. Create/edit an ~/.ssh/config

Edit like this

Host github.com-personal
HostName github.com
User git
IdentityFile ~/.ssh/personal
Host github.com-work
HostName github.com
User git
IdentityFile ~/.ssh/work

4. Add the key on github

Easy

5. From now on, use the SSH option when cloning, but modifing the link as follow

# Original
git clone git@github.com
:laravel/laravel.git
# Push with "Work profile"
git clone git@github.com-work:laravel/laravel.git

DONE


There has been some changes and some settings were deprecated. SSR true or false? Let me break it down…

Nuxt.js is great! Their documentation is actually pretty good and they have a section in their FAQs on how to deploy on Netlify, but it doesn’t really tell the whole story in my opinion…

Changes in version 2.14

Since version 2.14, the mode property has been deprecated, you need to use SSR: false, but I guess this is not what you really want to deploy on Netlify, as it will generate a Single Page App with only one entry point, a big javascript that is…


NOTE: this guide is updated to November 2019

So, you just got yourself a brand new raspberry pi and want to make a good use of it, right?
Some weeks ago I had to send the holiday pictures to some of my friends, and this means you have to upload them on some messaging app like Whatsapp or Messenger, which is ok but usually those services are not the best chiose to upload a lot of multimedia content: they might have size limitation, aggressive compression or performance issues because they were not design to send a huge amount of photos…


Thermal tweaks on DELL laptops running linux

A constant problem I had on my Dell laptop was with the fan noise. Now, I hate the noise of the fan, especially if I am surfing the web or just reading a PDF; on Windows 10, there Windows Update starts randomically while the system is in idle and forces the CPU to 100% for like 15 minutes triggering the fan. Fortunately, Manjaro is not Windows but there was some issues with the default configuration of the fan. …


Do you have a pretty delicious precision touchpad and you want it to shine in KDE? Here is how.

The first thing we are going to do is install libinput-gestures with

sudo apt-get install xdotool wmctrl libinput-tools -y

now clone the project from github

git clone https://github.com/bulletmark/libinput-gestures.git && cd gestures
sudo make install

start the deamon with

libinput-gestures-setup autostart

add your current user to the input group to read the touchpad input

sudo gpasswd -a $USER input

log out and login againt to compleate the install
NOTE: on arch there is a AUR package that will do the installation all for…


Some days ago I freshly installed PopOS, a (not so) new Ubuntu based distro I’ve read about online. It promises easy-of-use out of the box and some small tweaks on top of stock Ubuntu 19.04, a different theme, some pre-installer GNOME3 extensions and stuff like this, which is good. But when i booted for the first time, the amazing “easy-of-use” was not so easy after all.
It comes with a new boot manager, called systemd-boot, which is, well, let’s say could be more user friendly. I got used to GRUB, it got the job done, but they promise better performances…

mijorus

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store